lyx_mirror/development/Win32/packaging/installer/lyx.nsi
Uwe Stöhr 290efe6190 installer: bugfixes, code simplification and documentation
- dictionaries.nsh: code documentation and simplification
- lyx.nsi: comment out currently unused code
- init.nsh: some corrections and fix bug that info that JabRef and MiKTeX were installed together with LyX was deleted before the uninstaller was really run
- LaTeX.nsh: documentation and fix a bug (for an unknown reason SHCTX can be used to read and delte but not to write in the registry)
- gui.nsh: enable descriptions
- detection: move dictionary code to dictionaries
2012-11-11 18:07:55 +01:00

56 lines
1.3 KiB
Plaintext

/*
NSIS Script - LyX 2.0 Installer for Win32
Authors: Joost Verburg, Angus Leeming, Uwe Stöhr
Compatible with NSIS 2.46
*/
# Do a Cyclic Redundancy Check to make sure the installer
# was not corrupted by the download.
CRCCheck force
#
# Make the installer as small as possible.
SetCompressor /SOLID lzma
# installer settings like version numbers
!include settings.nsh
# declarations of LyX's registry keys and installer variant
!include include\declarations.nsh
# definitions of global variables
!include include\variables.nsh
# configuration of standard NSIS header files
!include include\nsis.nsh
# list of files to be included in the installer
!include include\filelist.nsh
# detect third-party programs like Inkscape and LaTeX
!include include\detection.nsh
# set up the installer pages
!include include\gui.nsh
# sets the install sections and checks the system on starting the un/installer
!include include\init.nsh
# install LyX and needed third-party programs like Python etc.
!include setup\install.nsh
# uninstall LyX and all programs that were installed together with LyX
!include setup\uninstall.nsh
# configure LyX (set start menu and write registry entries)
!include setup\configure.nsh
# provides downloads of external programs
#!include gui\external.nsh
#--------------------------------
# Output file
Outfile "${SETUP_EXE}"