[wix-users] Progress messages from a Burn bundle?

Hoover, Jacob Jacob.Hoover at greenheck.com
Fri Mar 3 09:21:09 PST 2023


What version of Burn is the 3rd party bundle using? What packages is the 3rd party bundle installing? When you manually run the 3rd party bundle, what progress indicators does it show?

From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Matthias Reuss via wix-users
Sent: Thursday, March 2, 2023 12:50 PM
To: wix-users at lists.wixtoolset.org
Cc: Matthias Reuss <matthias.mr.reuss at wsa.com>
Subject: [wix-users] Progress messages from a Burn bundle?

Hello,

My installation bundle contains a 3rd-party EXE, which is itself a Burn bundle.

Can I get progress messages from that "embedded" bundle?

The ExePackage definition looks like

<ExePackage Id="ThirdPartyBundle"
Compressed="no"
PerMachine="yes"
Vital="yes"
Name="Path\ThirdParty.exe"
DisplayName="Third Party Bundle"
[...]
Protocol="burn">
<ExitCode Value="0" Behavior="success" />
<ExitCode Value="1" Behavior="error"/>
</ExePackage>

And the ExecuteProgress event handler of my CustomBA:

private void ExecuteProgress(object sender, ExecuteProgressEventArgs e)
{
[...]
_executeProgress = e.ProgressPercentage;
_model.LogMessage($"ExecuteProgress for package {e.PackageId}: Percentage {_executeProgress}");
[...]
}

My log file tells me that ExecuteProgress was called for this package only 2 times: once at 0 % and once at 100 %.

This 3rd-party bundle is the longest-running part of my bundle, so my progress bar would look much better if I could get more progress messages.

Best regards

Matthias Reuss


____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/<http://www.firegiant.com>
NOTE: This email was received from an external source. Please use caution when opening links or attachments in the message.


More information about the wix-users mailing list