summaryrefslogtreecommitdiffstats
path: root/Modules/CPackNSIS.cmake
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-04-25 18:06:29 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-04-25 18:06:29 (GMT)
commit419f561b2f554b0fd92482c79ba49be0e3f7875e (patch)
tree82ec3cee8349065ad79bd664d73844d2f2680cf1 /Modules/CPackNSIS.cmake
parent4b4a98d72298e892b17aa0d14462bab7836a7c1d (diff)
parentfe58b67e24d007cb7dcd7005073a37bfba21737d (diff)
downloadCMake-419f561b2f554b0fd92482c79ba49be0e3f7875e.zip
CMake-419f561b2f554b0fd92482c79ba49be0e3f7875e.tar.gz
CMake-419f561b2f554b0fd92482c79ba49be0e3f7875e.tar.bz2
Merge topic 'fix-9946-uninstall-before-install'
fe58b67 Added CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL
Diffstat (limited to 'Modules/CPackNSIS.cmake')
-rw-r--r--Modules/CPackNSIS.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/Modules/CPackNSIS.cmake b/Modules/CPackNSIS.cmake
index 66c33a8..d140053 100644
--- a/Modules/CPackNSIS.cmake
+++ b/Modules/CPackNSIS.cmake
@@ -54,6 +54,14 @@
##end
#
##variable
+# CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL - 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.
+##end
+#
+##variable
# CPACK_NSIS_MODIFY_PATH - 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