mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-10 07:40:03 -06:00
Merge topic 'wix-fix-registry-slash'
7eea71e CPackWiX: replace slash with backslash in registry key path
This commit is contained in:
@@ -765,7 +765,7 @@ bool cmCPackWIXGenerator::CreateStartMenuShortcuts(
|
||||
fileDefinitions.EndElement("RemoveFolder");
|
||||
|
||||
std::string registryKey =
|
||||
std::string("Software/") + cpackVendor + "/" + cpackPackageName;
|
||||
std::string("Software\\") + cpackVendor + "\\" + cpackPackageName;
|
||||
|
||||
fileDefinitions.BeginElement("RegistryValue");
|
||||
fileDefinitions.AddAttribute("Root", "HKCU");
|
||||
|
||||
Reference in New Issue
Block a user