Update packaging of CMake for QtIFW 2.0
This commit is contained in:
parent
9a0ba4d24a
commit
342d15cbc2
|
@ -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
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
// controlscript.qs - CMake installation control script
|
||||
|
||||
function Controller()
|
||||
{
|
||||
// do nothing now
|
||||
}
|
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue