We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Jakob1981
Posts: 46
Joined: Fri Jun 13, 2014 10:52 am

Configuration of AI depending on language settings

Hello together,

I have configured a single multilingual exe file. Now I have the following requirement:

* Depending on the language, I want to show an additional dialogue. This dialogue shall only be shown when the current user language is e.g. italian.

OR

* Depending on the language, I want to add an additional function to the "Install"-Button in the EULA Dialogue. E.g. when the language is italian, a pop up shall be opened (similiar to the one which opens when a user clicks canel) when the user clicks "Install".

OR

* Depending on the language, I want to resize the EULA dialogue, so that I can show more text and buttons on the dialogue. It would be optimal if I could add also some more checkboxes at the dialogue. But: For the other languages nothing shall be changed.

Is any of this possible? If yes can you offer some guidance in how to implement it?

Any help will be appreciated! Thank you!

Jakob
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Configuration of AI depending on language settings

Hi Jakob,

Yes, you can achieve what you want using the "ProductLanguage = 1040" as a condition when you need it (without quotes ""). You can see my responses inline below.
* Depending on the language, I want to show an additional dialogue. This dialogue shall only be shown when the current user language is e.g. italian.
To achieve this, you can go in the Dialogs page, add the dialog you want, then right-click on it, select the "Show only if..." option and use the condition mentioned above.
* Depending on the language, I want to add an additional function to the "Install"-Button in the EULA Dialogue. E.g. when the language is italian, a pop up shall be opened (similiar to the one which opens when a user clicks canel) when the user clicks "Install".
- go in the Custom Actions page
- add a "Display message box" custom action "without sequence"
- go in the Dialogs page and select the "Install" button from your dialog
- add your message box as a published event on that button
- use the above condition for it
* Depending on the language, I want to resize the EULA dialogue, so that I can show more text and buttons on the dialogue. It would be optimal if I could add also some more checkboxes at the dialogue. But: For the other languages nothing shall be changed.
In order to achieve this you can only duplicate the "LicenseAgreementDlg" dialog, by creating a new dialog similar to it and customized as you need and then use the "Show only if..." option for that dialog and for the "LicenseAgreementDlg" dialog, so they will be displayed in the appropriate case for them (i.e. ProductLanguage = 1040 for your customized dialog and ProductLanguage <> 1040 for the "LicenseAgreementDlg" dialog).

Let us know if this helped, otherwise give us more details about your scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Jakob1981
Posts: 46
Joined: Fri Jun 13, 2014 10:52 am

Re: Configuration of AI depending on language settings

Hello Eusebiu,

thank you, that worked perfectly!

Best regards

Jakob
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Configuration of AI depending on language settings

You're welcome Jakob. Just let us know anytime you need help.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”