Hi everyone
I am writing a setup that is required to check if an application is running and if it is, then close it or display a message about closing the application.
Is there a standard way of doing this in msi or do I have to write a custom action to take care of this?
So basically do all or some of the following without custom action:
How do I find out if app.exe is running?
How do I close it if it is running?
How do I display a message about app.exe being running?
Thanks
Danish Waheed
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Finding running applications
Started by
waheeddanish
, Aug 15 2005 08:55
1 reply to this topic
Posted 15 August 2005 - 19:42
Windows Installer will automatically display a dialog asking the user to shut down the application if an exe file that needs to be overwritten is running (some restrictions apply, see "InstallValidate Action" in MSI Help).
Otherwise you need to create a custom action. You can look at a sample written in InstallScript to get an idea how to do this: "List and Shut Down Running Applications" at http://www.installsi.../en/isp_ext.htm
Otherwise you need to create a custom action. You can look at a sample written in InstallScript to get an idea how to do this: "List and Shut Down Running Applications" at http://www.installsi.../en/isp_ext.htm
Stefan Krüger
InstallSite.org twitter facebook