In order to install my new application you must have Version 2.5 or higher or the legacy application, and this check is only applicable where a user has selected a particular feature. To this end I am using the following condition on a Type19 CA.
Not Installed And (&MyFeature>2) And (LEGACYAPPVERSION<"2.5")
I have made this work, but only by putting the AppSearch in the InstallationUI Sequence (It seems that this is the only place I can set the public property - Is this true?), and the CA in the Installation Execute sequence, because I can only query the Feature-State after Cost Finalize (Is thia true?).
So, I am not happy with this solution, because if someone executes in Silent mode - the AppSearch will not run. Surely you can set properties in the execute sequence?
I would appreciate any comments on the way I'm tackling this problem, because it does seem like a simple and common task to perform.
Thanks,
Martin