diff options
| author | Rob Mensching <rob@firegiant.com> | 2021-02-26 11:24:10 -0800 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2021-02-27 07:47:08 -0800 |
| commit | 5fd1b7ff82f17d55c8357fe76898a1bdc5953476 (patch) | |
| tree | 5ec191ebf43009daf9bde6d0c26879b181b9a71b /src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs | |
| parent | 760fb810ba5ecc3c6ce752a9bfa3755f7b7c0f6a (diff) | |
| download | wix-5fd1b7ff82f17d55c8357fe76898a1bdc5953476.tar.gz wix-5fd1b7ff82f17d55c8357fe76898a1bdc5953476.tar.bz2 wix-5fd1b7ff82f17d55c8357fe76898a1bdc5953476.zip | |
Absorb Dependency.wixext into Core
Partly resolves wixtoolset/issues#5949
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs')
| -rw-r--r-- | src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs b/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs index 25a093fd..a3f2da94 100644 --- a/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs +++ b/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs | |||
| @@ -325,6 +325,18 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
| 325 | command.Execute(); | 325 | command.Execute(); |
| 326 | } | 326 | } |
| 327 | 327 | ||
| 328 | // Process dependency references. | ||
| 329 | if (SectionType.Product == section.Type || SectionType.Module == section.Type) | ||
| 330 | { | ||
| 331 | var dependencyRefs = section.Symbols.OfType<WixDependencyRefSymbol>().ToList(); | ||
| 332 | |||
| 333 | if (dependencyRefs.Any()) | ||
| 334 | { | ||
| 335 | var command = new ProcessDependencyReferencesCommand(this.WindowsInstallerBackendHelper, section, dependencyRefs); | ||
| 336 | command.Execute(); | ||
| 337 | } | ||
| 338 | } | ||
| 339 | |||
| 328 | // If there are any backend extensions, give them the opportunity to process | 340 | // If there are any backend extensions, give them the opportunity to process |
| 329 | // the section now that the fields have all be resolved. | 341 | // the section now that the fields have all be resolved. |
| 330 | // | 342 | // |
