From 10cce01a24713ecd881a85ff3d2ed66ba8466670 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Fri, 12 Feb 2016 02:51:38 +0100 Subject: [PATCH] Win installer: get rid of lyx.nsi This file is not really helpful for daily work. Its content is now directly in the installer script. --- .../Win32/packaging/installer/lyx-bundle.nsi | 54 ++++++++++++++++++- .../packaging/installer/lyx-standard.nsi | 54 ++++++++++++++++++- 2 files changed, 104 insertions(+), 4 deletions(-) diff --git a/development/Win32/packaging/installer/lyx-bundle.nsi b/development/Win32/packaging/installer/lyx-bundle.nsi index 1adb0a526e..19ba4de3bb 100644 --- a/development/Win32/packaging/installer/lyx-bundle.nsi +++ b/development/Win32/packaging/installer/lyx-bundle.nsi @@ -1,12 +1,62 @@ /* -NSIS Script - LyX 2.1 Installer for Windows +NSIS Script - LyX 2.2 Installer for Windows 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 + !ifndef SETUPTYPE !define SETUPTYPE BUNDLE !endif -!include lyx.nsi \ No newline at end of file +# 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 + +# loads a function to modify Windows environment variables +!include include\EnvVarUpdate.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}" diff --git a/development/Win32/packaging/installer/lyx-standard.nsi b/development/Win32/packaging/installer/lyx-standard.nsi index 248c334176..2f366c11c9 100644 --- a/development/Win32/packaging/installer/lyx-standard.nsi +++ b/development/Win32/packaging/installer/lyx-standard.nsi @@ -1,11 +1,61 @@ /* -NSIS Script - LyX 2.1 Installer for Windows +NSIS Script - LyX 2.2 Installer for Windows 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 + !ifndef SETUPTYPE !define SETUPTYPE STANDARD !endif -!include lyx.nsi \ No newline at end of file +# 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 + +# loads a function to modify Windows environment variables +!include include\EnvVarUpdate.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}"