aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2020-06-12 12:42:26 -0700
committerRob Mensching <rob@firegiant.com>2020-06-13 09:22:27 -0700
commit404e5661ee971b9b2544185c3a28b24fafc06185 (patch)
tree52f689d1c85900f90f4685f547aeedf554e3fa7f /src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs
parent6bd3044f8710c26be93588a1405227fdeb522131 (diff)
downloadwix-404e5661ee971b9b2544185c3a28b24fafc06185.tar.gz
wix-404e5661ee971b9b2544185c3a28b24fafc06185.tar.bz2
wix-404e5661ee971b9b2544185c3a28b24fafc06185.zip
Implement update control text
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs')
-rw-r--r--src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs21
1 files changed, 6 insertions, 15 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs b/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs
index bdb089ee..65e4bf13 100644
--- a/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs
+++ b/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs
@@ -325,6 +325,12 @@ namespace WixToolset.Core.WindowsInstaller.Bind
325 command.Execute(); 325 command.Execute();
326 } 326 }
327 327
328 // Update control text from files on disk.
329 {
330 var command = new UpdateControlTextCommand(this.Messaging, section);
331 command.Execute();
332 }
333
328 // Update file sequence. 334 // Update file sequence.
329 { 335 {
330 var command = new UpdateMediaSequencesCommand(section, fileFacades); 336 var command = new UpdateMediaSequencesCommand(section, fileFacades);
@@ -615,21 +621,6 @@ namespace WixToolset.Core.WindowsInstaller.Bind
615 } 621 }
616 } 622 }
617 623
618 /// <summary>
619 /// Update Control and BBControl text by reading from files when necessary.
620 /// </summary>
621 /// <param name="output">Internal representation of the msi database to operate upon.</param>
622 private void UpdateControlText(WindowsInstallerData output)
623 {
624 var command = new UpdateControlTextCommand();
625 command.Messaging = this.Messaging;
626 command.BBControlTable = output.Tables["BBControl"];
627 command.WixBBControlTable = output.Tables["WixBBControl"];
628 command.ControlTable = output.Tables["Control"];
629 command.WixControlTable = output.Tables["WixControl"];
630 command.Execute();
631 }
632
633 private string ResolveMedia(MediaTuple media, string mediaLayoutDirectory, string layoutDirectory) 624 private string ResolveMedia(MediaTuple media, string mediaLayoutDirectory, string layoutDirectory)
634 { 625 {
635 string layout = null; 626 string layout = null;