diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2021-01-27 20:06:23 -0600 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2021-01-27 20:45:17 -0600 |
| commit | 9a6688a8d6ec05817451dc8706a0bc9db82b9d36 (patch) | |
| tree | c3b8347c32a4b6986ace5da37866e3c47d175662 /src/WixToolset.Core.WindowsInstaller | |
| parent | 8eed3c02afb5883bc4e3bb45ab1f9b6da5a65476 (diff) | |
| download | wix-9a6688a8d6ec05817451dc8706a0bc9db82b9d36.tar.gz wix-9a6688a8d6ec05817451dc8706a0bc9db82b9d36.tar.bz2 wix-9a6688a8d6ec05817451dc8706a0bc9db82b9d36.zip | |
Add patch test from old repo and get it passing.
Fixes #6341.
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller')
| -rw-r--r-- | src/WixToolset.Core.WindowsInstaller/Bind/CalculateComponentGuids.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/Bind/CalculateComponentGuids.cs b/src/WixToolset.Core.WindowsInstaller/Bind/CalculateComponentGuids.cs index 02336cae..55cda9ea 100644 --- a/src/WixToolset.Core.WindowsInstaller/Bind/CalculateComponentGuids.cs +++ b/src/WixToolset.Core.WindowsInstaller/Bind/CalculateComponentGuids.cs | |||
| @@ -67,7 +67,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
| 67 | if (registryKeyRows.TryGetValue(componentSymbol.KeyPath, out var foundRow)) | 67 | if (registryKeyRows.TryGetValue(componentSymbol.KeyPath, out var foundRow)) |
| 68 | { | 68 | { |
| 69 | var bitness = componentSymbol.Win64 ? "64" : String.Empty; | 69 | var bitness = componentSymbol.Win64 ? "64" : String.Empty; |
| 70 | var regkey = String.Concat(bitness, foundRow.AsString(1), "\\", foundRow.AsString(2), "\\", foundRow.AsString(3)); | 70 | var regkey = String.Concat(bitness, foundRow.Root, "\\", foundRow.Key, "\\", foundRow.Name); |
| 71 | componentSymbol.ComponentId = this.BackendHelper.CreateGuid(BindDatabaseCommand.WixComponentGuidNamespace, regkey.ToLowerInvariant()); | 71 | componentSymbol.ComponentId = this.BackendHelper.CreateGuid(BindDatabaseCommand.WixComponentGuidNamespace, regkey.ToLowerInvariant()); |
| 72 | } | 72 | } |
| 73 | } | 73 | } |
