Chad Petersen wrote:
We were using Wix 2.0.3309.0 until recently
Much changes in a year and a half.<g>
and the SQLScript element was working great. About a week ago we
updated to WiX 2.0.5325.0 and the SQLScript element is no longer
running our SQL scripts. I started looking at the older MSI packages
that do work and the newer ones that are failing. Using Orca I can see
the older packages had a non-zero value in the Attributes column of
the SQLScript table (4 or 5), while the newer MSI has a value of zero
in the Attributes column. What controls the value in this column?
The ExecuteOn* and RollbackOn* attributes get OR'd together to form the
attributes integer. The default is that none of them are turned on, so
not much happens; you have to explicitly declare via those attributes
which actions should occur. It looks like that change was made in late
2005 to bring some WiX v3 features back to v2.
--
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