Merge topic 'wix-fix-registry-slash'

7eea71e CPackWiX: replace slash with backslash in registry key path
This commit is contained in:
Brad King 2013-12-23 10:18:43 -05:00 committed by CMake Topic Stage
commit a61bec581e
1 changed files with 1 additions and 1 deletions

View File

@ -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");