Re: [WiX-users] Create Database failed

2011-08-15 Thread Bob Arnson
On 13-Aug-11 20:49, JesseBearden wrote: > I believe, going forward, I'll just use the command line option for > SQL to add the current user on new installs and try to write a custom > action that will give the current user the necessary rights(Since > Local System is an "Admin") for existing ins

Re: [WiX-users] Create Database failed

2011-08-13 Thread JesseBearden
Bob Arnson-6 wrote: > > That's why the SQL custom actions run as the user, since generally the > server's on another machine and you need a network id to get to the > other machine (and many folks use Windows authentication on their > databases). After your first message I ended up writing a

Re: [WiX-users] Create Database failed

2011-08-13 Thread Bob Arnson
On 11-Aug-11 01:31, JesseBearden wrote: > Well, that makes sense then. I had assumed that, but couldn't figure out why > my uninstall worked and dropped the database, but I believe using the same > username gave me "ownership" of that particular database, allowing me to > drop it. That's why the

Re: [WiX-users] Create Database failed

2011-08-10 Thread JesseBearden
Well, that makes sense then. I had assumed that, but couldn't figure out why my uninstall worked and dropped the database, but I believe using the same username gave me "ownership" of that particular database, allowing me to drop it. I'm not much of a DB expert, I'm just currently investigating

Re: [WiX-users] Create Database failed

2011-08-10 Thread Bob Arnson
On 10-Aug-11 15:46, JesseBearden wrote: > If an installation has InstalledPrivileges="Elevated" then are > deferred/impersonated custom actions run with elevated privileges on a UAC > enabled environment? No; impersonation means "run with the identity and privileges of the user launching the inst

Re: [WiX-users] Create Database failed

2011-08-10 Thread Wilson, Phil
.au] Sent: Wednesday, August 10, 2011 4:27 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Create Database failed Hi Not sure what the UAC behaviour is, but our install creates and upgrades databases on 2008, so in theory it is possible. I am assuming you are

Re: [WiX-users] Create Database failed

2011-08-10 Thread Michael Osmond
@oce.com] Sent: Thursday, 11 August 2011 5:46 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Create Database failed I /believe/ my question is: If an installation has InstalledPrivileges="Elevated" then are deferred/impersonated custom actions run with elevated privileges on

[WiX-users] Create Database failed

2011-08-10 Thread JesseBearden
I /believe/ my question is: If an installation has InstalledPrivileges="Elevated" then are deferred/impersonated custom actions run with elevated privileges on a UAC enabled environment? My issue is: I've written a small msi that creates a database and runs some scripts. This works fine on Wind