From c14f20f7dd827bd1b9164b3641db697776de85bf Mon Sep 17 00:00:00 2001 From: Konstantin Podsvirov Date: Fri, 3 Jul 2015 14:05:40 +0300 Subject: [PATCH] CMake: Fix Web Site shortcut in IFW installer for Windows --- Source/QtIFW/installscript.qs.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/QtIFW/installscript.qs.in b/Source/QtIFW/installscript.qs.in index 570dba1e0..3411e34e4 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(); }