summaryrefslogtreecommitdiffstats
path: root/Modules/CPackWIX.cmake
diff options
context:
space:
mode:
authorMichael Stürmer <michael.stuermer@schaeffler.com>2016-07-20 13:32:38 (GMT)
committerNils Gladitz <nilsgladitz@gmail.com>2016-08-08 11:42:23 (GMT)
commit17bbf6af1ecca15194a693d31fdd8163aacfd994 (patch)
treec962a911d846f2cf6bf738315f80a9ba96ee22c5 /Modules/CPackWIX.cmake
parent5a62e0c1721281503c8b4cd9d4d3d0de8abebf0f (diff)
downloadCMake-17bbf6af1ecca15194a693d31fdd8163aacfd994.zip
CMake-17bbf6af1ecca15194a693d31fdd8163aacfd994.tar.gz
CMake-17bbf6af1ecca15194a693d31fdd8163aacfd994.tar.bz2
CPackWIX: Implement new CPACK_WIX_SKIP_PROGRAM_FOLDER feature
The new variable allows setting of a custom absolute installation prefix outside of the ProgramFiles folders.
Diffstat (limited to 'Modules/CPackWIX.cmake')
-rw-r--r--Modules/CPackWIX.cmake17
1 files changed, 17 insertions, 0 deletions
diff --git a/Modules/CPackWIX.cmake b/Modules/CPackWIX.cmake
index 10926c0..08ff0cb 100644
--- a/Modules/CPackWIX.cmake
+++ b/Modules/CPackWIX.cmake
@@ -248,6 +248,23 @@
# Sets the description of the root install feature in the WIX installer. Same as
# CPACK_COMPONENT_<compName>_DESCRIPTION for components.
#
+# .. variable:: CPACK_WIX_SKIP_PROGRAM_FOLDER
+#
+# If this variable is set to true, the default install location
+# of the generated package will be CPACK_PACKAGE_INSTALL_DIRECTORY directly.
+# The install location will not be located relatively below
+# ProgramFiles or ProgramFiles64.
+#
+# .. note::
+# Installers created with this feature do not take differences
+# between the system on which the installer is created
+# and the system on which the installer might be used into account.
+#
+# It is therefor possible that the installer e.g. might try to install
+# onto a drive that is unavailable or unintended or a path that does not
+# follow the localization or convention of the system on which the
+# installation is performed.
+#
#=============================================================================
# Copyright 2014-2015 Kitware, Inc.