Hi Bob,
So I figured out why this one is failing and the reason is a bit weird. So if I 
open VS as an administrator, then the MSI does not detect the VS instance else 
if I open VS by simply clicking the VS link in Programs, the MSI does detect VS.

I am executing the MSI on Vista. I think this is the case with only Vista. With 
all other OS the MSI works just fine and detects the instances of VS.

Anyways thanks for the help!

Thanks,
Kiran

From: Kiran Subhedar (Sogeti)
Sent: Tuesday, May 27, 2008 12:15 PM
To: 'Bob Arnson'
Cc: wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Trouble using CloseApplication CA

Hi Bob,
I am afraid but the log shows that the CA ran successfully, although it doesn't 
touch the property. Whereas this works with all the other application exes. 
Wonder why it doesn't work for VS exe. Any clues?

Thanks,
Kiran

From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2008 11:29 AM
To: Kiran Subhedar (Sogeti)
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Trouble using CloseApplication CA

Kiran Subhedar (Sogeti) wrote:
I am trying to use the 'CloseApplication' CA to avoid installation if any 
instances of Visual Studio are running. The action does not work properly and 
the installation continues even if VS is open.
I tested the CA by specifying 'notepad.exe' as the target and it works as 
expected. How come the CA couldn't trace down the VS process? Am I doing 
anything wrong here?

Looks right. Check a verbose log to see if the CA is running correctly and if 
the property's being touched.

--

sig://boB

http://joyofsetup.com/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to