Albert van Peppen wrote:
Checking with orca i found that SchedXmlFile is still scheduled and that the entire CA for XML handling was linked into my MSI, although it was not used.The XmlTable doesn't exist, this might eventualy be the problem ?
Yes, the SchedXmlFile CA throws an error if it can't open the XmlFile table. By scheduling another CA relative to it, you're causing it to get linked in which normally wouldn't happen without XmlFile elements that end up in the XmlFile table. If your CA relies on the XML modifications to have been made, it should be a deferred CA and scheduled relative to the ExecXmlFile action instead. However, that will cause the same issue if you comment out all your XmlFile elements.
WiX v3 lets you change the scheduling of a CA in a .wixlib so you could schedule SchedXmlFile before your CA. In WiX v2, the cleanest solution is probably to schedule your CA relative to another standard action after InstallFiles.
-- 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