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-01-14 23:16:15 +00:00
|
|
|
!define FILES_DEPS "C:\LyX-Installer\LyX2.1x\lyx-windows-deps-msvc2010"
|
2016-01-14 00:54:41 +00:00
|
|
|
!define FILES_QT "C:\LyX-Installer\LyXPackage\LyX"
|
|
|
|
3. install the latest version 2.x of NSIS (http://nsis.sourceforge.net/Download)
|
|
|
|
4. install the NSIS Large Strings extension (http://nsis.sourceforge.net/Special_Builds)
|
|
|
|
(extract the extension ZIP file in your NSIS installation folder and this way overwrite some files)
|
|
|
|
5. open the file FindProc.zip (that is part of this bundle),
|
2013-01-14 00:45:42 +00:00
|
|
|
extract from it the file FindProc.dll to the Plugins folder of
|
|
|
|
NSIS's installation folder
|
2016-01-14 00:54:41 +00:00
|
|
|
6. open the file InetLoad.zip (that is part of this bundle),
|
2013-01-14 00:45:42 +00:00
|
|
|
extract from it the file InetLoad.dll to the Plugins folder of
|
|
|
|
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
|