]> git.lyx.org Git - lyx.git/blob - development/Win32/packaging/installer/lyx.nsi
* remove old installer code for external ImageMagick and Ghostscript
[lyx.git] / development / Win32 / packaging / installer / lyx.nsi
1 /*
2
3 NSIS Script - LyX 2.0 Installer for Win32
4 Authors: Joost Verburg, Angus Leeming, Uwe Stöhr
5 Compatible with NSIS 2.46
6
7 */
8
9 !include settings.nsh
10
11 #--------------------------------
12 # Header files  
13
14 !include include\declarations.nsh
15 !include include\variables.nsh
16 !include include\nsis.nsh
17
18 !include include\filelist.nsh
19
20 !include include\detection.nsh
21 !include include\gui.nsh
22 !include include\init.nsh
23
24 #--------------------------------
25 # The following commands use makensis to compile two applications.
26 # Although these applications are written in NSIS, they do not install anything.
27
28 # Compile the launcher
29 !system '"${NSISDIR}\makensis.exe" "${FILES_LAUNCHER}\launcher.nsi"'
30
31 # Compile Windows PDF view helper
32 !system '"${NSISDIR}\makensis.exe" "${FILES_PDFVIEW}\pdfview.nsi"'
33
34 #--------------------------------
35 # Setup
36
37 !include setup\install.nsh
38 !include setup\uninstall.nsh
39 !include setup\configure.nsh
40
41 #--------------------------------
42 # User interface (wizard pages)
43
44 !include gui\external.nsh
45 !include gui\reinstall.nsh
46
47 #--------------------------------
48 # Output file
49
50 Outfile "${SETUP_EXE}"