summaryrefslogtreecommitdiffstats
path: root/Modules/CPackNSIS.cmake
diff options
context:
space:
mode:
authorPatrick Gansterer <paroga@paroga.com>2011-06-11 10:14:56 (GMT)
committerDavid Cole <david.cole@kitware.com>2012-04-22 15:30:34 (GMT)
commitfe58b67e24d007cb7dcd7005073a37bfba21737d (patch)
treea09e2ca15da6b9a9df2af6f57efd747eb72f6413 /Modules/CPackNSIS.cmake
parent3a503926018fd10ef2120e2c1b98e93afb4fd0c1 (diff)
downloadCMake-fe58b67e24d007cb7dcd7005073a37bfba21737d.zip
CMake-fe58b67e24d007cb7dcd7005073a37bfba21737d.tar.gz
CMake-fe58b67e24d007cb7dcd7005073a37bfba21737d.tar.bz2
Added CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL
If CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL is set to ON the NSIS installer will look for a previous installed version and ask the user about uninstall.
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 5e2ba17..e34f782 100644
--- a/Modules/CPackNSIS.cmake
+++ b/Modules/CPackNSIS.cmake
@@ -46,6 +46,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