From abfcbadf4e9c47ed813416fa4754e5a0d20958ff Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Sun, 11 Apr 2021 14:49:33 -0500 Subject: Auto-generate ProductCode for ProductWithComponentGroupRef if undefined --- src/test/WixToolsetTest.CoreIntegration/CustomTableFixture.cs | 1 + .../TestData/ProductWithComponentGroupRef/Product.wxs | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src/test') diff --git a/src/test/WixToolsetTest.CoreIntegration/CustomTableFixture.cs b/src/test/WixToolsetTest.CoreIntegration/CustomTableFixture.cs index f9cd2c70..ee93b03a 100644 --- a/src/test/WixToolsetTest.CoreIntegration/CustomTableFixture.cs +++ b/src/test/WixToolsetTest.CoreIntegration/CustomTableFixture.cs @@ -205,6 +205,7 @@ namespace WixToolsetTest.CoreIntegration var result = WixRunner.Execute(new[] { "build", + "-d", "ProductCode=83f9c623-26fe-42ab-951e-170022117f54", Path.Combine(folder, "CustomTable", "CustomTable.wxs"), Path.Combine(folder, "ProductWithComponentGroupRef", "MinimalComponentGroup.wxs"), Path.Combine(folder, "ProductWithComponentGroupRef", "Product.wxs"), diff --git a/src/test/WixToolsetTest.CoreIntegration/TestData/ProductWithComponentGroupRef/Product.wxs b/src/test/WixToolsetTest.CoreIntegration/TestData/ProductWithComponentGroupRef/Product.wxs index b71627a2..433be7f0 100644 --- a/src/test/WixToolsetTest.CoreIntegration/TestData/ProductWithComponentGroupRef/Product.wxs +++ b/src/test/WixToolsetTest.CoreIntegration/TestData/ProductWithComponentGroupRef/Product.wxs @@ -1,5 +1,8 @@ - + + + + -- cgit v1.2.3-55-g6feb