A couple of comments/nits:

1) The Vista recommendation is to use Privileged in a type 19 custom action in 
the Execute sequence to deal with the UAC behavior in the UI sequence and in 
launch conditions.
2) You managed to add an extra "d" in your WiX condition, "d" as in "D'OH!" I 
assume ;=)

Phil Wilson

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sebastian Brand
Sent: Thursday, February 07, 2008 5:57 AM
To: [EMAIL PROTECTED]
Cc: WiX Users
Subject: Re: [WiX-users] How to test if user is an administrator

Use the "Privileged" property.

http://msdn2.microsoft.com/en-us/library/aa370852(VS.85).aspx

<Condition Message="You are not an admin">Priviledged</Condition>

Best regards,
Sebastian Brand

Instyler Software - http://www.instyler.com


On Feb 7, 2008, at 14:44 , <[EMAIL PROTECTED]> <[EMAIL PROTECTED]
 > wrote:

> Is there an easy way to test for the condition where the user is not
> an
> administrator on the machine?
>
> Tx.
> Tom
>
> -------------------------------------------------------------------------
> 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


-------------------------------------------------------------------------
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



-------------------------------------------------------------------------
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