Merge topic 'wix-fix-registry-slash'
7eea71e
CPackWiX: replace slash with backslash in registry key path
This commit is contained in:
commit
a61bec581e
|
@ -765,7 +765,7 @@ bool cmCPackWIXGenerator::CreateStartMenuShortcuts(
|
||||||
fileDefinitions.EndElement("RemoveFolder");
|
fileDefinitions.EndElement("RemoveFolder");
|
||||||
|
|
||||||
std::string registryKey =
|
std::string registryKey =
|
||||||
std::string("Software/") + cpackVendor + "/" + cpackPackageName;
|
std::string("Software\\") + cpackVendor + "\\" + cpackPackageName;
|
||||||
|
|
||||||
fileDefinitions.BeginElement("RegistryValue");
|
fileDefinitions.BeginElement("RegistryValue");
|
||||||
fileDefinitions.AddAttribute("Root", "HKCU");
|
fileDefinitions.AddAttribute("Root", "HKCU");
|
||||||
|
|
Loading…
Reference in New Issue