People keep saying that, but keep in mind that it probably won't work on Vista, 
where the recommendation is a type 19 custom action in the execute sequence 
which is typically when you know whether you're running elevated or not.

Guidelines for Packages, second bullet:
http://msdn2.microsoft.com/en-us/library/aa368772.aspx

Phil Wilson

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ramya ragupathy
Sent: Monday, February 11, 2008 11:25 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to test if user is an administrator


chk the PRIVILEGED property with condition tag


Tom.Chmielenski 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
>
>

--
View this message in context: 
http://www.nabble.com/How-to-test-if-user-is-an-administrator-tp15334172p15427073.html
Sent from the wix-users mailing list archive at Nabble.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



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