diff options
| author | Rob Mensching <rob@firegiant.com> | 2019-10-07 11:18:13 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2019-10-07 11:59:14 -0700 |
| commit | 860676fa5b40a1904478151e9b4934c004e7db63 (patch) | |
| tree | 83fabd53f2a68dcf56bc8da66d88e115af3764b0 /src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs | |
| parent | 3b98dac62b47d590f3465985362d6e6fd100b1c0 (diff) | |
| download | wix-860676fa5b40a1904478151e9b4934c004e7db63.tar.gz wix-860676fa5b40a1904478151e9b4934c004e7db63.tar.bz2 wix-860676fa5b40a1904478151e9b4934c004e7db63.zip | |
Implement Bundle build
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs')
| -rw-r--r-- | src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs b/src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs index f76cd227..cd3a67fa 100644 --- a/src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs +++ b/src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs | |||
| @@ -105,6 +105,10 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
| 105 | this.AddMsiEmbeddedUITuple((MsiEmbeddedUITuple)tuple, output); | 105 | this.AddMsiEmbeddedUITuple((MsiEmbeddedUITuple)tuple, output); |
| 106 | break; | 106 | break; |
| 107 | 107 | ||
| 108 | case TupleDefinitionType.MsiFileHash: | ||
| 109 | this.AddMsiFileHashTuple((MsiFileHashTuple)tuple, output); | ||
| 110 | break; | ||
| 111 | |||
| 108 | case TupleDefinitionType.MsiServiceConfig: | 112 | case TupleDefinitionType.MsiServiceConfig: |
| 109 | this.AddMsiServiceConfigTuple((MsiServiceConfigTuple)tuple, output); | 113 | this.AddMsiServiceConfigTuple((MsiServiceConfigTuple)tuple, output); |
| 110 | break; | 114 | break; |
| @@ -500,6 +504,18 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
| 500 | row[4] = tuple.Source; | 504 | row[4] = tuple.Source; |
| 501 | } | 505 | } |
| 502 | 506 | ||
| 507 | private void AddMsiFileHashTuple(MsiFileHashTuple tuple, Output output) | ||
| 508 | { | ||
| 509 | var table = output.EnsureTable(this.TableDefinitions["MsiFileHash"]); | ||
| 510 | var row = table.CreateRow(tuple.SourceLineNumbers); | ||
| 511 | row[0] = tuple.Id.Id; | ||
| 512 | row[1] = tuple.Options; | ||
| 513 | row[2] = tuple.HashPart1; | ||
| 514 | row[3] = tuple.HashPart2; | ||
| 515 | row[4] = tuple.HashPart3; | ||
| 516 | row[5] = tuple.HashPart4; | ||
| 517 | } | ||
| 518 | |||
| 503 | private void AddMsiServiceConfigTuple(MsiServiceConfigTuple tuple, Output output) | 519 | private void AddMsiServiceConfigTuple(MsiServiceConfigTuple tuple, Output output) |
| 504 | { | 520 | { |
| 505 | var events = tuple.OnInstall ? WindowsInstallerConstants.MsidbServiceConfigEventInstall : 0; | 521 | var events = tuple.OnInstall ? WindowsInstallerConstants.MsidbServiceConfigEventInstall : 0; |
