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
Server grants the 'sysadmin' server role only to the BUILTIN\Administrators
Windows security group server logon, and to the 'sa' SQL Server logon.

 

I would have thought that any problems in this area would already have been
addressed. Which exact version of WiX are you using?

 

-- 

Mike Dimmick

 

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pankaj Bhatia
Sent: 17 December 2007 18:45
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Elevating msi on vista.

 

Hi,
I want to use UAC for my Wix generated MSI. I know the way for custom
actions. 
But I am looking for a similar solution for SqlDatabase extension.  I can
succefully create the database if I run my MSI through elevated command
prompt but direct installation doesn't work. 

Any help would be appreciated. 
Cheers
Pankaj 

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to