[wix-users] How to make an execution order of a Custom Action configurable?
wixdev2019 at gmail.com
Fri Mar 1 06:53:41 PST 2019
I am in progress with a custom WiX Toolset Extension and would like to
know, if it is possible to make a custom action's order configurable?
For example, I have two actions:
*CreateFolder* Custom Action:
<CustomAction Id="CreateFolder" BinaryKey="My.Ext.CA <http://my.ext.ca/>"
*ExecuteSql* Custom Action:
<CustomAction Id="ExecuteSql" BinaryKey="My.Ext.CA <http://my.ext.ca/>"
They are placed in the InstallExecuteSequence in the next order:
<Custom Action="CreateFolder" After="InstallValidate">
<Custom Action="ExecuteSql" Before="InstallFinalize">
It works fine for executing CreateFolder CA first, and then ExecuteSql.
But, in some cases it is required for WixExtension user to run ExecuteSql
first, and CreateFolder comes next.
Can I somehow specify a CA order to be executed within
InstallExecuteSequence and make it configurable?
More information about the wix-users