summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorJohnny Jazeix <jazeix@gmail.com>2019-10-25 10:08:58 (GMT)
committerBrad King <brad.king@kitware.com>2019-10-25 18:13:25 (GMT)
commitc97abc96882caab6cba49f6ab1b00ceb88b5a757 (patch)
treed398c6e8f3e1cac79c112771391989a845578220 /Help
parent44b5f037e66e58cb4b5f9877b568bc40b9b576ca (diff)
downloadCMake-c97abc96882caab6cba49f6ab1b00ceb88b5a757.zip
CMake-c97abc96882caab6cba49f6ab1b00ceb88b5a757.tar.gz
CMake-c97abc96882caab6cba49f6ab1b00ceb88b5a757.tar.bz2
CPack/NSIS: Add option for custom Uninstall filename
Fixes: #10728
Diffstat (limited to 'Help')
-rw-r--r--Help/cpack_gen/nsis.rst5
-rw-r--r--Help/release/dev/cpack-nsis-uninstaller-name.rst6
2 files changed, 11 insertions, 0 deletions
diff --git a/Help/cpack_gen/nsis.rst b/Help/cpack_gen/nsis.rst
index cd2aea6..38676c4 100644
--- a/Help/cpack_gen/nsis.rst
+++ b/Help/cpack_gen/nsis.rst
@@ -128,3 +128,8 @@ on Windows Nullsoft Scriptable Install System.
set(CPACK_NSIS_MENU_LINKS
"doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake.html"
"CMake Help" "https://cmake.org" "CMake Web Site")
+
+.. variable:: CPACK_NSIS_UNINSTALL_NAME
+
+ Specify the name of the program to uninstall the version.
+ Default is ``Uninstall``.
diff --git a/Help/release/dev/cpack-nsis-uninstaller-name.rst b/Help/release/dev/cpack-nsis-uninstaller-name.rst
new file mode 100644
index 0000000..b7ceb4c
--- /dev/null
+++ b/Help/release/dev/cpack-nsis-uninstaller-name.rst
@@ -0,0 +1,6 @@
+cpack-nsis-uninstaller-name
+---------------------------
+
+* The :cpack_gen:`CPack NSIS Generator` now supports
+ :variable:`CPACK_NSIS_UNINSTALL_NAME`.
+ This can be used to specify the name of the Uninstall program.