Installer for LyX on Windows
To build the installer do the following:
- extract the source zip-file to e.g. the path "C:\LyX-Installer"
- open the file settings.nsh with a text editor and adapt there the following paths to the ones on your PC, e.g.: !define FILES_LYX "C:\LyX-Installer\LyXPackage\LyX" !define FILES_DEPS "C:\LyX-Installer\LyX2.2x\lyx-windows-deps-msvc2015" !define FILES_QT "C:\LyX-Installer\LyXPackage\LyX"
- install the latest version 3.x of NSIS (https://nsis.sourceforge.io/Download)
- install the NSIS Large Strings build (https://nsis.sourceforge.io/Special_Builds) (extract the extension ZIP file in your NSIS installation folder and this way overwrite some files)
- 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 NSIS's installation folder
- 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 NSIS's installation folder
- right-click on the file lyx-standard.nsi and choose "Compile NSIS script" to compile the standard installer
- right-click on the file lyx-bundle.nsi and choose "Compile NSIS script" to compile the bundle installer