Privileged property is set when execution scripts would run under privileged 
process context. Immediate actions may not have Privileged process context. If 
you really need administrative privileges for all actions, you need to check 
AdminUser property instead. However, this may not be a best practice.

Chesong Lee

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Carlisle
Sent: Thursday, September 14, 2006 10:50 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Elevation Pre-condition not working

Hi,

I'm building an installer to run on Vista using Wix. I've set the 
InstallPrivileges property of the package to elevated, and the 
InstallerVersion to 400. Testing on Vista RC1.

I also have a pre-condition as follows:

<Condition Message="Elevated permissions are 
required.">Privileged</Condition>

This property appears to always read 1 which doesn't seem to correctly 
reflect the elevation level. My install fails when run this normally, but 
succeeds when I explicity run with elevation using an elevated cmd prompt. 
Either way I never get the condition message.

What condition do I need to stop the installer being run without elevated 
permissions?


Thanks,

Mike



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to