Hi,
Indeed, this seems to be an Advanced Installer issue because the
[InstallMode] property is a
private property and its new value is not passed from the UI Sequence to the Install Execute Sequence.Thank you for bringing it to our attention.
As a workaround, you can go in the Install Parameters page and create one public property (i.e. INSTALLTYPE). Then go on the "ClientServerDlg" dialog from the Dialogs page, select each installation type buttons (Client, Server, Complete) and create a new "Set installer property value" published event for each of them where you can set the
[INSTALLTYPE] property created earlier to the
[InstallMode] property's value like in the example below:
- Property: INSTALLTYPE
Argument: [InstallMode]
Then you can use this property in the "Script Condition" field of your SQL scripts (i.e. INSTALLTYPE = "Server").
Let us know if this helped.
Best regards,
Eusebiu