Please disregard. Apparently when MSIUSEREALADMINDETECTION is set, it changes the AdminUser meaning as specified in the MSDN documentation:
http://msdn.microsoft.com/en-us/library/aa816403(VS.85).aspx Dariel -----Original Message----- From: Dariel Marlow [mailto:dmar...@microsoft.com] Sent: Tuesday, May 04, 2010 11:38 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] MSIUSEREALADMINDETECTION Privileged and AdminUser I'm attempting to disallow the installation/uninstallation of the MSI unless it is executed from the bootstrapper (which has a requireAdministrator manifest) or from an elevated command prompt. I'm experiencing some inconsistencies with the properties in the subject line. I set the MSIUSEREALADMINDETECTION to 1 to ensure that the elevation is properly recognized. I have a launch condition that specifies: <Condition Message=" You must be an administrator (Privileged property) to execute the MSI."><![CDATA[Privileged]]></Condition> This works great for installation. However, for uninstall, this never shows up. I added the following condition: <Condition Message="You must be an administrator (AdminUser property) to execute the MSI."><![CDATA[AdminUser]]></Condition> This works great for the uninstall. However, for the installation, this never shows up. I'd hate to rely on both of them, as it seems unintuitive (and a major hack). Shouldn't it be sufficient to specify the first condition? Thanks, Dariel ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users