X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=development%2FWin32%2Fpackaging%2Finstaller%2Flyx-bundle.nsi;h=4bd0951d5668570246a4094714e566c0b50de099;hb=f0aabdc98718aeb3e3595293a58c818ef093a36b;hp=cdd71f8319930df2727161c958f1ef1c00c00eaa;hpb=c279ddd1b17c4a7d4da266ed07720d9e9d47d892;p=lyx.git diff --git a/development/Win32/packaging/installer/lyx-bundle.nsi b/development/Win32/packaging/installer/lyx-bundle.nsi index cdd71f8319..4bd0951d56 100644 --- a/development/Win32/packaging/installer/lyx-bundle.nsi +++ b/development/Win32/packaging/installer/lyx-bundle.nsi @@ -1,2 +1,68 @@ -!define SETUPTYPE BUNDLE -!include lyx.nsi \ No newline at end of file +/* + +NSIS Script - LyX 2.2 Installer for Windows +Authors: Joost Verburg, Angus Leeming, Uwe Stöhr +Compatible with NSIS 3.0 + +*/ + +# 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 + +# make it a Unicode installer +Unicode true + +# enable support for high DPI resolution +ManifestDPIAware true + +!ifndef SETUPTYPE + !define SETUPTYPE BUNDLE +!endif + +# 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}"