-----Original Message----- From: Tabmow [mailto:tabmo...@gmail.com]
> It's not a problem, so much as we prompt a few screens of required info > before the "Install" button is hit. Why have a user fill in these few > screens only to find out they have wrong permissions? In the past, we could > prevent this from happening by the code i quoted. So all i was trying was > to do the same behaviour in Windows 2008 R2 if possible. If UAC is turned on, instead of failure they get an "over-the-shoulder" prompt, which allows anyone who is in the Administrators group to provide credentials that will allow the installation to proceed. Because of that, not being an administrator isn't exactly a "you can't install" situation any more. > I tried the exact "InstallPrivileges" and "Condition Message" line (with my > own msg of course), and now non-admin users cannot run the MSI and get my > warning message, which is great. Running the MSI as Administrator works > fine. But if i run the MSI as a user who is part of "Administrators" > group, shouldn't that user still be allowed to run the MSI? That user > still gets denied like a regular user. Again, this is Windows 2008 R2 if > that makes a difference. Or am I missing something? If UAC is turned on, members of the Adminstrators group that are not the built-in Administrator account run with non-privileged credentials. Only when they click "continue" do they use the "admin-enabled" credentials you are testing for. The pre-Vista/Server 2008 experience you are seeking requires turning UAC off. UAC enables non-admin users to run privileged operations with the consent of an admin without requiring a separate login, while also helping protect the system from unexpected system changes when running code as an "admin" user. ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users