diff options
author | Rob Mensching <rob@firegiant.com> | 2018-07-13 22:22:22 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2018-07-13 22:22:22 -0700 |
commit | 1668381783283633667df0a12bb9b4568a12def2 (patch) | |
tree | abe52a496d8f8c0d190474eaf06357a0b95ead24 | |
parent | 8bbbacf6cb2fd4a7ef3985a8ab86f14c586567a0 (diff) | |
download | wix-1668381783283633667df0a12bb9b4568a12def2.tar.gz wix-1668381783283633667df0a12bb9b4568a12def2.tar.bz2 wix-1668381783283633667df0a12bb9b4568a12def2.zip |
Fix Component GUID generation
-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 76747728..1a24b803 100644 --- a/src/WixToolset.Core.WindowsInstaller/Bind/CalculateComponentGuids.cs +++ b/src/WixToolset.Core.WindowsInstaller/Bind/CalculateComponentGuids.cs | |||
@@ -63,7 +63,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
63 | { | 63 | { |
64 | var is64Bit = (componentRow.Attributes & MsiInterop.MsidbComponentAttributes64bit) != 0; | 64 | var is64Bit = (componentRow.Attributes & MsiInterop.MsidbComponentAttributes64bit) != 0; |
65 | var bitness = is64Bit ? "64" : String.Empty; | 65 | var bitness = is64Bit ? "64" : String.Empty; |
66 | var regkey = String.Concat(bitness, foundRow[1], "\\", foundRow[2], "\\", foundRow[3]); | 66 | var regkey = String.Concat(bitness, foundRow.AsString(1), "\\", foundRow.AsString(2), "\\", foundRow.AsString(3)); |
67 | componentRow.ComponentId = Uuid.NewUuid(BindDatabaseCommand.WixComponentGuidNamespace, regkey.ToLowerInvariant()).ToString("B").ToUpperInvariant(); | 67 | componentRow.ComponentId = Uuid.NewUuid(BindDatabaseCommand.WixComponentGuidNamespace, regkey.ToLowerInvariant()).ToString("B").ToUpperInvariant(); |
68 | } | 68 | } |
69 | } | 69 | } |