Hello Kevin,

As far as I know you can add a backslash to the bracket (-> \[xxx\] )  
to avoid the handling as properties. It may also be required to  
enclose the sql command into a CDATA block.

Best regards,
Sebastian Brand

Instyler Software - http://www.instyler.com


On May 6, 2007, at 2:11 AM, Kevin Burton wrote:

> 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


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