Debian Codegraph @

nsisconf.nsh

raw
1 ;------------------------
2 ;DEFAULT NSIS CONFIG FILE
3 ;------------------------
4
5 ;This header file will be included when compiling any NSIS installer,
6 ;you can use it to add script code to every installer you compile.
7
8 ;This file is treated as if it is in the directory of your script.
9 ;When using relative paths, the files have to be in your build directory.
10
11 ;------------------------
12 ;EXAMPLES
13 ;------------------------
14
15 ;Compress installer exehead with an executable compressor (such as UPX / Petite).
16
17 ;Paths should be absolute to allow building from any location.
18 ;Note that your executable compressor should not compress the first icon.
19
20 ;!packhdr temp.dat '"C:\Program Files\upx\upx" -9 -q temp.dat'
21 ;!packhdr temp.dat '"C:\Program Files\petite\petite" -9 -b0 -r** -p0 -y temp.dat'
22
23 ;------------------------
24
25 ;Set default compressor
26
27 ;SetCompressor bzip2
28
29 ;------------------------
30
31 ;Change the default icons
32
33 ;Icon "${NSISDIR}\Contrib\Graphics\Icons\arrow-install.ico"
34 ;UninstallIcon "${NSISDIR}\Contrib\Graphics\Icons\arrow-uninstall.ico"
35
36 ;------------------------
37
38 ;Define symbols
39
40 ;!define COMPANYNAME "bla"
41
42 ;------------------------
43 ;MODERN UI
44 ;------------------------
45
46 ;The Modern UI will insert the MUI_NSISCONF macro just before processing the settings.
47 ;Here you can set default settings for the Modern UI.
48
49 ;------------------------
50
51 !define MUI_INSERT_NSISCONF
52
53 !macro MUI_NSISCONF
54
55 ;Example: Change the default Modern UI icons
56
57 ;!ifndef MUI_ICON & MUI_UNICON
58 ; !define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\arrow-install.ico"
59 ; !define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\arrow-uninstall.ico"
60 ;!endif
61
62 !macroend