This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How to make sure a process is stopped before uninstall?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 24, 2007
02:27 AM
How to make sure a process is stopped before uninstall?
My product invokes another process(called B) when it runs. When I uninstall my product, B is still running, the uninstall can not proceed. Does anybody know how to make sure B is stopped before the uninstall.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 24, 2007
05:50 PM
It depends what you want the installer to do if it detects the process (and assuming the files-in-use dialog boxes don't detect it automatically). Simplest might be an InstallScript custom action that calls Is(FILE_LOCKED, ...); the MSI help topic "InstallValidate Action" might be a good starting point for a more sophisticated approach.
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)