I’m trying to configure the License Agreement dialog to display a different EULA depending on the system language. I followed the documentation here: https://www.advancedinstaller.com/user- ... ement.html and also attempted it via the Advanced Installer GUI.
Here’s what I did:
Enabled English and German in the Translations tab.
In the Options section, I have selected “Create only a multilingual package”.
In User Interface Language, I have selected “Automatically use system language for installation”.
Added the LicenseAgreementDlg dialog.
Assigned the English .rtf file first, then switched to German and replaced it with the German .rtf.
I noticed that Advanced Installer created a new dictionary file:
<DICTIONARY type="multilanguage" ignore="en">
<ENTRY id="LicenseAgreementRTFPath">
<STRING lang="en" value="C:\myprojectpath\msi\assets\EULA English.rtf"/>
<STRING lang="de" value="C:\myprojectpath\msi\assets\EULA German.rtf"/>
</ENTRY>
</DICTIONARY>
Also, in the .aip file the dialog control looks like this:
<ROW Dialog_="LicenseAgreementDlg" Control="AgreementText"
Type="ScrollableText" X="20" Y="60" Width="330" Height="120"
Attributes="7" Text="assets\EULA English.rtf"
Order="400" TextLocId="LicenseAgreementRTFPath"
MsiKey="LicenseAgreementDlg#AgreementText"/>
However, when I run the installer on a German system, the License Agreement still shows the English .rtf file.
Could you please advise what I might be doing wrong? Is there an additional step required to make the localized .rtf files display correctly at runtime?
Thank you in advance for your help.