Hi all,
    I previously used (in Win 2003) this check to ensure that only a user
with admin privileges could run our msi:

  <Condition Message="You need to be an administrator to install this
product.">
      Privileged
  </Condition>

and that worked fine.  However, we've moved to Windows 2008 R2 and now that
check doesn't seem to do anything in a non-admin user attempts to run ->
everyone is allowed to run the MSI now. 
I poked around google and this group, and i do see posts like this one:
http://n2.nabble.com/Admin-Check-in-VISTA-OS-td707200.html#a707200

that mention to use MSIUSEREALADMINDETECTION, which i've done (set it to 1),
but then this still doesn't seem to do what I want (which is prevent
non-admin from running MSI). 

I've tried this in InstallExecuteSequence:

<Custom Action='IsPrivileged' Before='LaunchConditions'>
        Not AdminUser
</Custom>

and also used "Not Privilege" there instead too with no luck.    What am I
missing?  Any ideas or suggestions would be great.

Thanks.

-- 
View this message in context: 
http://n2.nabble.com/Admin-check-in-Win-2008-tp4557002p4557002.html
Sent from the wix-users mailing list archive at Nabble.com.

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

Reply via email to