jmoleary
Posts: 42
Joined: Mon May 13, 2019 7:30 pm

How do I use a local file for the license agreement

I am using AI Professional 18.0. I have a license agreement document that I want my MSI installer to show. I thought it would be as easy as just saving the file to my installer project and then specifying it somewhere in a path (like I do all my other files). But it's not working.

I chose the "Black Surface" theme
I saved the agreement file as .RTF "eula.rtf" in the same folder alongside my .AIP file.
I went to the dialog setup in "Dialogs >> InstallDlg" template for MSI First time install.
I clicked the browse button to browse to where the .RTF is
The browse seems to to work. I see the correct path for the saved file

Then I build and I see this:

Failed to read RTF file "C:\Users\jmole\Documents\Dev\Mobile\Installer\Control.Text.LicenseAgreementDlg#AgreementText_2". Make sure you localized correctly the path for "Control.Text.LicenseAgreementDlg#AgreementText_2".
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: How do I use a local file for the license agreement

Hi,

This may happen if you use multiple languages in your project. In this case, an EULA file should be specified for each language. To do this, you need to go in the "Translations" page, "Default Strings" tab, search for the "Control.Text.LicenseAgreementDlg#AgreementText_2" localization ID and set a correct path to an EULA file for each language.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jmoleary
Posts: 42
Joined: Mon May 13, 2019 7:30 pm

Re: How do I use a local file for the license agreement

Sorry for the delayed reply. This did the trick!
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: How do I use a local file for the license agreement

You're welcome. I'm glad you got this working.

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

Return to “Common Problems”