CPackWiX: replace slash with backslash in registry key path

Forward slash is not understood as a key path separator.
This commit is contained in:
Nils Gladitz 2013-12-20 12:01:28 +01:00
parent a0ce1e36b6
commit 7eea71ea57
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");