diff options
author | Nils Gladitz <nilsgladitz@gmail.com> | 2013-12-20 11:01:28 (GMT) |
---|---|---|
committer | Nils Gladitz <nilsgladitz@gmail.com> | 2013-12-20 11:01:28 (GMT) |
commit | 7eea71ea57b773244095c54cc5fdde5af93b829c (patch) | |
tree | 0ea74ef10c22eb342135575f770476be63ffbeed /Source/CPack/WiX | |
parent | a0ce1e36b6d3a117ebf51d1d803a129cf657321e (diff) | |
download | CMake-7eea71ea57b773244095c54cc5fdde5af93b829c.zip CMake-7eea71ea57b773244095c54cc5fdde5af93b829c.tar.gz CMake-7eea71ea57b773244095c54cc5fdde5af93b829c.tar.bz2 |
CPackWiX: replace slash with backslash in registry key path
Forward slash is not understood as a key path separator.
Diffstat (limited to 'Source/CPack/WiX')
-rw-r--r-- | Source/CPack/WiX/cmCPackWIXGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/WiX/cmCPackWIXGenerator.cxx b/Source/CPack/WiX/cmCPackWIXGenerator.cxx index 6f1daaa..f892cf9 100644 --- a/Source/CPack/WiX/cmCPackWIXGenerator.cxx +++ b/Source/CPack/WiX/cmCPackWIXGenerator.cxx @@ -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"); |