You *can* do it v2.  You just need to write the CustomAction or port 
CloseApplication down... lots more work than v3.

-----Original Message-----
From: Neil Sleightholm [mailto:n...@x2systems.com]
Sent: Thursday, January 08, 2009 22:24
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to detect program running and display a message box

I don't think you can do this in v2 but in v3 you can use
<util:CloseApplication />

Neil

-----Original Message-----
From: Little Forest [mailto:little.for...@ymail.com]
Sent: 08 January 2009 22:16
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to detect program running and display a message
box

I'd like to do these in 2.0:
1. Detect if a program(e.g. Outlook.exe) is running
2. If it's running, display a message box to ask the user to close it;
if it's not running, don't show it and keep installing process.

Can any one give some code example?

Thanks in advance.

Brian



      __________________________________________________________________
Ask a question on any topic and get answers from real people. Go to
Yahoo! Answers and share what you know at http://ca.answers.yahoo.com
------------------------------------------------------------------------
------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to