Commit 7eea71ea authored by Nils Gladitz's avatar Nils Gladitz

CPackWiX: replace slash with backslash in registry key path

Forward slash is not understood as a key path separator.
parent a0ce1e36
......@@ -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");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment