diff options
| author | Rob Mensching <rob@firegiant.com> | 2017-11-29 22:03:26 -0800 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2017-11-29 22:03:26 -0800 |
| commit | 71c52d5af2293d3eb79882ce36b0411f81185c11 (patch) | |
| tree | 23dd116bdd6abc2b0f7b488f490d1b77faa41812 /src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs | |
| parent | 0fa198ed8c6c6fc81e649466879752a99fe37d08 (diff) | |
| download | wix-71c52d5af2293d3eb79882ce36b0411f81185c11.tar.gz wix-71c52d5af2293d3eb79882ce36b0411f81185c11.tar.bz2 wix-71c52d5af2293d3eb79882ce36b0411f81185c11.zip | |
Fix source path and cabinet processing
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs')
| -rw-r--r-- | src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs b/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs index 30a19a4b..012998e6 100644 --- a/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs +++ b/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs | |||
| @@ -123,7 +123,8 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
| 123 | { | 123 | { |
| 124 | propertyRow.Value = Common.GenerateGuid(); | 124 | propertyRow.Value = Common.GenerateGuid(); |
| 125 | 125 | ||
| 126 | #if TODO_FIX_INSTANCE_TRANSFORM | 126 | #if TODO_FIX_INSTANCE_TRANSFORM // Is this still necessary? |
| 127 | |||
| 127 | // Update the target ProductCode in any instance transforms. | 128 | // Update the target ProductCode in any instance transforms. |
| 128 | foreach (SubStorage subStorage in this.Output.SubStorages) | 129 | foreach (SubStorage subStorage in this.Output.SubStorages) |
| 129 | { | 130 | { |
| @@ -391,7 +392,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
| 391 | command.ResolveMedia = this.ResolveMedia; | 392 | command.ResolveMedia = this.ResolveMedia; |
| 392 | command.TableDefinitions = this.TableDefinitions; | 393 | command.TableDefinitions = this.TableDefinitions; |
| 393 | command.TempFilesLocation = this.IntermediateFolder; | 394 | command.TempFilesLocation = this.IntermediateFolder; |
| 394 | command.WixMediaTable = output.Tables["WixMedia"]; | 395 | command.WixMediaTuples = section.Tuples.OfType<WixMediaTuple>(); |
| 395 | command.Execute(); | 396 | command.Execute(); |
| 396 | 397 | ||
| 397 | fileTransfers.AddRange(command.FileTransfers); | 398 | fileTransfers.AddRange(command.FileTransfers); |
| @@ -526,7 +527,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
| 526 | } | 527 | } |
| 527 | 528 | ||
| 528 | this.FileTransfers = fileTransfers; | 529 | this.FileTransfers = fileTransfers; |
| 529 | this.ContentFilePaths = fileFacades.Select(r => r.WixFile.Source).ToList(); | 530 | this.ContentFilePaths = fileFacades.Select(r => r.WixFile.Source.Path).ToList(); |
| 530 | 531 | ||
| 531 | // TODO: Eventually this gets removed | 532 | // TODO: Eventually this gets removed |
| 532 | var intermediate = new Intermediate(this.Intermediate.Id, new[] { section }, this.Intermediate.Localizations.ToDictionary(l => l.Culture, StringComparer.OrdinalIgnoreCase), this.Intermediate.EmbedFilePaths); | 533 | var intermediate = new Intermediate(this.Intermediate.Id, new[] { section }, this.Intermediate.Localizations.ToDictionary(l => l.Culture, StringComparer.OrdinalIgnoreCase), this.Intermediate.EmbedFilePaths); |
