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
- :
- Re: How to determine if Excel.exe is running?
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
‎Aug 20, 2008
02:03 AM
How to determine if Excel.exe is running?
Hi
How do I determine if Excel.exe is running? I want to exit the install if the process is started.
For time being, I don't want to offer the user the option of terminating the process, I am just exiting setup on detection.
Thanks
How do I determine if Excel.exe is running? I want to exit the install if the process is started.
For time being, I don't want to offer the user the option of terminating the process, I am just exiting setup on detection.
Thanks
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 20, 2008
02:55 PM
What kind of project are you using? For MSI, for example, one possibility is to locate excel.exe with a system search, and then use an InstallScript custom action that uses Is(FILE_LOCKED, ...) with the file to determine if the executable is running...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 24, 2008
03:52 AM
Thanks Dan, it's working like a charm!
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)