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:

enter image description here

and one:

enter image description here

to stop doing it, added following property:

<property id="msirestartmanagercontrol" value="disable" /> 

but uninstaller shows window:

enter image description here

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

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -