lyx_mirror/development/Win32/packaging/installer
Richard Kimberly Heck 0cbde8a834 Windows packaging updates.
The main change here is that we need to delete LyX2.3.exe and
tex2lyx2.3.exe from the install directory, so they are not left
there (from previous, versioned installs).
2018-09-28 21:54:11 -04:00
..
graphics
gui Win installer: convert all files to Unicode 2018-02-18 15:52:57 +01:00
icons Packaging updates from 2.3.0. 2018-08-30 15:14:06 -04:00
include No suffixes for binaries now. 2018-09-27 14:56:41 -04:00
information Win installer: convert all files to Unicode 2018-02-18 15:52:57 +01:00
lang Windows packaging updates. 2018-09-28 21:54:11 -04:00
setup Windows packaging updates. 2018-09-28 21:54:11 -04:00
ChangeLog.txt Packaging updates from 2.3.0. 2018-08-30 15:14:06 -04:00
DictionaryMirrors.txt Win installer: backport recent changes for LyX 2.3.0 2018-02-18 06:16:22 +01:00
HunspellDictionaryNames.txt Win installer: backport recent changes for LyX 2.3.0 2018-02-18 06:16:22 +01:00
license.rtf Win installer: update rsvg-convert 2017-12-06 03:08:00 +01:00
lyx-standard.nsi Win installer: backport recent changes 2017-11-18 15:25:38 +01:00
Packages.txt Win installer: backport recent changes for LyX 2.3.0 2018-02-18 06:16:22 +01:00
Readme.txt Win installer: make it a real Unicode program 2017-11-07 02:16:34 +01:00
settings.nsh Windows packaging updates. 2018-09-28 21:54:11 -04:00
ThesaurusDictionaryNames.txt Win installer: backport recent changes for LyX 2.3.0 2018-02-18 06:16:22 +01:00

To build the installer do the following:

1. extract the source zip-file to e.g. the path "C:\LyX-Installer"
2. open the file settings.nsh with a text editor
   and adapt there the following paths to the one 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"
3. install the latest version 3.x of NSIS (http://nsis.sourceforge.net/Download)
4. install the NSIS Large Strings build (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 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
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
   NSIS's installation folder
7. right-click on the file lyx-standard.nsi and choose "Compile NSIS script"
   to compile the standard installer
8. right-click on the file lyx-bundle.nsi and choose "Compile NSIS script"
   to compile the bundle installer