mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
avoid some code duplication
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39012 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
74a92a36d8
commit
c279ddd1b1
@ -1,62 +1,2 @@
|
|||||||
/*
|
!define SETUPTYPE BUNDLE
|
||||||
|
!include lyx.nsi
|
||||||
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
|
|
||||||
|
|
||||||
!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
|
|
||||||
|
|
||||||
#
|
|
||||||
!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
|
|
||||||
|
|
||||||
#
|
|
||||||
!include gui\external.nsh
|
|
||||||
|
|
||||||
#
|
|
||||||
!include gui\reinstall.nsh
|
|
||||||
|
|
||||||
#--------------------------------
|
|
||||||
# Output file
|
|
||||||
|
|
||||||
Outfile "${SETUP_EXE}"
|
|
@ -1,62 +1,2 @@
|
|||||||
/*
|
!define SETUPTYPE STANDARD
|
||||||
|
!include lyx.nsi
|
||||||
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
|
|
||||||
|
|
||||||
!ifndef SETUPTYPE
|
|
||||||
!define SETUPTYPE STANDARD
|
|
||||||
!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
|
|
||||||
|
|
||||||
#
|
|
||||||
!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
|
|
||||||
|
|
||||||
#
|
|
||||||
!include gui\external.nsh
|
|
||||||
|
|
||||||
#
|
|
||||||
!include gui\reinstall.nsh
|
|
||||||
|
|
||||||
#--------------------------------
|
|
||||||
# Output file
|
|
||||||
|
|
||||||
Outfile "${SETUP_EXE}"
|
|
51
development/Win32/packaging/installer/lyx.nsi
Normal file
51
development/Win32/packaging/installer/lyx.nsi
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
|
||||||
|
NSIS Script - LyX 2.0 Installer for Win32
|
||||||
|
Authors: Joost Verburg, Angus Leeming, Uwe Stöhr
|
||||||
|
Compatible with NSIS 2.46
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
CRCCheck force
|
||||||
|
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
|
||||||
|
|
||||||
|
#
|
||||||
|
!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
|
||||||
|
|
||||||
|
#
|
||||||
|
!include gui\external.nsh
|
||||||
|
|
||||||
|
#--------------------------------
|
||||||
|
# Output file
|
||||||
|
|
||||||
|
Outfile "${SETUP_EXE}"
|
Loading…
Reference in New Issue
Block a user