by ayman » Fri Mar 16, 2012 8:53 am
Yes the fileInUse dialog appears because I have set MSIRESTARTMANAGERCONTROL to disabled.
This what I want to achieve (maybe I did it the wrong way):
I want to force the user to close a specific application by himself (or quit the installation), so I disabled MSIRESTARTMANAGERCONTROL because this dialog shows not only the application but also some services (which I don't car about -I manage this in update). the old FileInUse dialog only displays my application but doesn't work properly...
one (not so nice) way to mange this is to add in custom actions' InstallValidate a check for that specific application and if its opened, then show an error message and quit installation... but is there is a way to show a custom Retry/Exit dialog for that specific application in InstallValidate (or any other way to manage it) ?!
thanks for your help
best regards