windows installer - WIX Continues Uninstall After Failing To Close Application Causing Application to Crash -
when closing application prompts users save unsaved information. when installing new version of application while running following occurs:
- start application.
- install new version wix msi.
- application prompts save unsaved information.
- wix msi ignores fact application not closed , continues uninstalling old version , installing new version.
- the still running application crashes badly.
how can wix abandon installation if application not close?
as per understanding, want stop installation , inform customer close application if application running.
you can using custom action. check application running or not using process , create property based on in custom action.
schedule custom action after appsearch or before launch condition in both installui , installexecute (for silent installation) sequences. check property using condition element.
<condition message="please close xxxx application continue installation." >application_running</condition>
Comments
Post a Comment