I've created a custom action that reads a version number from a database into a (global) property. It is executed on Install.
I've used that property value to run or not run some SQL Scripts through the Script Condition.
However it appears that the SQL Scripts are executed before my custom action. So the value has not been set and the Script Condition is thus invalid.
Is it possible to have a custom action executed before the SQL Scripts and if so, how would it be done?
If it is not possible then I assume I can simply embed the controlling logic and sql script execution into the custom action. However it would be nice to use the standard AI mechanism.
Thanks
FOLLOW US
Get the latest news in Application Packaging