CPackWIX: Allow patching of shortcut components
This commit is contained in:
parent
8ed8c29564
commit
38d723b37e
|
@ -817,6 +817,8 @@ bool cmCPackWIXGenerator::CreateShortcutsOfSpecificType(
|
||||||
fileDefinitions.AddAttribute("Id", componentId);
|
fileDefinitions.AddAttribute("Id", componentId);
|
||||||
fileDefinitions.AddAttribute("Guid", "*");
|
fileDefinitions.AddAttribute("Guid", "*");
|
||||||
|
|
||||||
|
this->Patch->ApplyFragment(componentId, fileDefinitions);
|
||||||
|
|
||||||
std::string registryKey = std::string("Software\\") +
|
std::string registryKey = std::string("Software\\") +
|
||||||
cpackVendor + "\\" + cpackPackageName;
|
cpackVendor + "\\" + cpackPackageName;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue