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

Reply via email to