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
- :
- Kill-Process Running in another Windows Session
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
Mar 04, 2022
04:14 PM
Kill-Process Running in another Windows Session
I have a Kill-Process custom action that seems to work fine if the process I want to kill is running in the same user session. However, if it is running in another session, it doesn't get killed. I need to make sure my application isn't running anywhere on the machine before installing a new version.
How can I configure the Kill-Process to take out all copies of the process in any session?
Thanks.
(0) Replies