From 38d723b37e660223a9c8a125cf01ae5a6c9977ba Mon Sep 17 00:00:00 2001 From: Nils Gladitz Date: Sat, 12 Dec 2015 00:39:08 +0100 Subject: CPackWIX: Allow patching of shortcut components --- Source/CPack/WiX/cmCPackWIXGenerator.cxx | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v0.12