The 128 characters are the "magic character" the CustomAcitons use to marshal 
strings through.  You should see valid data in between the magical characters.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Graham Martin
Sent: Tuesday, January 30, 2007 12:19 PM
To: [EMAIL PROTECTED]
Cc: [email protected]
Subject: Re: [WiX-users] SQL Database problem

Thanks for your suggestion Duan.

I've tried making the changes you suggested but I'm still not having any luck 
creating the database.  The log is showing a bit more and I'm now
getting:

"MSI (s) (88:E0) [19:41:10:218]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI8E.tmp, Entrypoint: CreateDatabase
CreateDatabase:  Error 0x80004005: failed to create to database: 'Foobar',
error: unknown error
MSI (c) (40:44) [19:41:32:997]: 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: Foobar, error
detail: unknown error.
MSI (s) (88!D0) [19:42:45:943]: Product: Foobar 1.0 -- Error 26201. Error
-2147467259: failed to create SQL database: Foobar, error detail: unknown 
error."

The only thing I can see that may be amiss is that there are strange characters 
in the custom action declaration:

"MSI (s) (78:DC) [20:10:40:891]: Executing op:
CustomActionSchedule(Action=CreateDatabase,ActionType=1025,Source=BinaryData,Target=CreateDatabase,CustomActionData=SqlDatabase€local€SQLEXPRESS€Foobar€3€1€€€0€0)"

Can anyone help me?

Thanks,

Graham




>From: "XiaoYuan Duan" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: SQL Database problem
>Date: Tue, 30 Jan 2007 11:19:02 -0000 (GMT)
>
>try the below changes:
>
>Server='(local)\SQLEXPRESS'
>to
>server = 'local' instance = 'SQLEXPRESS'
>
>
>Good luck!
>
>Duan
>
>

_________________________________________________________________
Check out all that glitters with the MSN Entertainment Guide to the Academy
Awards(r)   http://movies.msn.com/movies/oscars2007/?icid=ncoscartagline2



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to