I put in a check like this a while back that stops the install if the
user isn't an administrator.

<Condition Message="You need to be an administrator to install
[ProductShortName].">Privileged</Condition>

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob
Hamflett
Sent: Tuesday, September 11, 2007 9:12 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Administrator-only install?

Having thought about it, ALLUSERS=1 is probably what's wanted.

Rob

Rob Hamflett wrote:
> I think you want [EMAIL PROTECTED]"elevated".  Are you
already setting this, because the 
> chm claims it's the default value?
> 
> Rob
> 
> Brad Stanley wrote:
>> This may be a silly question, but I would like to detect the user
upon 
>> installer startup and fail gracefully if the user is not the 
>> administrator.  I've combed the tutorial and the schema, but I must
be 
>> missing how to perform this check.  
>>
>>
>>
>> ---
>> Brad Stanley
>> Scientific Programmer
>> Oklahoma Climatological Survey
>>
>>
>>
>>
------------------------------------------------------------------------
>>
>>
------------------------------------------------------------------------
-
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2005.
>> 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 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/


------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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 2005.
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