That may not be a custom action problem at all. I regularly run VS as admin
under Vista and you can't even drag a file from the desktop and drop it in
to VS as it blocks you.
I think these processes are protected under Vista so that they are not
easily exploitable by trojans trying to escalate privileges. There must be a
way to detect it though.
Ryan
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kiran Subhedar
(Sogeti)
Sent: 28 May 2008 02:11
To: Bob Arnson
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Trouble using CloseApplication CA
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/
No virus found in this incoming message.
Checked by AVG.
Version: 8.0.100 / Virus Database: 269.24.1/1469 - Release Date: 27/05/2008
13:25
-------------------------------------------------------------------------
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