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:

  1. start application.
  2. install new version wix msi.
  3. application prompts save unsaved information.
  4. wix msi ignores fact application not closed , continues uninstalling old version , installing new version.
  5. 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

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -