I frequently lose track of all this, but I think (well for today at least):
1) You can't trust Privileged when there is going to be an elevation prompt in the execute sequence. The UI sequence can be untrustworthy. If you want older semantics, set the MSIUSEREALADMINDETECTION property to get it set for the UI sequence. 2) As a result of 1) the recommended way to stop if the user does not have privilege is to use a type 19 custom action in the Execute sequence to terminate the setup if Privileged is not 1. 3) The MsiRunningElevated property is relevant too, and although I haven't looked at it in detail I believe it will get set in situations (like maintenance mode) where Privileged might not. Phil Wilson -----Original Message----- From: Blair [mailto:os...@live.com] Sent: Thursday, September 24, 2009 3:19 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Vista Standard User and perMachine install If you set Privileged to 1, you are overriding whatever setting Windows Installer had generated. Don't set it, just consume it in your conditions. Installer sets it for you if appropriate. InstallPrivilages="elevated" tells Windows Installer that you need admin rights. (Really it suppresses telling Windows Installer that you don't need them, but by implication...) -----Original Message----- From: warne warne [mailto:warne...@hotmail.com] Sent: Thursday, September 24, 2009 11:24 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Vista Standard User and perMachine install Hi thanks, but the privileged property is always 1 regardless if Im standard, or admin user. As I was saying I have InstallScope="perMachine" InstallPrivileges="elevated" in my package element. Is that setting privileged to 1 by any chance? I thought by doing that it would inform msi that this installer requires admin rights to install? _________________________________________________________________ Share your photos with Windows Live Photos - Free. http://clk.atdmt.com/UKM/go/134665338/direct/01/ ---------------------------------------------------------------------------- -- Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users