Hi,
We have an Advanced Installer project that was using Feature Based Prerequisites that were conditionally installed in version 14.4 of AI.
When I upgraded to version 14.5.1 of AI, no matter what I do, I cannot get the Feature Based Prerequisites to install unless I replace all the conditional logic with 1.
Details:
Project contains both Pre-install Packages (.NET, Powershell) and Feature-based (database software).
In the AI UI, under Package Definition, Organization, Features And Components, Product, ourIncludedDatabaseSoftware, Feature Properties, Installation Behavior, 'Not Installed' is selected. In the field above 'Not Installed', 'Installed if:' contained our conditional logic that was generated by a custom form.
If I scrap the conditional logic and replace it with "1", then ourIncludedDatabaseSoftware installs perfectly. Except of course it always installs, and we want it to install only part of the time based on a dialog we present to our users. The exact logic we were using in version 14.4 was:
ENHANCED_LOGGING_PROP = "OurIncludedDatabaseSoftwareLogging"
I also use the variable ENHANCED_LOGGING_PROP in other places in the AI product without problems. I can evaluate logic on that variable over in Server, SQL Databases and also over in Custom Behavior, Custom Actions.
Now in 14.5.1, the Feature-based conditional controlled prerequisite installer never kicks off - unless I have only the string value "1" in the 'Installed if:' field.
Is there a change to the best practice for evaluating conditionals in the Organization Features section in AI? What can I do to make this work again?
Thanks!