2013-01-14 00:45:42 +00:00
|
|
|
To build the installer do the following:
|
|
|
|
|
2016-01-14 00:54:41 +00:00
|
|
|
1. extract the source zip-file to e.g. the path "C:\LyX-Installer"
|
2013-01-14 00:45:42 +00:00
|
|
|
2. open the file settings.nsh with a text editor
|
2016-01-14 23:16:15 +00:00
|
|
|
and adapt there the following paths to the one on your PC, e.g.:
|
2016-01-14 00:54:41 +00:00
|
|
|
!define FILES_LYX "C:\LyX-Installer\LyXPackage\LyX"
|
2016-09-17 11:01:32 +00:00
|
|
|
!define FILES_DEPS "C:\LyX-Installer\LyX2.2x\lyx-windows-deps-msvc2015"
|
2016-01-14 00:54:41 +00:00
|
|
|
!define FILES_QT "C:\LyX-Installer\LyXPackage\LyX"
|
2016-09-17 11:01:32 +00:00
|
|
|
3. install the latest version 3.x of NSIS (http://nsis.sourceforge.net/Download)
|
2017-01-26 01:16:53 +00:00
|
|
|
4. install the NSIS Large Strings build (http://nsis.sourceforge.net/Special_Builds)
|
2016-01-14 00:54:41 +00:00
|
|
|
(extract the extension ZIP file in your NSIS installation folder and this way overwrite some files)
|
2017-11-07 01:17:46 +00:00
|
|
|
5. open the file FindProcDLL Unicode bin.zip (that is part of this bundle),
|
|
|
|
extract from it the file FindProc.dll to the folder \Plugins\x86-unicode of
|
2013-01-14 00:45:42 +00:00
|
|
|
NSIS's installation folder
|
2017-11-07 01:17:46 +00:00
|
|
|
6. open the file Inetc.zip (that is part of this bundle),
|
|
|
|
extract from it the file INetC.dll to the folder \Plugins\x86-unicode of
|
2013-01-14 00:45:42 +00:00
|
|
|
NSIS's installation folder
|
2016-01-14 00:54:41 +00:00
|
|
|
7. right-click on the file lyx-standard.nsi and choose "Compile NSIS script"
|
2013-01-14 00:45:42 +00:00
|
|
|
to compile the standard installer
|
2016-01-14 00:54:41 +00:00
|
|
|
8. right-click on the file lyx-bundle.nsi and choose "Compile NSIS script"
|
2013-01-14 00:45:42 +00:00
|
|
|
to compile the bundle installer
|