CPackNSIS.cmake 3.58 KB
Newer Older
1
2
3
##section Variables specific to CPack Debian (DEB) generator
##end
##module
4
5
6
7
# - CPack NSIS generator specific options
#
# The following variables are specific to the graphical installers built
# on Windows using the Nullsoft Installation System.
8
##end
9
#
10
##variable
11
12
#   CPACK_PACKAGE_INSTALL_REGISTRY_KEY - Registry key used when
#   installing this project.
13
##end
14
#
15
##variable
16
17
18
19
#   CPACK_NSIS_INSTALL_ROOT - The default installation directory presented
#   to the end user by the NSIS installer is under this root dir. The full
#   directory presented to the end user is:
#   ${CPACK_NSIS_INSTALL_ROOT}/${CPACK_PACKAGE_INSTALL_DIRECTORY}
20
##end
21
#
22
##variable
23
24
#   CPACK_NSIS_MUI_ICON - The icon file (.ico) for the generated
#   install program.
25
##end
26
#
27
##variable
28
29
#   CPACK_NSIS_MUI_UNIICON - The icon file (.ico) for the generated
#   uninstall program.
30
##end
31
#
32
##variable
33
34
#   CPACK_PACKAGE_ICON - A branding image that will be displayed inside
#   the installer.
35
##end
36
#
37
##variable
38
39
#   CPACK_NSIS_EXTRA_INSTALL_COMMANDS - Extra NSIS commands that will
#   be added to the install Section.
40
##end
41
#
42
##variable
43
44
#   CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS - Extra NSIS commands that will
#   be added to the uninstall Section.
45
##end
46
#
47
##variable
48
49
#   CPACK_NSIS_COMPRESSOR - The arguments that will be passed to the
#   NSIS SetCompressor command.
50
##end
51
#
52
##variable
53
54
55
56
#   CPACK_NSIS_MODIFY_PATH - If this is set to "ON", then an extra page
#   will appear in the installer that will allow the user to choose
#   whether the program directory should be added to the system PATH
#   variable.
57
##end
58
#
59
##variable
60
61
#   CPACK_NSIS_DISPLAY_NAME - The display name string that appears in
#   the Windows Add/Remove Program control panel
62
##end
63
#
64
##variable
65
66
#   CPACK_NSIS_PACKAGE_NAME - The title displayed at the top of the
#   installer.
67
##end
68
#
69
##variable
70
71
#   CPACK_NSIS_INSTALLED_ICON_NAME - A path to the executable that
#   contains the installer icon.
72
##end
73
#
74
##variable
75
76
#   CPACK_NSIS_HELP_LINK - URL to a web site providing assistance in
#   installing your application.
77
##end
78
#
79
##variable
80
81
#   CPACK_NSIS_URL_INFO_ABOUT - URL to a web site providing more
#   information about your application.
82
##end
83
#
84
##variable
85
86
#   CPACK_NSIS_CONTACT - Contact information for questions and comments
#   about the installation process.
87
##end
88
#
89
##variable
90
91
#   CPACK_NSIS_CREATE_ICONS_EXTRA - Additional NSIS commands for
#   creating start menu shortcuts.
92
##end
93
#
94
##variable
95
96
#   CPACK_NSIS_DELETE_ICONS_EXTRA -Additional NSIS commands to
#   uninstall start menu shortcuts.
97
##end
98
#
99
##variable
100
101
102
103
#   CPACK_NSIS_EXECUTABLES_DIRECTORY - Creating NSIS start menu links
#   assumes that they are in 'bin' unless this variable is set.
#   For example, you would set this to 'exec' if your executables are
#   in an exec directory.
104
##end
105
#
106
##variable
107
108
#   CPACK_NSIS_MUI_FINISHPAGE_RUN - Specify an executable to add an option
#   to run on the finish page of the NSIS installer.
109
##end
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125

#=============================================================================
# Copyright 2006-2009 Kitware, Inc.
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
#
# This software is distributed WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the License for more information.
#=============================================================================
# (To distribute this file outside of CMake, substitute the full
#  License text for the above reference.)

#FIXME we should put NSIS specific code here
#FIXME but I'm not doing it because I'm not able to test it...