I need a custom action to run when FeatureA is being installed or when it is being repaired/modified.
"(&FeatureA = 3) OR (&FeatureA = 5)" seems to be doing the job but as I haven't found any documentation related to option 5 outside of advanced installer I am not 100% sure if it is safe to use like this. Could you confirm this is ok?
There is a somewhat related problem I'm trying to find a solution for, if any.
FeatureA is only installed if NO newer version of our application is present on the system. The problem I'm facing is that, on repair, FeatureA is reinstalled without caring whether there is any newer version that has been installed in the meantime.
So for example if I installed version 1.1 then version 1.2 then do a repair of 1.1, I would like the repair NOT to reinstall FeatureA. If we haven't installed 1.2 or if it has been uninstalled before the repair, then I'm fine reinstalling FeatureA.
I suppose MSI doesn't perform version check on repair/modify. Is there a way to prevent FeatureA from being repaired if we detect a newer version (without going through a script that would detect what is installed on the system)?
Note, I'm using AI 8.1.3 sadly.
FOLLOW US
Get the latest news in Application Packaging