Re: [WiX-users] Problem with SQL custom actions.

2007-05-25 Thread Rob Mensching
This should be fixed in the build released today.

From: Mike Dimmick [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 22, 2007 4:14 PM
To: 'Mike Dimmick'; Rob Mensching; 'Aaron Shurts'; 'Bob Arnson'
Cc: wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Problem with SQL custom actions.

Actually, it looks like you changed the name of the entry point to 
InstallSqlData and added an UninstallSqlData, but did not change 
src\ext\SqlExtension\wixlib\SqlExtension.wxs. You did change 
src\ca\serverca\scawixlib\sca.wxs, but I don't think that file is used any more 
in WiX v3.

Sorry, guys, looks like WiX 3.0.2921.0 isn't going to work for anyone who needs 
the SQL features, unless you modify SqlExtension.wxs and build WiX yourself.

--
Mike Dimmick


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Dimmick
Sent: 23 May 2007 00:06
To: 'Rob Mensching'; 'Aaron Shurts'; 'Bob Arnson'
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Problem with SQL custom actions.

Something got broken in the build process: ConfigureSql is not exported from 
the CA DLL contained in WixSqlExtension.dll.

--
Mike Dimmick


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching
Sent: 22 May 2007 18:48
To: Aaron Shurts; Bob Arnson
Cc: Mike Dimmick; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Problem with SQL custom actions.

That was a huge integration last week.  It is possible that you've found a bug 
in the integration (or even scarier a bug that wasn't fixed in WiX v2 either).  
Is it possible to share the .wxs and SQL script?  The last bugs we've fixed 
have all been edge cases where the SQL Script had to be set just so.  Difficult 
to review.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Shurts
Sent: Tuesday, May 22, 2007 9:55 AM
To: Bob Arnson
Cc: Mike Dimmick; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Problem with SQL custom actions.

Maybe I am grasping at straws trying to get this v3 to work, but the latest 
weekly release (3.0.2921.0) doesn't even get in to the custom action DLL.  Now 
I am getting this:
MSI (s) (FC:3C) [09:35:15:234]: Doing action: ConfigureSql
Action 9:35:15: ConfigureSql. Configuring SQL Server
Action start 9:35:15: ConfigureSql.
MSI (s) (FC:E4) [09:35:15:250]: Invoking remote custom action. DLL: 
C:\WINDOWS\Installer\MSI10D.tmp, Entrypoint: ConfigureSql
MSI (s) (FC:3C) [09:35:15:312]: Note: 1: 1723 2: ConfigureSql 3: ConfigureSql 
4: C:\WINDOWS\Installer\MSI10D.tmp
Error 1723.There is a problem with this Windows Installer package. A DLL 
required for this install to complete could not be run. Contact your support 
personnel or package vendor.  Action ConfigureSql, entry: ConfigureSql, 
library: C:\WINDOWS\Installer\MSI10D.tmp
MSI (s) (FC:3C) [09:35:16:531]: Product: Enterprise Reporting Server -- Error 
1723.There is a problem with this Windows Installer package. A DLL required for 
this install to complete could not be run. Contact your support personnel or 
package vendor.  Action ConfigureSql, entry: ConfigureSql, library: 
C:\WINDOWS\Installer\MSI10D.tmp

Action ended 9:35:16: ConfigureSql. Return value 3.

Any thoughts / suggestions?  The DLL is actually in the binary table, so it's 
not a matter of the DLL missing.
Regards,
//aj
On 5/21/07, Bob Arnson [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] wrote:
Aaron Shurts wrote:
 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.

Check the latest weekly release:

 RobMen: Reverse integrate WiX v2 CustomAction fixes.

--
sig://boB
http://joyofsetup.com/

-
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


Re: [WiX-users] Problem with SQL custom actions.

2007-05-23 Thread Neil Sleightholm
The solution file that ships with v3 is no good - I think it is just a
copy of the v2 one. You can either build your own (although I found it
tedious to add all the projects - that is probably why it was never
updated) or build it from the command line using NAnt.

 

Neil

 

Neil Sleightholm
X2 Systems Limited
[EMAIL PROTECTED]

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aaron
Shurts
Sent: 23 May 2007 00:52
To: Mike Dimmick
Cc: Bob Arnson; Rob Mensching; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Problem with SQL custom actions.

 

This is actually good news.  I thought I was doing something crazy
wrong.  :-)  

On a side note, if I want to build this myself, every time I try to open
the solution, I get all kinds of errors that the project files are not
valid project files.  Is there something I am missing? 

Regards,
//aj

-
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


Re: [WiX-users] Problem with SQL custom actions.

2007-05-23 Thread Mike Dimmick
Read the WiX documentation topic Building WiX (it's in the Index) for
information on how to build your own copy of WiX.

 

You will also need to modify the source for WixSqlExtension.dll so that it
references the new custom action entry points: in
src\ext\SqlExtension\wixext\SqlCompiler.cs, line 663 and 842, change

 

this.Core.CreateWixSimpleReferenceRow(sourceLineNumbers,
CustomAction, ConfigureSql);

 

to

 

this.Core.CreateWixSimpleReferenceRow(sourceLineNumbers,
CustomAction, InstallSqlData);

this.Core.CreateWixSimpleReferenceRow(sourceLineNumbers,
CustomAction, UninstallSqlData);

 

The relevant change in src\ext\SqlExtension\wixlib\SqlExtension.wxs is

 

CustomAction Id=ConfigureSql BinaryKey=ScaSchedule2
DllEntry=ConfigureSql Execute=immediate Return=check
SuppressModularization=yes /

 

to

 

CustomAction Id=InstallSqlData BinaryKey=ScaSchedule2
DllEntry=InstallSqlData Execute=immediate Return=check
SuppressModularization=yes /

CustomAction Id=InstallSqlData BinaryKey=ScaSchedule2
DllEntry=InstallSqlData Execute=immediate Return=check
SuppressModularization=yes /

 

At least, that's what I believe it should be - I haven't validated it.

 

-- 

Mike Dimmick

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aaron Shurts
Sent: 23 May 2007 00:52
To: Mike Dimmick
Cc: Bob Arnson; Rob Mensching; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Problem with SQL custom actions.

 

This is actually good news.  I thought I was doing something crazy wrong.
:-)  

On a side note, if I want to build this myself, every time I try to open the
solution, I get all kinds of errors that the project files are not valid
project files.  Is there something I am missing? 

Regards,
//aj

-
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


Re: [WiX-users] Problem with SQL custom actions.

2007-05-23 Thread Rob Mensching
The solution files never worked.  We use Nant to build the WiX toolset.  There 
is a topic in the Wix.chm that explains how to build.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neil Sleightholm
Sent: Wednesday, May 23, 2007 10:33 AM
To: Aaron Shurts; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Problem with SQL custom actions.

The solution file that ships with v3 is no good - I think it is just a copy of 
the v2 one. You can either build your own (although I found it tedious to add 
all the projects - that is probably why it was never updated) or build it from 
the command line using NAnt.

Neil

Neil Sleightholm
X2 Systems Limited
[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Shurts
Sent: 23 May 2007 00:52
To: Mike Dimmick
Cc: Bob Arnson; Rob Mensching; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Problem with SQL custom actions.

This is actually good news.  I thought I was doing something crazy wrong.  :-)

On a side note, if I want to build this myself, every time I try to open the 
solution, I get all kinds of errors that the project files are not valid 
project files.  Is there something I am missing?

Regards,
//aj
-
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


Re: [WiX-users] Problem with SQL custom actions.

2007-05-23 Thread Rob Mensching
Indeed.  The integration was big and it looks like I missed this in my spot 
testing.  Can someone open a bug on this and make sure it is assigned to me.  
I'll fix it tomorrow night for Friday's release.

From: Mike Dimmick [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 22, 2007 4:14 PM
To: 'Mike Dimmick'; Rob Mensching; 'Aaron Shurts'; 'Bob Arnson'
Cc: wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Problem with SQL custom actions.

Actually, it looks like you changed the name of the entry point to 
InstallSqlData and added an UninstallSqlData, but did not change 
src\ext\SqlExtension\wixlib\SqlExtension.wxs. You did change 
src\ca\serverca\scawixlib\sca.wxs, but I don't think that file is used any more 
in WiX v3.

Sorry, guys, looks like WiX 3.0.2921.0 isn't going to work for anyone who needs 
the SQL features, unless you modify SqlExtension.wxs and build WiX yourself.

--
Mike Dimmick


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Dimmick
Sent: 23 May 2007 00:06
To: 'Rob Mensching'; 'Aaron Shurts'; 'Bob Arnson'
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Problem with SQL custom actions.

Something got broken in the build process: ConfigureSql is not exported from 
the CA DLL contained in WixSqlExtension.dll.

--
Mike Dimmick


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching
Sent: 22 May 2007 18:48
To: Aaron Shurts; Bob Arnson
Cc: Mike Dimmick; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Problem with SQL custom actions.

That was a huge integration last week.  It is possible that you've found a bug 
in the integration (or even scarier a bug that wasn't fixed in WiX v2 either).  
Is it possible to share the .wxs and SQL script?  The last bugs we've fixed 
have all been edge cases where the SQL Script had to be set just so.  Difficult 
to review.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Shurts
Sent: Tuesday, May 22, 2007 9:55 AM
To: Bob Arnson
Cc: Mike Dimmick; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Problem with SQL custom actions.

Maybe I am grasping at straws trying to get this v3 to work, but the latest 
weekly release (3.0.2921.0) doesn't even get in to the custom action DLL.  Now 
I am getting this:
MSI (s) (FC:3C) [09:35:15:234]: Doing action: ConfigureSql
Action 9:35:15: ConfigureSql. Configuring SQL Server
Action start 9:35:15: ConfigureSql.
MSI (s) (FC:E4) [09:35:15:250]: Invoking remote custom action. DLL: 
C:\WINDOWS\Installer\MSI10D.tmp, Entrypoint: ConfigureSql
MSI (s) (FC:3C) [09:35:15:312]: Note: 1: 1723 2: ConfigureSql 3: ConfigureSql 
4: C:\WINDOWS\Installer\MSI10D.tmp
Error 1723.There is a problem with this Windows Installer package. A DLL 
required for this install to complete could not be run. Contact your support 
personnel or package vendor.  Action ConfigureSql, entry: ConfigureSql, 
library: C:\WINDOWS\Installer\MSI10D.tmp
MSI (s) (FC:3C) [09:35:16:531]: Product: Enterprise Reporting Server -- Error 
1723.There is a problem with this Windows Installer package. A DLL required for 
this install to complete could not be run. Contact your support personnel or 
package vendor.  Action ConfigureSql, entry: ConfigureSql, library: 
C:\WINDOWS\Installer\MSI10D.tmp

Action ended 9:35:16: ConfigureSql. Return value 3.

Any thoughts / suggestions?  The DLL is actually in the binary table, so it's 
not a matter of the DLL missing.
Regards,
//aj
On 5/21/07, Bob Arnson [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] wrote:
Aaron Shurts wrote:
 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.

Check the latest weekly release:

 RobMen: Reverse integrate WiX v2 CustomAction fixes.

--
sig://boB
http://joyofsetup.com/

-
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


Re: [WiX-users] Problem with SQL custom actions.

2007-05-23 Thread Aaron Shurts

Rob,
I opened the bug and assigned to you:
[ 1724535 ] SQL Custom actions are referencing a deprecated entry point

//aj

On 5/23/07, Rob Mensching [EMAIL PROTECTED] wrote:


 Indeed.  The integration was big and it looks like I missed this in my
spot testing.  Can someone open a bug on this and make sure it is assigned
to me.  I'll fix it tomorrow night for Friday's release.



*From:* Mike Dimmick [mailto:[EMAIL PROTECTED]
*Sent:* Tuesday, May 22, 2007 4:14 PM
*To:* 'Mike Dimmick'; Rob Mensching; 'Aaron Shurts'; 'Bob Arnson'
*Cc:* wix-users@lists.sourceforge.net
*Subject:* RE: [WiX-users] Problem with SQL custom actions.



Actually, it looks like you changed the name of the entry point to
InstallSqlData and added an UninstallSqlData, but did not change
src\ext\SqlExtension\wixlib\SqlExtension.wxs. You did change
src\ca\serverca\scawixlib\sca.wxs, but I don't think that file is used any
more in WiX v3.



Sorry, guys, looks like WiX 3.0.2921.0 isn't going to work for anyone who
needs the SQL features, unless you modify SqlExtension.wxs and build WiX
yourself.



--

Mike Dimmick


 --

*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Mike Dimmick
*Sent:* 23 May 2007 00:06
*To:* 'Rob Mensching'; 'Aaron Shurts'; 'Bob Arnson'
*Cc:* wix-users@lists.sourceforge.net
*Subject:* Re: [WiX-users] Problem with SQL custom actions.



Something got broken in the build process: ConfigureSql is not exported
from the CA DLL contained in WixSqlExtension.dll.



--

Mike Dimmick


 --

*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Rob Mensching
*Sent:* 22 May 2007 18:48
*To:* Aaron Shurts; Bob Arnson
*Cc:* Mike Dimmick; wix-users@lists.sourceforge.net
*Subject:* Re: [WiX-users] Problem with SQL custom actions.



That was a huge integration last week.  It is possible that you've found a
bug in the integration (or even scarier a bug that wasn't fixed in WiX v2
either).  Is it possible to share the .wxs and SQL script?  The last bugs
we've fixed have all been edge cases where the SQL Script had to be set just
so.  Difficult to review.



*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Aaron Shurts
*Sent:* Tuesday, May 22, 2007 9:55 AM
*To:* Bob Arnson
*Cc:* Mike Dimmick; wix-users@lists.sourceforge.net
*Subject:* Re: [WiX-users] Problem with SQL custom actions.



Maybe I am grasping at straws trying to get this v3 to work, but the
latest weekly release (3.0.2921.0) doesn't even get in to the custom
action DLL.  Now I am getting this:
MSI (s) (FC:3C) [09:35:15:234]: Doing action: ConfigureSql
Action 9:35:15: ConfigureSql. Configuring SQL Server
Action start 9:35:15: ConfigureSql.
MSI (s) (FC:E4) [09:35:15:250]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI10D.tmp, Entrypoint: ConfigureSql
MSI (s) (FC:3C) [09:35:15:312]: Note: 1: 1723 2: ConfigureSql 3:
ConfigureSql 4: C:\WINDOWS\Installer\MSI10D.tmp
Error 1723.There is a problem with this Windows Installer package. A DLL
required for this install to complete could not be run. Contact your support
personnel or package vendor.  Action ConfigureSql, entry: ConfigureSql,
library: C:\WINDOWS\Installer\MSI10D.tmp
MSI (s) (FC:3C) [09:35:16:531]: Product: Enterprise Reporting Server --
Error 1723.There is a problem with this Windows Installer package. A DLL
required for this install to complete could not be run. Contact your support
personnel or package vendor.  Action ConfigureSql, entry: ConfigureSql,
library: C:\WINDOWS\Installer\MSI10D.tmp

Action ended 9:35:16: ConfigureSql. Return value 3.

Any thoughts / suggestions?  The DLL is actually in the binary table, so
it's not a matter of the DLL missing.
Regards,
//aj

On 5/21/07, *Bob Arnson* [EMAIL PROTECTED] wrote:

Aaron Shurts wrote:
 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.

Check the latest weekly release:

 RobMen: Reverse integrate WiX v2 CustomAction fixes.

--
sig://boB
http://joyofsetup.com/



-
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


Re: [WiX-users] Problem with SQL custom actions.

2007-05-22 Thread Aaron Shurts

Maybe I am grasping at straws trying to get this v3 to work, but the latest
weekly release (3.0.2921.0) doesn't even get in to the custom action DLL.
Now I am getting this:
MSI (s) (FC:3C) [09:35:15:234]: Doing action: ConfigureSql
Action 9:35:15: ConfigureSql. Configuring SQL Server
Action start 9:35:15: ConfigureSql.
MSI (s) (FC:E4) [09:35:15:250]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI10D.tmp, Entrypoint: ConfigureSql
MSI (s) (FC:3C) [09:35:15:312]: Note: 1: 1723 2: ConfigureSql 3:
ConfigureSql 4: C:\WINDOWS\Installer\MSI10D.tmp
Error 1723.There is a problem with this Windows Installer package. A DLL
required for this install to complete could not be run. Contact your support
personnel or package vendor.  Action ConfigureSql, entry: ConfigureSql,
library: C:\WINDOWS\Installer\MSI10D.tmp
MSI (s) (FC:3C) [09:35:16:531]: Product: Enterprise Reporting Server --
Error 1723.There is a problem with this Windows Installer package. A DLL
required for this install to complete could not be run. Contact your support
personnel or package vendor.  Action ConfigureSql, entry: ConfigureSql,
library: C:\WINDOWS\Installer\MSI10D.tmp

Action ended 9:35:16: ConfigureSql. Return value 3.

Any thoughts / suggestions?  The DLL is actually in the binary table, so
it's not a matter of the DLL missing.
Regards,
//aj

On 5/21/07, Bob Arnson [EMAIL PROTECTED] wrote:


Aaron Shurts wrote:
 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.

Check the latest weekly release:

 RobMen: Reverse integrate WiX v2 CustomAction fixes.

--
sig://boB
http://joyofsetup.com/



-
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


Re: [WiX-users] Problem with SQL custom actions.

2007-05-22 Thread Rob Mensching
That was a huge integration last week.  It is possible that you've found a bug 
in the integration (or even scarier a bug that wasn't fixed in WiX v2 either).  
Is it possible to share the .wxs and SQL script?  The last bugs we've fixed 
have all been edge cases where the SQL Script had to be set just so.  Difficult 
to review.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Shurts
Sent: Tuesday, May 22, 2007 9:55 AM
To: Bob Arnson
Cc: Mike Dimmick; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Problem with SQL custom actions.

Maybe I am grasping at straws trying to get this v3 to work, but the latest 
weekly release (3.0.2921.0) doesn't even get in to the custom action DLL.  Now 
I am getting this:
MSI (s) (FC:3C) [09:35:15:234]: Doing action: ConfigureSql
Action 9:35:15: ConfigureSql. Configuring SQL Server
Action start 9:35:15: ConfigureSql.
MSI (s) (FC:E4) [09:35:15:250]: Invoking remote custom action. DLL: 
C:\WINDOWS\Installer\MSI10D.tmp, Entrypoint: ConfigureSql
MSI (s) (FC:3C) [09:35:15:312]: Note: 1: 1723 2: ConfigureSql 3: ConfigureSql 
4: C:\WINDOWS\Installer\MSI10D.tmp
Error 1723.There is a problem with this Windows Installer package. A DLL 
required for this install to complete could not be run. Contact your support 
personnel or package vendor.  Action ConfigureSql, entry: ConfigureSql, 
library: C:\WINDOWS\Installer\MSI10D.tmp
MSI (s) (FC:3C) [09:35:16:531]: Product: Enterprise Reporting Server -- Error 
1723.There is a problem with this Windows Installer package. A DLL required for 
this install to complete could not be run. Contact your support personnel or 
package vendor.  Action ConfigureSql, entry: ConfigureSql, library: 
C:\WINDOWS\Installer\MSI10D.tmp

Action ended 9:35:16: ConfigureSql. Return value 3.

Any thoughts / suggestions?  The DLL is actually in the binary table, so it's 
not a matter of the DLL missing.
Regards,
//aj
On 5/21/07, Bob Arnson [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] wrote:
Aaron Shurts wrote:
 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.

Check the latest weekly release:

 RobMen: Reverse integrate WiX v2 CustomAction fixes.

--
sig://boB
http://joyofsetup.com/


-
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


Re: [WiX-users] Problem with SQL custom actions.

2007-05-22 Thread Aaron Shurts

This is a snippet of the include script that is called from the main product
file:
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=yes
 sql:SqlScript Id=InstallBaseScript
   SqlDb=LocalDbServer
   BinaryKey=Sql_ServerInstall
   ContinueOnError=no
   ExecuteOnInstall=yes
   Sequence=1 /
 Condition![CDATA[NOT ERS_VERSION AND NOT
PLUS_VERSION]]/Condition
   /Component
 /DirectoryRef

The attached SQL script is an obfuscated snippet of the SQL script we call
which is a functioning script and I still get the failure described.  If I
can provide any other information let me know, but due to the nature of the
product, I can't send you the full on scripts and files without an NDA.

Regards,
//aj

On 5/22/07, Rob Mensching [EMAIL PROTECTED] wrote:


 That was a huge integration last week.  It is possible that you've found
a bug in the integration (or even scarier a bug that wasn't fixed in WiX v2
either).  Is it possible to share the .wxs and SQL script?  The last bugs
we've fixed have all been edge cases where the SQL Script had to be set just
so.  Difficult to review.



*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Aaron Shurts
*Sent:* Tuesday, May 22, 2007 9:55 AM
*To:* Bob Arnson
*Cc:* Mike Dimmick; wix-users@lists.sourceforge.net
*Subject:* Re: [WiX-users] Problem with SQL custom actions.



Maybe I am grasping at straws trying to get this v3 to work, but the
latest weekly release (3.0.2921.0) doesn't even get in to the custom
action DLL.  Now I am getting this:
MSI (s) (FC:3C) [09:35:15:234]: Doing action: ConfigureSql
Action 9:35:15: ConfigureSql. Configuring SQL Server
Action start 9:35:15: ConfigureSql.
MSI (s) (FC:E4) [09:35:15:250]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI10D.tmp, Entrypoint: ConfigureSql
MSI (s) (FC:3C) [09:35:15:312]: Note: 1: 1723 2: ConfigureSql 3:
ConfigureSql 4: C:\WINDOWS\Installer\MSI10D.tmp
Error 1723.There is a problem with this Windows Installer package. A DLL
required for this install to complete could not be run. Contact your support
personnel or package vendor.  Action ConfigureSql, entry: ConfigureSql,
library: C:\WINDOWS\Installer\MSI10D.tmp
MSI (s) (FC:3C) [09:35:16:531]: Product: Enterprise Reporting Server --
Error 1723.There is a problem with this Windows Installer package. A DLL
required for this install to complete could not be run. Contact your support
personnel or package vendor.  Action ConfigureSql, entry: ConfigureSql,
library: C:\WINDOWS\Installer\MSI10D.tmp

Action ended 9:35:16: ConfigureSql. Return value 3.

Any thoughts / suggestions?  The DLL is actually in the binary table, so
it's not a matter of the DLL missing.
Regards,
//aj

On 5/21/07, *Bob Arnson* [EMAIL PROTECTED] wrote:

Aaron Shurts wrote:
 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.

Check the latest weekly release:

 RobMen: Reverse integrate WiX v2 CustomAction fixes.

--
sig://boB
http://joyofsetup.com/





ERSServer.sql
Description: Binary data
-
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


Re: [WiX-users] Problem with SQL custom actions.

2007-05-22 Thread Mike Dimmick
Something got broken in the build process: ConfigureSql is not exported from
the CA DLL contained in WixSqlExtension.dll.

 

-- 

Mike Dimmick

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching
Sent: 22 May 2007 18:48
To: Aaron Shurts; Bob Arnson
Cc: Mike Dimmick; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Problem with SQL custom actions.

 

That was a huge integration last week.  It is possible that you've found a
bug in the integration (or even scarier a bug that wasn't fixed in WiX v2
either).  Is it possible to share the .wxs and SQL script?  The last bugs
we've fixed have all been edge cases where the SQL Script had to be set just
so.  Difficult to review.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aaron Shurts
Sent: Tuesday, May 22, 2007 9:55 AM
To: Bob Arnson
Cc: Mike Dimmick; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Problem with SQL custom actions.

 

Maybe I am grasping at straws trying to get this v3 to work, but the latest
weekly release (3.0.2921.0) doesn't even get in to the custom action DLL.
Now I am getting this:
MSI (s) (FC:3C) [09:35:15:234]: Doing action: ConfigureSql 
Action 9:35:15: ConfigureSql. Configuring SQL Server
Action start 9:35:15: ConfigureSql.
MSI (s) (FC:E4) [09:35:15:250]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI10D.tmp, Entrypoint: ConfigureSql 
MSI (s) (FC:3C) [09:35:15:312]: Note: 1: 1723 2: ConfigureSql 3:
ConfigureSql 4: C:\WINDOWS\Installer\MSI10D.tmp 
Error 1723.There is a problem with this Windows Installer package. A DLL
required for this install to complete could not be run. Contact your support
personnel or package vendor.  Action ConfigureSql, entry: ConfigureSql,
library: C:\WINDOWS\Installer\MSI10D.tmp 
MSI (s) (FC:3C) [09:35:16:531]: Product: Enterprise Reporting Server --
Error 1723.There is a problem with this Windows Installer package. A DLL
required for this install to complete could not be run. Contact your support
personnel or package vendor.  Action ConfigureSql, entry: ConfigureSql,
library: C:\WINDOWS\Installer\MSI10D.tmp 

Action ended 9:35:16: ConfigureSql. Return value 3.

Any thoughts / suggestions?  The DLL is actually in the binary table, so
it's not a matter of the DLL missing.
Regards,
//aj

On 5/21/07, Bob Arnson [EMAIL PROTECTED] wrote:

Aaron Shurts wrote:
 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.

Check the latest weekly release:

 RobMen: Reverse integrate WiX v2 CustomAction fixes.

--
sig://boB
http://joyofsetup.com/  http://joyofsetup.com/ 

 

-
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


Re: [WiX-users] Problem with SQL custom actions.

2007-05-22 Thread Mike Dimmick
Actually, it looks like you changed the name of the entry point to
InstallSqlData and added an UninstallSqlData, but did not change
src\ext\SqlExtension\wixlib\SqlExtension.wxs. You did change
src\ca\serverca\scawixlib\sca.wxs, but I don't think that file is used any
more in WiX v3.

 

Sorry, guys, looks like WiX 3.0.2921.0 isn't going to work for anyone who
needs the SQL features, unless you modify SqlExtension.wxs and build WiX
yourself.

 

-- 

Mike Dimmick

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Dimmick
Sent: 23 May 2007 00:06
To: 'Rob Mensching'; 'Aaron Shurts'; 'Bob Arnson'
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Problem with SQL custom actions.

 

Something got broken in the build process: ConfigureSql is not exported from
the CA DLL contained in WixSqlExtension.dll.

 

-- 

Mike Dimmick

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching
Sent: 22 May 2007 18:48
To: Aaron Shurts; Bob Arnson
Cc: Mike Dimmick; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Problem with SQL custom actions.

 

That was a huge integration last week.  It is possible that you've found a
bug in the integration (or even scarier a bug that wasn't fixed in WiX v2
either).  Is it possible to share the .wxs and SQL script?  The last bugs
we've fixed have all been edge cases where the SQL Script had to be set just
so.  Difficult to review.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aaron Shurts
Sent: Tuesday, May 22, 2007 9:55 AM
To: Bob Arnson
Cc: Mike Dimmick; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Problem with SQL custom actions.

 

Maybe I am grasping at straws trying to get this v3 to work, but the latest
weekly release (3.0.2921.0) doesn't even get in to the custom action DLL.
Now I am getting this:
MSI (s) (FC:3C) [09:35:15:234]: Doing action: ConfigureSql 
Action 9:35:15: ConfigureSql. Configuring SQL Server
Action start 9:35:15: ConfigureSql.
MSI (s) (FC:E4) [09:35:15:250]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI10D.tmp, Entrypoint: ConfigureSql 
MSI (s) (FC:3C) [09:35:15:312]: Note: 1: 1723 2: ConfigureSql 3:
ConfigureSql 4: C:\WINDOWS\Installer\MSI10D.tmp 
Error 1723.There is a problem with this Windows Installer package. A DLL
required for this install to complete could not be run. Contact your support
personnel or package vendor.  Action ConfigureSql, entry: ConfigureSql,
library: C:\WINDOWS\Installer\MSI10D.tmp 
MSI (s) (FC:3C) [09:35:16:531]: Product: Enterprise Reporting Server --
Error 1723.There is a problem with this Windows Installer package. A DLL
required for this install to complete could not be run. Contact your support
personnel or package vendor.  Action ConfigureSql, entry: ConfigureSql,
library: C:\WINDOWS\Installer\MSI10D.tmp 

Action ended 9:35:16: ConfigureSql. Return value 3.

Any thoughts / suggestions?  The DLL is actually in the binary table, so
it's not a matter of the DLL missing.
Regards,
//aj

On 5/21/07, Bob Arnson [EMAIL PROTECTED] wrote:

Aaron Shurts wrote:
 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.

Check the latest weekly release:

 RobMen: Reverse integrate WiX v2 CustomAction fixes.

--
sig://boB
http://joyofsetup.com/  http://joyofsetup.com/ 

 

-
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


Re: [WiX-users] Problem with SQL custom actions.

2007-05-22 Thread Aaron Shurts

This is actually good news.  I thought I was doing something crazy wrong.
:-)

On a side note, if I want to build this myself, every time I try to open the
solution, I get all kinds of errors that the project files are not valid
project files.  Is there something I am missing?

Regards,
//aj

On 5/22/07, Mike Dimmick [EMAIL PROTECTED] wrote:


 Actually, it looks like you changed the name of the entry point to
InstallSqlData and added an UninstallSqlData, but did not change
src\ext\SqlExtension\wixlib\SqlExtension.wxs. You did change
src\ca\serverca\scawixlib\sca.wxs, but I don't think that file is used any
more in WiX v3.



Sorry, guys, looks like WiX 3.0.2921.0 isn't going to work for anyone who
needs the SQL features, unless you modify SqlExtension.wxs and build WiX
yourself.



--

Mike Dimmick


 --

*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Mike Dimmick
*Sent:* 23 May 2007 00:06
*To:* 'Rob Mensching'; 'Aaron Shurts'; 'Bob Arnson'
*Cc:* wix-users@lists.sourceforge.net
*Subject:* Re: [WiX-users] Problem with SQL custom actions.



Something got broken in the build process: ConfigureSql is not exported
from the CA DLL contained in WixSqlExtension.dll.



--

Mike Dimmick


 --

*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Rob Mensching
*Sent:* 22 May 2007 18:48
*To:* Aaron Shurts; Bob Arnson
*Cc:* Mike Dimmick; wix-users@lists.sourceforge.net
*Subject:* Re: [WiX-users] Problem with SQL custom actions.



That was a huge integration last week.  It is possible that you've found a
bug in the integration (or even scarier a bug that wasn't fixed in WiX v2
either).  Is it possible to share the .wxs and SQL script?  The last bugs
we've fixed have all been edge cases where the SQL Script had to be set just
so.  Difficult to review.



*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Aaron Shurts
*Sent:* Tuesday, May 22, 2007 9:55 AM
*To:* Bob Arnson
*Cc:* Mike Dimmick; wix-users@lists.sourceforge.net
*Subject:* Re: [WiX-users] Problem with SQL custom actions.



Maybe I am grasping at straws trying to get this v3 to work, but the
latest weekly release (3.0.2921.0) doesn't even get in to the custom
action DLL.  Now I am getting this:
MSI (s) (FC:3C) [09:35:15:234]: Doing action: ConfigureSql
Action 9:35:15: ConfigureSql. Configuring SQL Server
Action start 9:35:15: ConfigureSql.
MSI (s) (FC:E4) [09:35:15:250]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI10D.tmp, Entrypoint: ConfigureSql
MSI (s) (FC:3C) [09:35:15:312]: Note: 1: 1723 2: ConfigureSql 3:
ConfigureSql 4: C:\WINDOWS\Installer\MSI10D.tmp
Error 1723.There is a problem with this Windows Installer package. A DLL
required for this install to complete could not be run. Contact your support
personnel or package vendor.  Action ConfigureSql, entry: ConfigureSql,
library: C:\WINDOWS\Installer\MSI10D.tmp
MSI (s) (FC:3C) [09:35:16:531]: Product: Enterprise Reporting Server --
Error 1723.There is a problem with this Windows Installer package. A DLL
required for this install to complete could not be run. Contact your support
personnel or package vendor.  Action ConfigureSql, entry: ConfigureSql,
library: C:\WINDOWS\Installer\MSI10D.tmp

Action ended 9:35:16: ConfigureSql. Return value 3.

Any thoughts / suggestions?  The DLL is actually in the binary table, so
it's not a matter of the DLL missing.
Regards,
//aj

On 5/21/07, *Bob Arnson* [EMAIL PROTECTED] wrote:

Aaron Shurts wrote:
 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.

Check the latest weekly release:

 RobMen: Reverse integrate WiX v2 CustomAction fixes.

--
sig://boB
http://joyofsetup.com/



-
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


[WiX-users] Problem with SQL custom actions.

2007-05-21 Thread Aaron Shurts

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


Re: [WiX-users] Problem with SQL custom actions.

2007-05-21 Thread Mike Dimmick
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
http://schemas.microsoft.com/wix/2006/wi; 
 xmlns:sql=http://schemas.microsoft.com/wix/SqlExtension;
 xmlns:iis= http://schemas.microsoft.com/wix/IIsExtension
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


Re: [WiX-users] Problem with SQL custom actions.

2007-05-21 Thread Aaron Shurts

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=detailaid=1653864group_id=105970atid=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


Re: [WiX-users] Problem with SQL custom actions.

2007-05-21 Thread Bob Arnson
Aaron Shurts wrote:
 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.

Check the latest weekly release:

  RobMen: Reverse integrate WiX v2 CustomAction fixes.

-- 
sig://boB
http://joyofsetup.com/



-
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