Re: [WiX-users] Elevating msi on vista.

2007-12-18 Thread Chesong Lee
If "No impersonation" is set, it means the custom action function will be called in Local System context, of which token does not have Administrators group SID. I think there should be different elevation scheme with Impersonation bit set to get a token with Administrators group SID. Chesong Lee

Re: [WiX-users] Elevating msi on vista.

2007-12-18 Thread Pankaj Bhatia
Thanks Dimmick for your reply. I am running latest V3 night build. I set NoImpersonate bit in the msi using well known CustomAction_NoImpersonate script.. but things are same.. Here is my Wix code for DB

Re: [WiX-users] Elevating msi on vista.

2007-12-17 Thread Mike Dimmick
This sounds like a database server configuration issue. It sounds like the custom action is running impersonated, which on Windows Vista with UAC enabled, not running from an elevated command prompt, means that the token used doesn't contain the Administrators group. A default installation of SQL S