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-05 21:40:43 +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-05 21:40:43 +00:00
|
|
|
3. install the latest version 3.x of NSIS (http://nsis.sourceforge.net/Download)
|
2016-01-14 00:54:41 +00:00
|
|
|
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)
|
2016-09-05 21:40:43 +00:00
|
|
|
5. open the file FindProcDLL.zip (that is part of this bundle),
|
|
|
|
extract from it the file FindProc.dll to the folder \Plugins\x86-ansi of
|
2013-01-14 00:45:42 +00:00
|
|
|
NSIS's installation folder
|
2016-01-14 00:54:41 +00:00
|
|
|
6. open the file InetLoad.zip (that is part of this bundle),
|
2016-09-05 21:40:43 +00:00
|
|
|
extract from it the file InetLoad.dll to the folder \Plugins\x86-ansi 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
|