Hi, I have following User and SqlDatabase defined in WIX 3.0:
 
<Product Id="test" ...>
    <util:User Id="SQLUser" Domain="[SQLDOMAIN]" Name="[SQLUSER]" 
Password="[SQLPASSWORD]" />
 
...
 
<Component ... >
    <CreateFolder />
    <sql:SqlDatabase Id="SQLDB" Server="[SQLSERVER]" Database="[SQLDATABASE]" 
CreateOnInstall="yes" 
                            ConfirmOverwrite="yes"     DropOnUninstall="no" 
User="SQLUser">
    </sql:SqlDatabase>
</Component>
 
...
 
-----------------------------------------------------------------------------------
 
When I run the install it fails with the following logged ERROR message:
 
MSI (s) (40:08) [18:13:55:027]: Invoking remote custom action. DLL: 
C:\WINDOWS\Installer\MSIFF.tmp, Entrypoint: CreateDatabaseCreateDatabase:  
Error 0x80004005: failed to check if database exists: 'TestDatabase', error: 
unknown errorMSI (c) (48:68) [18:13:55:566]: Font created.  Charset: Req=0, 
Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg
Error 26201. Error -2147467259: failed to create SQL database: TestDatabase, 
error detail: unknown error.
-----------------------------------------------------------------------------------
 
 
 
 
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to