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

Re: [WiX-users] Create Database does NOT fail even though there is a database with the same name

2009-01-26 Thread Rob Mensching
Akbasli [mailto:erd...@microsoft.com] Sent: Monday, January 26, 2009 09:31 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Create Database does NOT fail even though there is a database with the same name Hi, I have a database element which should install a

[WiX-users] Create Database does NOT fail even though there is a database with the same name

2009-01-26 Thread Erdinch Akbasli
Hi, I have a database element which should install a database and abort if the installation fails. The component is as below. To test, I already have a database with the same name on the server. So I would expe

Re: [WiX-users] Create database by attaching mdf and ldf file

2009-01-21 Thread Yan Sklyarenko
.nabble.com/Attach-a-database-td712370.html#a712373 Hope this helps. -- Yan -Original Message- From: Peter Björkman [mailto:peter.bjork...@aptus.se] Sent: Wednesday, January 21, 2009 5:48 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Create database by

[WiX-users] Create database by attaching mdf and ldf file

2009-01-21 Thread Peter Björkman
Hi everyone I have been trying to create a database by attaching a pair of mdf/ldf files. I can't get it to work properly so I hope someone has an easy solution for this. I have been using a SqlString element with a call to sp_attach_db but I am getting problems. First I used the mdf file

[WiX-users] Create Database Error

2007-08-28 Thread Daniel Wilson
Hello, I'm trying to use wix 3.0 to create a SQLExpress database and run four scripts to populate it. I get a non-specific error saying that the database couldn't be created when I try to install. I'm fairly certain that the error is in the SqlDatabase node, becasue I can comment out the SqlScript

[WiX-users] Create Database

2007-08-17 Thread Abhishek,HiRePro
Hi, I am new to Wix and want to install database with user interface.. With out user interface I am able to create database but I want to create with user interface for that, I am using property and hear is the code