Hey guys,

My utmost apologies if this has been answered ad nauseum.  I searched
through similar topics and couldn't find exactly what I need to know, which
might be indicative of me thinking about this wrong.

Anyways, here goes....

I have an install that has ALLUSERS set to 2 so that it makes the
per-machine/per-user decision based on the users privileges on the machine
(using HKMU for my registry tags etc.).  I need the option to give the user,
if they have those permissions, to select whether or not they want to do a
per-user or per-machine install and make some other changes based on that
(e.g. the default install path from somewhere in C:\Program Files\... to
somewhere else).

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?  I'm
also assuming I can go changing ALLUSERS from 2 to 0 if I do want to do a
per user install for an admin user, for example, such as if an admin access
user wants to do a user-only install.. does that sound right?

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.

This is with Wix v2.

If somebody could kick me in the right direction, that'd be great :)
I appreciate any help :)

Steve
-- 
View this message in context: 
http://www.nabble.com/Figuring-out-user-privileges-tf3923365.html#a11125691
Sent from the wix-users mailing list archive at Nabble.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