aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core.WindowsInstaller/Bind
diff options
context:
space:
mode:
authorBob Arnson <bob@firegiant.com>2020-05-08 14:28:33 -0400
committerBob Arnson <bob@firegiant.com>2020-05-08 14:34:12 -0400
commitd2da673f3b2676663748efe359389e0553609dcf (patch)
tree6b7fd32883547245a8dcb505df1724fad6d7b2b2 /src/WixToolset.Core.WindowsInstaller/Bind
parentdb3c7998c80523d8a059f7a9c3214dbc5c8c1e23 (diff)
downloadwix-d2da673f3b2676663748efe359389e0553609dcf.tar.gz
wix-d2da673f3b2676663748efe359389e0553609dcf.tar.bz2
wix-d2da673f3b2676663748efe359389e0553609dcf.zip
Add `IBindContext.SuppressLayout` to suppress cab generation.
And some cleanup.
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller/Bind')
-rw-r--r--src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs21
1 files changed, 10 insertions, 11 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs b/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs
index 489fdacb..5b401a0c 100644
--- a/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs
+++ b/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs
@@ -45,10 +45,12 @@ namespace WixToolset.Core.WindowsInstaller.Bind
45 this.ExpectedEmbeddedFiles = context.ExpectedEmbeddedFiles; 45 this.ExpectedEmbeddedFiles = context.ExpectedEmbeddedFiles;
46 this.FileSystemExtensions = context.FileSystemExtensions; 46 this.FileSystemExtensions = context.FileSystemExtensions;
47 this.Intermediate = context.IntermediateRepresentation; 47 this.Intermediate = context.IntermediateRepresentation;
48 this.IntermediateFolder = context.IntermediateFolder;
48 this.OutputPath = context.OutputPath; 49 this.OutputPath = context.OutputPath;
49 this.OutputPdbPath = context.PdbPath; 50 this.OutputPdbPath = context.PdbPath;
50 this.PdbType = context.PdbType; 51 this.PdbType = context.PdbType;
51 this.IntermediateFolder = context.IntermediateFolder; 52 this.SuppressLayout = context.SuppressLayout;
53
52 this.SubStorages = subStorages; 54 this.SubStorages = subStorages;
53 this.Validator = validator; 55 this.Validator = validator;
54 56
@@ -186,18 +188,15 @@ namespace WixToolset.Core.WindowsInstaller.Bind
186 } 188 }
187 } 189 }
188 190
189 if (!this.Intermediate.HasLevel(Data.WindowsInstaller.IntermediateLevels.PartiallyBound)) 191 // Sequence all the actions.
190 { 192 {
191 // Sequence all the actions. 193 var command = new SequenceActionsCommand(this.Messaging, section);
192 { 194 command.Execute();
193 var command = new SequenceActionsCommand(this.Messaging, section); 195 }
194 command.Execute();
195 }
196 196
197 { 197 {
198 var command = new CreateSpecialPropertiesCommand(section); 198 var command = new CreateSpecialPropertiesCommand(section);
199 command.Execute(); 199 command.Execute();
200 }
201 } 200 }
202 201
203#if TODO_PATCHING 202#if TODO_PATCHING