diff options
author | Nils Gladitz <nilsgladitz@gmail.com> | 2015-12-11 23:39:08 (GMT) |
---|---|---|
committer | Nils Gladitz <nilsgladitz@gmail.com> | 2015-12-12 09:36:51 (GMT) |
commit | 38d723b37e660223a9c8a125cf01ae5a6c9977ba (patch) | |
tree | 275aa1675de4d8548b2efca905941cd7bef87bbf | |
parent | 8ed8c2956486d841a4e62ffb8f1d82c6c8534b1c (diff) | |
download | CMake-38d723b37e660223a9c8a125cf01ae5a6c9977ba.zip CMake-38d723b37e660223a9c8a125cf01ae5a6c9977ba.tar.gz CMake-38d723b37e660223a9c8a125cf01ae5a6c9977ba.tar.bz2 |
CPackWIX: Allow patching of shortcut components
-rw-r--r-- | Source/CPack/WiX/cmCPackWIXGenerator.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/CPack/WiX/cmCPackWIXGenerator.cxx b/Source/CPack/WiX/cmCPackWIXGenerator.cxx index da8b486..b55c5a5 100644 --- a/Source/CPack/WiX/cmCPackWIXGenerator.cxx +++ b/Source/CPack/WiX/cmCPackWIXGenerator.cxx @@ -817,6 +817,8 @@ bool cmCPackWIXGenerator::CreateShortcutsOfSpecificType( fileDefinitions.AddAttribute("Id", componentId); fileDefinitions.AddAttribute("Guid", "*"); + this->Patch->ApplyFragment(componentId, fileDefinitions); + std::string registryKey = std::string("Software\\") + cpackVendor + "\\" + cpackPackageName; |