diff options
author | Konstantin Podsvirov <konstantin@podsvirov.pro> | 2015-04-29 09:54:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-05-15 15:02:49 (GMT) |
commit | 342d15cbc20cb68ee47ad9cfcab7cfd62e9ec45b (patch) | |
tree | 608961053f2bb37fecd9cbd74d4603e643276488 | |
parent | 9a0ba4d24ae73cf225a07dff2cf4fc2096fb9751 (diff) | |
download | CMake-342d15cbc20cb68ee47ad9cfcab7cfd62e9ec45b.zip CMake-342d15cbc20cb68ee47ad9cfcab7cfd62e9ec45b.tar.gz CMake-342d15cbc20cb68ee47ad9cfcab7cfd62e9ec45b.tar.bz2 |
Update packaging of CMake for QtIFW 2.0
-rw-r--r-- | CMakeCPackOptions.cmake.in | 4 | ||||
-rw-r--r-- | Source/QtIFW/controlscript.qs | 6 | ||||
-rw-r--r-- | Source/QtIFW/installscript.qs.in | 4 |
3 files changed, 12 insertions, 2 deletions
diff --git a/CMakeCPackOptions.cmake.in b/CMakeCPackOptions.cmake.in index 5600b35..6003565 100644 --- a/CMakeCPackOptions.cmake.in +++ b/CMakeCPackOptions.cmake.in @@ -38,6 +38,10 @@ if(CPACK_GENERATOR MATCHES "IFW") @_CPACK_IFW_PACKAGE_ICON@ set(CPACK_IFW_PACKAGE_WINDOW_ICON "@CMake_SOURCE_DIR@/Source/QtDialog/CMakeSetup128.png") + set(CPACK_IFW_PACKAGE_CONTROL_SCRIPT + "@CMake_SOURCE_DIR@/Source/QtIFW/controlscript.qs") + # Uninstaller configuration + set(CPACK_IFW_PACKAGE_MAINTENANCE_TOOL_NAME "cmake-maintenance") # Package configuration group set(CPACK_IFW_PACKAGE_GROUP CMake) # Group configuration diff --git a/Source/QtIFW/controlscript.qs b/Source/QtIFW/controlscript.qs new file mode 100644 index 0000000..d1a9b10 --- /dev/null +++ b/Source/QtIFW/controlscript.qs @@ -0,0 +1,6 @@ +// controlscript.qs - CMake installation control script + +function Controller() +{ + // do nothing now +} diff --git a/Source/QtIFW/installscript.qs.in b/Source/QtIFW/installscript.qs.in index 5491611..570dba1 100644 --- a/Source/QtIFW/installscript.qs.in +++ b/Source/QtIFW/installscript.qs.in @@ -18,7 +18,7 @@ Component.prototype.createOperations = function() installer.value("StartMenuDir") + "/CMake Web Site.lnk"); component.addOperation("CreateShortcut", - installer.value("TargetDir") + "/uninstall.exe", - installer.value("StartMenuDir") + "/Uninstall.lnk"); + installer.value("TargetDir") + "/cmake-maintenance.exe", + installer.value("StartMenuDir") + "/CMake Maintenance Tool.lnk"); } } |