Hey all,
I am having a problem with SQL custom actions. This is what I am getting in
the log:
MSI (s) (9C:C0) [10:10:21:781]: Doing action: ConfigureSql
Action 10:10:21: ConfigureSql. Configuring SQL Server
Action start 10:10:21: ConfigureSql.
MSI (s) (9C:98) [10:10:21:796]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSIF9.tmp, Entrypoint: ConfigureSql
ConfigureSql: Error 0x80070057: Failed to allocate WCHAR string of size
'640923'
ConfigureSql: Error 0x80070057: failed to read SqlScripts table
Action ended 10:10:21: ConfigureSql. Return value 3.
This is a snippet of my project file:
<Include xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:sql="http://schemas.microsoft.com/wix/SqlExtension"
xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension"
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
<Binary Id="Sql_ServerInstall"
SourceFile="Components\Data\ERS\Database\ERSServer.sql" />
<!--Execute SQL Scripts-->
<sql:SqlDatabase Id="LocalDbServer" Server="[SQLSERVER]" Database="master"
/>
<!--Server-->
<DirectoryRef Id="INSTALLDIR">
<Component Id="SqlErsServerInstall"
Guid="da6e0c89-2cfd-4bf4-92ae-40c8568bfd83" KeyPath="no">
<sql:SqlScript Id="InstallBaseScript"
SqlDb="LocalDbServer"
BinaryKey="Sql_ServerInstall"
ContinueOnError="no"
ExecuteOnInstall="yes" />
<Condition><![CDATA[NOT ERS_VERSION]]></Condition>
</Component>
</DirectoryRef>
A search on Google did not bring up any useful information. My target
machine is Server 2003 SP2 Standard and Enterprise with SQL Express /
Enterprise SP2. The result is the same on both machines.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users