installer/Readme.txt: update how to build

This commit is contained in:
Uwe Stöhr 2016-01-14 01:54:41 +01:00
parent 1822d44c58
commit ced2619759

View File

@ -1,19 +1,21 @@
To build the installer do the following: To build the installer do the following:
1. extract the source zip-file to e.g. the path "C:\LyX" 1. extract the source zip-file to e.g. the path "C:\LyX-Installer"
2. open the file settings.nsh with a text editor 2. open the file settings.nsh with a text editor
and adapt there the following paths to the one on your PC: and adapt there the following paths to the one on your PC:
!define FILES_LYX "C:\LyX\LyXPackage\LyX" !define FILES_LYX "C:\LyX-Installer\LyXPackage\LyX"
!define FILES_DEPS "C:\LyX\LyX2.0x\lyx-windows-deps-msvc2008" !define FILES_DEPS "C:\LyX-Installer\LyX2.0x\lyx-windows-deps-msvc2008"
!define FILES_QT "C:\LyX\LyXPackage\LyX" !define FILES_QT "C:\LyX-Installer\LyXPackage\LyX"
3. install NSIS (http://nsis.sourceforge.net/Download) 3. install the latest version 2.x of NSIS (http://nsis.sourceforge.net/Download)
4. open the file FindProc.zip (that is part of this bundle), 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),
extract from it the file FindProc.dll to the Plugins folder of extract from it the file FindProc.dll to the Plugins folder of
NSIS's installation folder NSIS's installation folder
5. open the file InetLoad.zip (that is part of this bundle), 6. open the file InetLoad.zip (that is part of this bundle),
extract from it the file InetLoad.dll to the Plugins folder of extract from it the file InetLoad.dll to the Plugins folder of
NSIS's installation folder NSIS's installation folder
6. right-click on the file lyx-standard.nsi and choose "Compile NSIS script" 7. right-click on the file lyx-standard.nsi and choose "Compile NSIS script"
to compile the standard installer to compile the standard installer
7. right-click on the file lyx-bundle.nsi and choose "Compile NSIS script" 8. right-click on the file lyx-bundle.nsi and choose "Compile NSIS script"
to compile the bundle installer to compile the bundle installer