You need to modify the sources file for the
ConfigureSql custom action. It’s in sca.wxs – sorry, you’re
modifying sca.wixlib. Derek From: Scott Sam [mailto:[EMAIL PROTECTED] I didn’t see it anywhere in the
wixca.wxs file. What sources files do I need to edit? From: Derek Cicerone [mailto:[EMAIL PROTECTED] That’s way too soon to take a
dependency upon WiX 3.0. You’ll have to manually modify the sources
of wixca.wixlib to move ConfigureSql to a later sequence number so you can fit
your custom action in-between. Derek From: Scott Sam [mailto:[EMAIL PROTECTED] Next early next month. From: Derek Cicerone [mailto:[EMAIL PROTECTED] In 2.0 you’ll need to manually
change the wixlibs to change the sequencing. It’s very inconvenient
and a little risky. This was one of the first issues (if not the first)
tackled when I worked on 3.0. In 3.0 the sequencer is much more
intelligent about squeezing actions between others and you also have the
ability to override the sequencing of actions marked with
Overrridable=”yes” (all the wix-supplied CAs should be
overridable). When will your setup ship? Derek From: Scott Sam [mailto:[EMAIL PROTECTED] 2.0 From: Derek Cicerone [mailto:[EMAIL PROTECTED] Are you using WiX 2.0 or 3.0?
I’m pretty sure this should work in 3.0 but probably not 2.0. Derek From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott Sam I have a custom action that runs and
executable, called dbinstallation.exe, which is installed in the
installation. The executable updates/creates the databases our software
uses. Dbinstallation reads an xml file the is created with the
SchedXmlFile action. In the installation we also insert a few rows of
data into the database that varies from machine to machine, using the SqlFile
element. So I need the dbinstallation custom action to run after the
ScheduleXmlFile action and before the ConfigureSql action. ConfigureSql and ScheduleXmlFile both have
a sequence of 4001. If I use <Custom
Action="" After="ScheduleXmlFile">NOT
Installed</Custom> to call the dbinstallation, it runs after the
ScheduleXmlFile action and after the ConfigureSql action. If I use <Custom
Action="" Before=”ConfigureSql”>NOT
Installed</Custom> it runs before both of them. How do I get it before ConfigureSql and
after ScheduleXmlFile? |
_______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users