Steve S wrote:
> I have an install that has ALLUSERS set to 2 so that it 

FWIW, the MSI team recommends against ALLUSERS=2 because it's so hard to 
get all the details right. On Vista, the bit that determines whether you 
have to elevate is set in the summary information stream and can't be 
changed at install time. So the benefit of not having to elevate with a 
per-user app is lost.

> What I sadly don't know is how to determine what the users privileges are. 
> Is there something I can query and build a conditional statement from?  

You can use the Privileged property but be aware that on Vista with UAC 
enabled, it's always set.

> I'm also assuming I can go changing ALLUSERS from 2 to 0 

You need to delete ALLUSERS, not set it to 0. (One of the many oddities 
of ALLUSERS.)

> Generally, is it normal for most installers to provide this option (install
> per-machine or per-user)?  I've seen it on some installers but not others.
>   

See above. Many offer it but install to Program Files even for 
"per-user" installs. The best model, IMO, is to make separate packages. 
WiX makes it possible to use the same source to generate multiple 
packages via <?ifdef> and other preprocessor statements.

-- 
sig://boB
http://joyofsetup.com/



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to