From 1668381783283633667df0a12bb9b4568a12def2 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Fri, 13 Jul 2018 22:22:22 -0700 Subject: Fix Component GUID generation --- src/WixToolset.Core.WindowsInstaller/Bind/CalculateComponentGuids.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { var is64Bit = (componentRow.Attributes & MsiInterop.MsidbComponentAttributes64bit) != 0; var bitness = is64Bit ? "64" : String.Empty; - var regkey = String.Concat(bitness, foundRow[1], "\\", foundRow[2], "\\", foundRow[3]); + var regkey = String.Concat(bitness, foundRow.AsString(1), "\\", foundRow.AsString(2), "\\", foundRow.AsString(3)); componentRow.ComponentId = Uuid.NewUuid(BindDatabaseCommand.WixComponentGuidNamespace, regkey.ToLowerInvariant()).ToString("B").ToUpperInvariant(); } } -- cgit v1.2.3-55-g6feb