Hi,
I'm using advanced Installer 10.3 enterprise version to build a target msi installer, a update msi then a msp. I need to execute a SQL script during patch installation and another SQl script during patch uninstall if it takes place. I managed to have the SQL script ran during patch installation. However, I'm not able to make the SQl script executed during patch removal. I need some suggestions to set running flag or conditions correctly. I also try to execute a custom action during patch removal to achieve the same goal but no luck. It seems no action I can set if remove the patch from Windows Add/Remove program.
Here is what I have tried:
SQL Execution: uninstall or rollback
condition: (Installed AND ( REMOVE = "ALL" OR AI_INSTALL_MODE = "Remove" )) OR PATCH
Try to call a custom action function during patch removal:
Execution stage is uninstall and condition is PATCH.
Please advise what condition(s) I have set it wrong and how I debug it?
Thanks in advance.
Larry
FOLLOW US
Get the latest news in Application Packaging