Hi Advanced Installer developers.
My project (main msi package) consists of a several msi packages, such packages will installed if corresponding feature was activated.
For this purpose I added execution expression (&Feature >= 3) in Install section of Custom Action for each feature and msi package respectively.
For uninstall main application I added custom action too, but for uninstall section, and added the following execution expressions:
((REMOVE="ALL") AND (!FEATURE >= 3)) OR ((&FEATURE = 2) AND (!FEATURE >= 3))
simplified:
((REMOVE="ALL") OR (&FEATURE = 2)) AND (!FEATURE >= 3)
This means, if package was installed, delete him.
But if I try to uninstall my main application, a packages was not uninstalled.
I think what problem in expression (!Feature >= 3), which take false value when I try to uninstall application.
What kind of expression or technic do I use for uninstalling sub-applications, which are was installed with main msi package?
Thanks for help, in advance.
Sincerely,
fancer
FOLLOW US
Get the latest news in Application Packaging