lyx_mirror/development/Win32/packaging/installer
Uwe Stöhr 4e83fcf9e6 Win installer: backport also the CMake build removal
This might be controversial but as it is it doesn't work (new NSIS backend changed NSIS plugins etc.)
2017-11-20 21:14:18 +01:00
..
graphics new logo graphics 2008-04-07 12:50:54 +00:00
gui installer: port recent changes from branch 2011-11-27 13:53:29 +00:00
include Win installer: backport also the CMake build removal 2017-11-20 21:14:18 +01:00
information Win installer: backport the file cleanup 2017-11-20 21:10:58 +01:00
lang Win installer: backport the file cleanup 2017-11-20 21:10:58 +01:00
setup Win installer: backport recent changes from RC1 2017-11-02 21:51:36 +01:00
ChangeLog.txt Win installer: backport recent changes 2017-11-18 15:25:38 +01:00
DictionaryMirrors.txt installer: fix bug in dictionary installation 2014-03-10 22:08:21 +01:00
HunspellDictionaryNames.txt Win installer: prepare for next release 2016-11-19 16:35:42 +01:00
license.rtf delete old Aspell/Aiksaurus setup code 2011-02-17 16:41:29 +00:00
lyx-bundle.nsi Win installer: backport recent changes 2017-11-18 15:25:38 +01:00
lyx-standard.nsi Win installer: backport recent changes 2017-11-18 15:25:38 +01:00
lyx.nsi installer: fix a typo 2013-12-04 00:47:29 +01:00
Packages.txt Win installer: backport the file cleanup 2017-11-20 21:10:58 +01:00
Readme.txt Win installer: make it a real Unicode program 2017-11-07 02:16:34 +01:00
settings.nsh Win installer: backport recent changes 2017-11-18 15:25:38 +01:00
ThesaurusDictionaryNames.txt Win installer: finish work for new installer version 2016-11-27 14:35:55 +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