diff options
| author | Rob Mensching <rob@firegiant.com> | 2020-07-21 14:31:53 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2020-07-21 14:41:12 -0700 |
| commit | b62a7a0beb7ceb7987de28ec768c7814cadb83b9 (patch) | |
| tree | 69a9183a3182334f0d48a39ab8e411ee3fc3aecd /src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs | |
| parent | 414c07f7adce9c9fd0132ab0fade0267f743f665 (diff) | |
| download | wix-b62a7a0beb7ceb7987de28ec768c7814cadb83b9.tar.gz wix-b62a7a0beb7ceb7987de28ec768c7814cadb83b9.tar.bz2 wix-b62a7a0beb7ceb7987de28ec768c7814cadb83b9.zip | |
Support implicit standard directory reference and "3264" platform folders
Completes wixtoolset/issues#5798 and wixtoolset/issues#5835
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs')
| -rw-r--r-- | src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs b/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs index 950fe1c1..93c617d9 100644 --- a/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs +++ b/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs | |||
| @@ -133,6 +133,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
| 133 | bool compressed; | 133 | bool compressed; |
| 134 | bool longNames; | 134 | bool longNames; |
| 135 | int installerVersion; | 135 | int installerVersion; |
| 136 | Platform platform; | ||
| 136 | string modularizationSuffix; | 137 | string modularizationSuffix; |
| 137 | { | 138 | { |
| 138 | var command = new BindSummaryInfoCommand(section); | 139 | var command = new BindSummaryInfoCommand(section); |
| @@ -141,6 +142,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
| 141 | compressed = command.Compressed; | 142 | compressed = command.Compressed; |
| 142 | longNames = command.LongNames; | 143 | longNames = command.LongNames; |
| 143 | installerVersion = command.InstallerVersion; | 144 | installerVersion = command.InstallerVersion; |
| 145 | platform = command.Platform; | ||
| 144 | modularizationSuffix = command.ModularizationSuffix; | 146 | modularizationSuffix = command.ModularizationSuffix; |
| 145 | } | 147 | } |
| 146 | 148 | ||
| @@ -194,6 +196,11 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
| 194 | } | 196 | } |
| 195 | 197 | ||
| 196 | { | 198 | { |
| 199 | var command = new AddRequiredStandardDirectories(section, platform); | ||
| 200 | command.Execute(); | ||
| 201 | } | ||
| 202 | |||
| 203 | { | ||
| 197 | var command = new CreateSpecialPropertiesCommand(section); | 204 | var command = new CreateSpecialPropertiesCommand(section); |
| 198 | command.Execute(); | 205 | command.Execute(); |
| 199 | } | 206 | } |
| @@ -332,7 +339,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
| 332 | 339 | ||
| 333 | // Set generated component guids. | 340 | // Set generated component guids. |
| 334 | { | 341 | { |
| 335 | var command = new CalculateComponentGuids(this.Messaging, this.BackendHelper, this.PathResolver, section); | 342 | var command = new CalculateComponentGuids(this.Messaging, this.BackendHelper, this.PathResolver, section, platform); |
| 336 | command.Execute(); | 343 | command.Execute(); |
| 337 | } | 344 | } |
| 338 | 345 | ||
