[wix-users] bundle and IBootstrapperBAFunction to close app

Hoover, Jacob Jacob.Hoover at greenheck.com
Wed Dec 11 10:18:52 PST 2019

I assume your MSI is using util:CloseApplication to close out the exe when it runs...

But if it is a dependency for your app, then how could your app be running if it isn't installed?  I do believe that the VC runtime would go to SXS, so there shouldn't be any blocker that would prevent it from installing even if your app is running.

What behavior or error are you trying to prevent?

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Michael Tissington via wix-users
Sent: Tuesday, December 10, 2019 11:39 PM
To: wix-users at lists.wixtoolset.org
Cc: Michael Tissington <michael at oaklodge.com>
Subject: [wix-users] bundle and IBootstrapperBAFunction to close app

I have a bundle and I'm already using IBootstrapperBAFunction to prolong the display of a startup screen.

The bundle installs 3 packages, .NET, C++ runtime and our main app.

The main app already has some custom actions to close down when the msi for the app runs.

However the issue is that the app needs to be closed before attempting to run the C++ install (Microsoft exe)

What is the best way to close our app at before running the c++ install?

Can this be done in IBootstrapperBAFunction::OnPlan?


WiX Toolset Users Mailing List provided by FireGiant 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