summaryrefslogtreecommitdiffstats
path: root/Source/QtIFW
diff options
context:
space:
mode:
authorKonstantin Podsvirov <konstantin@podsvirov.pro>2015-07-03 11:05:40 (GMT)
committerBrad King <brad.king@kitware.com>2015-07-07 13:16:44 (GMT)
commitc14f20f7dd827bd1b9164b3641db697776de85bf (patch)
tree14756d19a2f18453deb4fed9a0a1262e2307eb49 /Source/QtIFW
parentc823f04e0cbc4753cc5b6d5c9f45b9f015a12568 (diff)
downloadCMake-c14f20f7dd827bd1b9164b3641db697776de85bf.zip
CMake-c14f20f7dd827bd1b9164b3641db697776de85bf.tar.gz
CMake-c14f20f7dd827bd1b9164b3641db697776de85bf.tar.bz2
CMake: Fix Web Site shortcut in IFW installer for Windows
Diffstat (limited to 'Source/QtIFW')
-rw-r--r--Source/QtIFW/installscript.qs.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/QtIFW/installscript.qs.in b/Source/QtIFW/installscript.qs.in
index 570dba1..3411e34 100644
--- a/Source/QtIFW/installscript.qs.in
+++ b/Source/QtIFW/installscript.qs.in
@@ -5,20 +5,20 @@ function Component()
Component.prototype.createOperations = function()
{
- // call default implementation to actually install applications!
- component.createOperations();
-
// Create shortcut
if (installer.value("os") === "win") {
@_CPACK_IFW_SHORTCUT_OPTIONAL@
component.addOperation("CreateShortcut",
- installer.value("TargetDir") + "/cmake.org.html",
+ installer.value("TargetDir") + "/@CMAKE_DOC_DIR@/cmake.org.html",
installer.value("StartMenuDir") + "/CMake Web Site.lnk");
component.addOperation("CreateShortcut",
installer.value("TargetDir") + "/cmake-maintenance.exe",
installer.value("StartMenuDir") + "/CMake Maintenance Tool.lnk");
}
+
+ // Call default implementation
+ component.createOperations();
}