summaryrefslogtreecommitdiffstats
path: root/Source/CPack/WiX/cmWIXShortcut.cxx
diff options
context:
space:
mode:
authorNils Gladitz <nilsgladitz@gmail.com>2015-02-21 17:07:36 (GMT)
committerNils Gladitz <nilsgladitz@gmail.com>2015-02-21 17:07:36 (GMT)
commite6731f486e466ddd58550851fb935dbda7939cac (patch)
tree1d91fa4fe37496d82738b0837e5d2c3f4da283cc /Source/CPack/WiX/cmWIXShortcut.cxx
parent279605f560312aab4dfeef4cce1c8c67d4083b4e (diff)
downloadCMake-e6731f486e466ddd58550851fb935dbda7939cac.zip
CMake-e6731f486e466ddd58550851fb935dbda7939cac.tar.gz
CMake-e6731f486e466ddd58550851fb935dbda7939cac.tar.bz2
CPackWIX: Add new CPACK_STARTUP_SHORTCUTS property.
Diffstat (limited to 'Source/CPack/WiX/cmWIXShortcut.cxx')
-rw-r--r--Source/CPack/WiX/cmWIXShortcut.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/CPack/WiX/cmWIXShortcut.cxx b/Source/CPack/WiX/cmWIXShortcut.cxx
index aef2b08..d721872 100644
--- a/Source/CPack/WiX/cmWIXShortcut.cxx
+++ b/Source/CPack/WiX/cmWIXShortcut.cxx
@@ -52,6 +52,10 @@ bool cmWIXShortcuts::EmitShortcuts(
shortcutPrefix = "CM_DS";
registrySuffix = "_desktop";
break;
+ case STARTUP:
+ shortcutPrefix = "CM_SS";
+ registrySuffix = "_startup";
+ break;
default:
return false;
}
@@ -96,6 +100,9 @@ void cmWIXShortcuts::CreateFromProperties(
CreateFromProperty("CPACK_DESKTOP_SHORTCUTS",
DESKTOP, id, directoryId, installedFile);
+
+ CreateFromProperty("CPACK_STARTUP_SHORTCUTS",
+ STARTUP, id, directoryId, installedFile);
}
void cmWIXShortcuts::CreateFromProperty(