aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core
diff options
context:
space:
mode:
authorRonald Martin <cpuwzd@comcast.net>2021-02-04 22:24:03 -0500
committerRob Mensching <rob@firegiant.com>2021-02-04 21:48:08 -0800
commit6b807d4816846af40cb71d7183b854279fc7b4a8 (patch)
treebb60ff8a9b12c20e8c87bd8ce293f98d3a042542 /src/WixToolset.Core
parent29817aa0f2d2e45f55061e6bb0303e94126d2417 (diff)
downloadwix-6b807d4816846af40cb71d7183b854279fc7b4a8.tar.gz
wix-6b807d4816846af40cb71d7183b854279fc7b4a8.tar.bz2
wix-6b807d4816846af40cb71d7183b854279fc7b4a8.zip
Removes all trailing backslashes from registry paths. Fixes wixtoolset/issues#4753
Diffstat (limited to 'src/WixToolset.Core')
-rw-r--r--src/WixToolset.Core/Compiler_2.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/WixToolset.Core/Compiler_2.cs b/src/WixToolset.Core/Compiler_2.cs
index f5f450cb..09d56e49 100644
--- a/src/WixToolset.Core/Compiler_2.cs
+++ b/src/WixToolset.Core/Compiler_2.cs
@@ -1576,6 +1576,7 @@ namespace WixToolset.Core
1576 { 1576 {
1577 key = Path.Combine(parentKey, key); 1577 key = Path.Combine(parentKey, key);
1578 } 1578 }
1579 key = key?.TrimEnd('\\');
1579 break; 1580 break;
1580 case "Root": 1581 case "Root":
1581 if (root.HasValue) 1582 if (root.HasValue)