aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2019-10-07 15:48:39 -0700
committerRob Mensching <rob@firegiant.com>2019-10-07 21:44:46 -0700
commit17c717d302fd8c6ecc89e5611377bafcdd733f43 (patch)
tree4b9e21db3fb35d6070cd56a7d7ca652af7040acb /src
parent5edc560ee89bc8c7522c867aea2cc4aa42b63c2c (diff)
downloadwix-17c717d302fd8c6ecc89e5611377bafcdd733f43.tar.gz
wix-17c717d302fd8c6ecc89e5611377bafcdd733f43.tar.bz2
wix-17c717d302fd8c6ecc89e5611377bafcdd733f43.zip
Fix reserve cost
Diffstat (limited to 'src')
-rw-r--r--src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs4
-rw-r--r--src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs2
2 files changed, 5 insertions, 1 deletions
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
141 this.AddRemoveRegistryTuple((RemoveRegistryTuple)tuple, output); 141 this.AddRemoveRegistryTuple((RemoveRegistryTuple)tuple, output);
142 break; 142 break;
143 143
144 case TupleDefinitionType.ReserveCost:
145 this.AddTupleDefaultly(tuple, output, true);
146 break;
147
144 case TupleDefinitionType.ServiceControl: 148 case TupleDefinitionType.ServiceControl:
145 this.AddServiceControlTuple((ServiceControlTuple)tuple, output); 149 this.AddServiceControlTuple((ServiceControlTuple)tuple, output);
146 break; 150 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
480 } 480 }
481 } 481 }
482 482
483 [Fact(Skip = "Test demonstrates failure")] 483 [Fact]
484 public void PopulatesReserveCostTable() 484 public void PopulatesReserveCostTable()
485 { 485 {
486 var folder = TestData.Get(@"TestData"); 486 var folder = TestData.Get(@"TestData");