Dear Advanced Installer Support Team,
We need to install a file conditionally, but no matter our condition looks fine, our file is never installed.
We have the following component structure at Organization tab:
-> Feature A
-> Feature "TheExchangeServer"
-> Component "ExchangeServer.Conf.GUI.dll"
-> Feature B
-> Feature "TheDesigner"
-> Feature "TheExchangeAdmin"
-> Component "ExchangeServer.Conf.GUI.dll" (duplicate of the .dll above)
-> Feature "Languages"
-> Feature "French"
-> Component "Therefore.Connectors.ExchangeServer.Conf.GUI_FRA.dll"
-> Feature "German"
-> Component "Therefore.Connectors.ExchangeServer.Conf.GUI_DEU.dll"
and so on
As you can see we have the translated version of the "ExchangeServer.Conf.GUI.dll" for sevaral different languages. Our installer should install the relevant language dll if
1. The user select the relevant language feature -> This part works as it should, since the component of the language DLL is under the proper language feature, the language dll is installed only if the language is selected
2. Either TheExchangeServer or TheExchangeAdmin is already installer or being isntalled -> This part is not working for us at all. We wanted to achive this by setting a condition at the Component Properties page/Condition field of each language dll, but none of our conditions were doing the job. We tried to use the following 2 conditions, but none of them worked for us.
a) "(&TheExchangeServer=3 OR !TheExchangeServer=3) OR (&TheExchangeAdmin=3 OR !TheExchangeAdmin=3)"
b) "(&Therefore.Connectors.ExchangeServer.Conf.GUI.dll=3 OR !Therefore.Connectors.ExchangeServer.Conf.GUI.dll=3)"
If we left the Condition field empty, the language dll was installed based on whether the actual language was selected or not.
If we used any of the 2 conditions above, the language dlls was never installed, no matter if we had "TheExchangeServer", "TheExchangeAdmin" + all the language features selected.
Could you please advise us something? I´ll send you our latest .aip file via email.
Best regards,
Zsolt