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!

mentalmushroom
Posts: 63
Joined: Wed Feb 08, 2012 8:08 am

Disable update properties localization

Hello. I'm working on the updates configuration that should be localized (update description, new features etc). I noticed it also tries to translate things like ProductVersion, Download URL, Release Date, MD5 hash, that I don't like to be localized. Product name localization can be turned off, but for the rest of properties it doesn't give any control, so the update configuration now looks like:
Name=MyProject 0.1.1
ProductVersion=UpdaterEditor.Section.ProductVersionMyProject-0.1.1
URL=UpdaterEditor.Section.URLMyProject-0.1.1
Size=UpdaterEditor.Section.SizeMyProject-0.1.1
ReleaseDate=UpdaterEditor.Section.ReleaseDateMyProject-0.1.1
MD5=UpdaterEditor.Section.MD5MyProject-0.1.1
ServerFileName=UpdaterEditor.Section.ServerFileNameMyProject-0.1.1
RegistryKey=UpdaterEditor.Section.RegistryKeyMyProject-0.1.1
Version=UpdaterEditor.Section.VersionMyProject-0.1.1
...
How can I prevent this?
No milk today
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Disable update properties localization

Hello,

In order to achieve this you can proceed as follows:
- open your updates configuration project
- go to "Translations -> Project String" tab and under "Translations" section click on [Select...] button.
- in the "Localization Options" dialog uncheck "Updates"
- build your project

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mentalmushroom
Posts: 63
Joined: Wed Feb 08, 2012 8:08 am

Re: Disable update properties localization

No, that doesn't help :(
No milk today
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Disable update properties localization

Hello,

Can you please send us the .AIP (project file) of your updates configuration project to support at advancedinstaller dot com so we can investigate it?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mentalmushroom
Posts: 63
Joined: Wed Feb 08, 2012 8:08 am

Re: Disable update properties localization

I can send the project, but it seems to be very easy to reproduce: create any update project, check Localization Options -> Updates (I had "Updates" initially checked), now strings like version, size, md5 etc should be added to the project strings table, save project, close advanced installer. Then open AI again, open the project, uncheck "Updates", strings won't be removed from the project strings table, also there will be a wrong configuration file produced, because there is no translation for those strings.
No milk today
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Disable update properties localization

Hello,

I've tested your scenario and this seems to be an Advanced Installer issue. A fix will be available in a future version of Advanced Installer, thank you for bringing this to our attention. Until then, as a workaround you can add for the related localization IDs (from Project Strings tab) the same strings as for your default language. Also, another solution would be to create your updates configuration project from scratch and don't enable the "Updates" project segment for translation in the "Localization Options" dialog.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Disable update properties localization

Hello,

This was fixed in version 10.1 of Advanced Installer released on May 2, 2013.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”