windows - How to avoid "The following applications should be closed" message during uninstallation with WIX? -
i try write msi installer using wix. during uninstallation need run specialized custom action first stops services , closes application. after installinitialize
event using following mark-up:
<customaction id='mycustomaction' binarykey='mydll' dllentry='msiuninstallinitialize' execute='deferred' impersonate='no' /> <installexecutesequence> <custom action='mycustomaction' after='installinitialize'></custom> </installexecutesequence>
the issue if previous version of application running before try upgrade newer 1 using msi, getting restart manager popping message:
and one:
to stop doing it, added following property:
<property id="msirestartmanagercontrol" value="disable" />
but uninstaller shows window:
so curious, there way disable checks if app running (i close myself during custom action processing)?
you've disabled restart manager interaction windows installer windows installer falling old behavior, fileinuse dialog. behavior documented msirestartmanagercontrol property.
i've never tried theory has can make filesinuse dialog hidden (dialog/@hidden='yes'
) cause dialog not shown.
Comments
Post a Comment