There was a disscussion about this is vsnet.setup (See Detect Outlook.... in
that group). This kind of code (VBScript)
Set myOlApp = CreateObject("Outlook.Application")
Set myExplorer = myOlApp.ActiveExplorer
If TypeName(myExplorer) = "Nothing" Then
msgbox "nothing"
else
msgbox "something"
End If
tells you if Outlook is installed (the createobject) and if it's running
showing a UI (the "something" result). But it wasn't working in a custom
action and that wasn't resolved. You can use this before you launch the
setup. The alternative is to see if it's installed and then just look for a
process called Outlook.exe.
--
Phil Wilson
[MVP Windows Installer]
Definitive Guide to Windows Installer
http://www.amazon.com/exec/obidos/tg/detail/-/1590592972/qid=1088088624
Michael Tissington said:
I have an install which should only run if Outlook and Word are not running.
How can I check to see if Outlook or Word are running ?
How can I create a prompt in my install to ask the user to close Outlook or
Word
Thanks.