Could we use path variables in dictionnary (*.ail) files - Advanced Installer Community

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!

Christian Surieux
Posts: 10
Joined: Mon Aug 17, 2009 11:00 am

Could we use path variables in dictionnary (*.ail) files

Hello,

Could we use a path variable and how in a dictionary file, for exemple I have:
<ENTRY id="Control.Text.BeforeInstall#BeforeInstallFileScrollableText_1">
<STRING lang="en" value="D:\Setup Project\AddonNice_-Setup\AddonNiceSetup\Resources\Documentation\EN\BeforeInstall EN.rtf"/>
<STRING lang="fr" value="D:\Setup Project\AddonNice_-Setup\AddonNiceSetup\Resources\Documentation\FR\BeforeInstall FR.rtf"/>
<STRING lang="de" value="D:\Setup Project\AddonNice_-Setup\AddonNiceSetup\Resources\Documentation\DE\BeforeInstall DE.rtf"/>
</ENTRY>

Could I transform this in
<ENTRY id="Control.Text.BeforeInstall#BeforeInstallFileScrollableText_1">
<STRING lang="en" value="\DOC_EN\BeforeInstall EN.rtf"/>
<STRING lang="fr" value="\DOC_FR\BeforeInstall FR.rtf"/>
<STRING lang="de" value="\DOC_DE\BeforeInstall DE.rtf"/>
</ENTRY>


Thanks for Help
CS
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Could we use path variables in dictionnary (*.ail) files

Hello,

I am sorry but this feature is not supported. Dictionary files are not parsed for properties. This would also be impractical since dictionary files are common to all Advanced Installer projects. Perhaps there is a better way to accomplish your goal depending on what you are trying to do.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
Christian Surieux
Posts: 10
Joined: Mon Aug 17, 2009 11:00 am

Re: Could we use path variables in dictionnary (*.ail) files

Hello,

Thanks fo anwer.

My request was not for standards dictionaries but for custom one we can add to projet.
My problem is related to path to a text file for displaying licence and readme Before install .
It depends on language and I have added them in a translated string, but their value is an absolute path and when we move our project, we loose all them.

And their is no warning from AI, it is running the project that we discover that no text is displayed.

Moreover, as the initial AI project was built by another person I am not even sure that using translation dictionary is working for paths to files in BeforeInstall Dialogs ???
And it take many time to test all this in different languages...


May I ask if your are French or Canadian ? Your name looks like ?

Thanks

CS
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Could we use path variables in dictionnary (*.ail) files

Hello,

You can check out our comprehensive tutorial on localizing the EULA and Readme.
May I ask if your are French or Canadian ? Your name looks like ?
My name is Romanian actually. Thank you for asking.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
Christian Surieux
Posts: 10
Joined: Mon Aug 17, 2009 11:00 am

Re: Could we use path variables in dictionnary (*.ail) files

Gabiel,

Thanks again for answer, all this has been done and it was working, just the absolute path was causing a problem.
It is dommage we could not use relative paths inside dictionary content...

Sorry to have forgeten the very latin Romania from possibilities :)

Best regards
CS

Return to “Common Problems”