Wix installation - using Burn to control a managed user interface and displaying the same progress file as built-in dialogs

I use Wix Burn to set the details of our project, I used ManagedBootstrapperApplicationHost to have a user interface, I followed the project, accessible from Wix source code, to create my WPF managed application.

Now the problem is that Progress (Message) shows that it does not correspond to the progress message that we use the built-in interface - WixStandardBootstrapperApplication.RtfLicense

I mainly use the following code from a Wix source

 private void ExecuteMsiMessage(object sender, ExecuteMsiMessageEventArgs e)
        {
            lock (this)
            {
                this.Message = e.Message;
                e.Result = this.root.Canceled ? Result.Cancel : Result.Ok;
            }
        }

How can I have the same display as in the regular Progress dialog box. I have an individual Message job from other methods like PlanPackage etc.

+5
source share
1 answer

Today, wixstdba does not show data progress reports. Someone was talking about adding a feature to the wix-devs mailing list, but that hadn't happened yet. It is just a matter of adding code, as in your managed case, to wixstdba (which does not already have it).

, wixstdba, Engine.OnCachePackageBegin() Engine.ExecutePackageBegin(). , , . .

, BootstrapperApplicationData.xml, .dll. WixPackageProperties, , DisplayName.

--- , , . ---

Engine.ExecuteMsiMessage() , Windows (, , ). .

  • Engine.Progress. , , .

  • Engine.CacheAcquireProgress. , / .

  • Engine.ExecuteProgress. // .

, Engine.Progress , . , Engine.CacheAcquireProgress Engine.ExecuteProgress. : , 200.

, WixBA src\Setup\WixBA\ProgressViewModel.cs.

+6

All Articles