Thanks for the reply Mike. I am using version 3.0.2911.0. A colleague of
mine pointed out what the problem might be on the bug tracker, but
apparently the fix hasn't been pushed up to v3 yet.
http://sourceforge.net/tracker/index.php?func=detail&aid=1653864&group_id=105970&atid=642714
I decided to go with v3 because I didn't feel like re-writing all the
deprecated tags when v3 is released. I think we have a fix for it in the
meantime, but it sure would be nice if the fixes were propagated in to the
v3 code branch.
btw...that is an l*v log, not much happening there. :-)
//aj
On 5/21/07, Mike Dimmick <[EMAIL PROTECTED]> wrote:
What exact version of the WiX toolset are you using? E.g. what does the
light.exe banner say?
Is your script in ANSI or Unicode text?
640KB is a fairly large script, but there should be plenty of virtual
address space in the custom action worker process to allocate that much
memory, unless there's a phenomenally small amount of space left in the page
file. Error code 0x80070057 maps to ERROR_INVALID_PARAMETER, "The parameter
is incorrect", which isn't a normal error code for a memory allocation
failure.
You may get more data that's useful for debugging by turning on verbose
logging (msiexec /l*v).
--
Mike Dimmick
------------------------------
*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Aaron Shurts
*Sent:* 21 May 2007 19:43
*To:* wix-users@lists.sourceforge.net
*Subject:* [WiX-users] Problem with SQL custom actions.
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