The SqlScript is sent "as is".  Only SqlStrings are processed for Properties 
and thus must be escaped.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Burton
Sent: Saturday, May 05, 2007 5:12 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] <SqlScript> and escape sequences.

I have a <SqlScript> task in my Wix file (.wxs) and as best as I can tell it 
treats all of the [xxx] as properties so the SQL script does not run. Does 
anyone have a solution on how I can run a valid SQL script with WIX? Ideally I 
would like Wix to send the stream as is to the SQL engine and execute it 
without trying to interpret each line and trying to substitute properties. I 
can see <SqlString> substituting but when it comes to the file I don't see the 
usefulness. Anyway, is there another task that I can use to escape all of the 
required characters in the file before sending it to <SqlScript>?

Kevin

-------------------------------------------------------------------------
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