PDA

View Full Version : how to uninstall a file in use?



david in china
05-19-2004, 09:01 PM
I use installshield and make a installation. After restart my PC, a .exe file in the package will run.
Then I do the uninstallation, how do I kill this .exe file and delete it with the uninstallshield program?
Thanks.

_doog_
05-24-2004, 12:06 PM
best way would be to write a custom action that sends a WM_QUIT-Message to your .exe (or notify it in another, apropriate way that you want to terminate it) before actually uninstalling

with this way, the user will not be bothered and the file will uninstall

david in china
05-25-2004, 09:04 PM
Thanks for your answer, I will try it as soon.