From 17c717d302fd8c6ecc89e5611377bafcdd733f43 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Mon, 7 Oct 2019 15:48:39 -0700 Subject: Fix reserve cost --- .../Bind/CreateOutputFromIRCommand.cs | 4 ++++ src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs b/src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs index 13db96fa..9671780d 100644 --- a/src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs +++ b/src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs @@ -141,6 +141,10 @@ namespace WixToolset.Core.WindowsInstaller.Bind this.AddRemoveRegistryTuple((RemoveRegistryTuple)tuple, output); break; + case TupleDefinitionType.ReserveCost: + this.AddTupleDefaultly(tuple, output, true); + break; + case TupleDefinitionType.ServiceControl: this.AddServiceControlTuple((ServiceControlTuple)tuple, output); break; diff --git a/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs b/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs index 3218c5ac..724126bb 100644 --- a/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs +++ b/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs @@ -480,7 +480,7 @@ namespace WixToolsetTest.CoreIntegration } } - [Fact(Skip = "Test demonstrates failure")] + [Fact] public void PopulatesReserveCostTable() { var folder = TestData.Get(@"TestData"); -- cgit v1.2.3-55-g6feb