In a specific custom action, I want to uninstall a service (the
corresponding executable is "foo.exe"), by
1. stop this service
2. run "InstallUtils.exe /u foo.exe"

However msiexec always prompt me the dialog "The following applications
should be closed ..." with service "foo" listed.

I can choose either option "close app, auto restart it again", "do not close
app, reboot afterward", and then the service can be successfully uninstalled
(no reboot after that if I choose the second option)

Question:
1. Is it possible to suppress this dialog?
2. If not, at which point does misexec check "foo.exe" is running? Can I
stop the service before this point? (It's very weird though, in my custom
action I do stop the service first, then call InstallUtil.exe /u)

Thank you.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to