2013-10-15 19:17:36 +04:00
|
|
|
#.rst:
|
|
|
|
# CPackNSIS
|
|
|
|
# ---------
|
|
|
|
#
|
|
|
|
# CPack NSIS generator specific options
|
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# Variables specific to CPack NSIS generator
|
|
|
|
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2011-04-03 23:57:53 +04:00
|
|
|
#
|
|
|
|
# The following variables are specific to the graphical installers built
|
2013-10-15 21:23:23 +04:00
|
|
|
# on Windows using the Nullsoft Installation System.
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# .. variable:: CPACK_NSIS_INSTALL_ROOT
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# 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}
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# .. variable:: CPACK_NSIS_MUI_ICON
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# An icon filename. The name of a ``*.ico`` file used as the main icon for the
|
|
|
|
# generated install program.
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# .. variable:: CPACK_NSIS_MUI_UNIICON
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# An icon filename. The name of a ``*.ico`` file used as the main icon for the
|
|
|
|
# generated uninstall program.
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# .. variable:: CPACK_NSIS_INSTALLER_MUI_ICON_CODE
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# undocumented.
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2015-09-25 23:06:08 +03:00
|
|
|
# .. variable:: CPACK_NSIS_MUI_WELCOMEFINISHPAGE_BITMAP
|
|
|
|
#
|
|
|
|
# The filename of a bitmap to use as the NSIS MUI_WELCOMEFINISHPAGE_BITMAP.
|
|
|
|
#
|
|
|
|
# .. variable:: CPACK_NSIS_MUI_UNWELCOMEFINISHPAGE_BITMAP
|
|
|
|
#
|
|
|
|
# The filename of a bitmap to use as the NSIS MUI_UNWELCOMEFINISHPAGE_BITMAP.
|
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# .. variable:: CPACK_NSIS_EXTRA_PREINSTALL_COMMANDS
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# Extra NSIS commands that will be added to the beginning of the install
|
|
|
|
# Section, before your install tree is available on the target system.
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# .. variable:: CPACK_NSIS_EXTRA_INSTALL_COMMANDS
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# Extra NSIS commands that will be added to the end of the install Section,
|
|
|
|
# after your install tree is available on the target system.
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# .. variable:: CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# Extra NSIS commands that will be added to the uninstall Section, before
|
|
|
|
# your install tree is removed from the target system.
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# .. variable:: CPACK_NSIS_COMPRESSOR
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# The arguments that will be passed to the NSIS SetCompressor command.
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# .. variable:: CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# Ask about uninstalling previous versions first. If this is set to "ON",
|
|
|
|
# then an installer will look for previous installed versions and if one is
|
|
|
|
# found, ask the user whether to uninstall it before proceeding with the
|
|
|
|
# install.
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# .. variable:: CPACK_NSIS_MODIFY_PATH
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# Modify PATH toggle. 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.
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# .. variable:: CPACK_NSIS_DISPLAY_NAME
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# The display name string that appears in the Windows Add/Remove Program
|
|
|
|
# control panel
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# .. variable:: CPACK_NSIS_PACKAGE_NAME
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# The title displayed at the top of the installer.
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# .. variable:: CPACK_NSIS_INSTALLED_ICON_NAME
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# A path to the executable that contains the installer icon.
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# .. variable:: CPACK_NSIS_HELP_LINK
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# URL to a web site providing assistance in installing your application.
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# .. variable:: CPACK_NSIS_URL_INFO_ABOUT
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# URL to a web site providing more information about your application.
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# .. variable:: CPACK_NSIS_CONTACT
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# Contact information for questions and comments about the installation
|
|
|
|
# process.
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2016-09-23 10:28:35 +03:00
|
|
|
# .. variable:: CPACK_NSIS_<compName>_INSTALL_DIRECTORY
|
|
|
|
#
|
|
|
|
# Custom install directory for the specified component <compName> instead
|
|
|
|
# of $INSTDIR.
|
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# .. variable:: CPACK_NSIS_CREATE_ICONS_EXTRA
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# Additional NSIS commands for creating start menu shortcuts.
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# .. variable:: CPACK_NSIS_DELETE_ICONS_EXTRA
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# Additional NSIS commands to uninstall start menu shortcuts.
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# .. variable:: CPACK_NSIS_EXECUTABLES_DIRECTORY
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# 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.
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# .. variable:: CPACK_NSIS_MUI_FINISHPAGE_RUN
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# Specify an executable to add an option to run on the finish page of the
|
|
|
|
# NSIS installer.
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# .. variable:: CPACK_NSIS_MENU_LINKS
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# Specify links in [application] menu. This should contain a list of pair
|
|
|
|
# "link" "link name". The link may be an URL or a path relative to
|
|
|
|
# installation prefix. Like::
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# set(CPACK_NSIS_MENU_LINKS
|
2014-11-06 21:50:40 +03:00
|
|
|
# "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake.html"
|
2015-09-25 22:44:12 +03:00
|
|
|
# "CMake Help" "https://cmake.org" "CMake Web Site")
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2011-04-03 23:57:53 +04:00
|
|
|
|
|
|
|
#=============================================================================
|
|
|
|
# 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...
|