tuti
Posts: 9
Joined: Tue Sep 09, 2008 12:57 pm

error 2870 after including eula

hello again,
my problem is the follwoing: i have included an english and german user license text and followed the how-to given in the help topics. i can build my project and after selecting english in the language selection dialog the install routine runs without any errors. however, when i select german, i get get an error 2870 right after the welcome dialog. on the license agreement dialog, i have changed the the text displayed on the buttons (e.g. from 'next' to 'i accept'), so could that be a problem?

i also read this post http://www.advancedinstaller.com/forums ... &sk=t&sd=a
but dont quite understand the answer as i dont really know when and what for to use tooltips....

this is what the property looks like in the .ail-file i have altered:
<ENTRY id="User_License_DE.rtf">
<STRING lang="en" value="C:\Documents and Settings\kalthaur\Desktop\Setup Projekte\QVM4\User_License_EN.rtf"/>
<STRING lang="de" value="C:\Documents and Settings\kalthaur\Desktop\Setup Projekte\QVM4\User_License_DE.rtf"/>
<STRING lang="en_GB" value=""/>
</ENTRY>


hopefully you can help me, i'm stuck :(

thanks in advance
best regards
ruth



i have also created a new dialo for selecting the type of install and as said before altered some of the texts displayed. for translating the english text into german in the Text property in the localization dialog i selected 'always translate this string using specified identifier...' and typed ther german translation. now in my .ail file i have some blocks/properties that maybe are conflicted?

e.g. :

</ENTRY>
<ENTRY id="Installationspfad und Verknüpfungen modiizieren">
<STRING lang="en" value="Modify Installation Path and Shortcuts"/>
<STRING lang="de" value=""/>

</ENTRY>
<ENTRY id="Installationspfad: C:/Programme">
<STRING lang="en" value="Installation Path: C:/Program Files"/>
<STRING lang="de" value=""/>
.....

i also tried tried doing e.g. this: <STRING lang="de" value="Installationspfad: C:/Programme"/> but it didn't help...
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: error 2870 after including eula

Hi Ruth,
i get get an error 2870 right after the welcome dialog
Please note that in the custom dictionary the full path should be specified only for the first RTF file. For the rest you should specify only the name, like explained in the Localize EULA and Readme text how-to. If the problem persists after modifying the dictionary, please send us the AIP and custom dictionary you are using so we can investigate them.
i have changed the the text displayed on the buttons (e.g. from 'next' to 'i accept'), so could that be a problem?
No, this shouldn't be a problem.
i also read this post viewtopic.php?f=2&t=7816&start=0&st=0&sk=t&sd=a
but dont quite understand the answer as i dont really know when and what for to use tooltips....
Most controls have tooltips which can be customized. A tooltip is a text shown when the mouse if over the control. Please note that tooltips can be specified only in an Enterprise project through the Properties pane.
for translating the english text into german in the Text property in the localization dialog i selected 'always translate this string using specified identifier...' and typed ther german translation. now in my .ail file i have some blocks/properties that maybe are conflicted?
Please note that you should use only English characters in the names of the localization identifiers.
</ENTRY>
<ENTRY id="Installationspfad: C:/Programme">
<STRING lang="en" value="Installation Path: C:/Program Files"/>
<STRING lang="de" value=""/>
.....

i also tried tried doing e.g. this: <STRING lang="de" value="Installationspfad: C:/Programme"/> but it didn't help...
Please note that the installation path cannot be localized. This is because it is not a static element (it depends on the target machine and on Windows Installer properties).

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
tuti
Posts: 9
Joined: Tue Sep 09, 2008 12:57 pm

Re: error 2870 after including eula

Please note that you should use only english characters in the names of the localization identifiers.
what exactly does this mean? in my installroutine i have created a completely new dialog for selecting the type of install (custom/typical). i created the dialog in english but as i am creating an english/german package i have to somehow translate the words on the buttons etc. into german - for this i used the text property and localization identifiers as described. how should this be done otherwise? do i have to use/create a dictionary für every control i alter. like for changing from 'next' to 'i accept' there is no standard translation. so how can i do that if not by the localization identifiers?
the installation in both english and german worked without any problems until i included the eula..i already tried typing just the name of the file without the path but it didn't work.

Thanks and Best Regards
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: error 2870 after including eula

Hi,
what exactly does this mean?
One of the dictionary entries in your post looks like this:

Code: Select all

</ENTRY>
<ENTRY id="Installationspfad und Verknüpfungen modiizieren">
<STRING lang="en" value="Modify Installation Path and Shortcuts"/>
<STRING lang="de" value=""/>
The localization identifier used by this entry is "Installationspfad und Verknüpfungen modiizieren". Since this identifier uses the "Ã" and "¼" characters, some problems may be encountered. Therefore, you should use only English characters in the names of localization identifiers (for example "Installation Path"). Please note that the localization identifiers are used internally by the package and they will not be shown to the user.
do i have to use/create a dictionary für every control i alter.
No, you can use a single dictionary for all controls.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
tuti
Posts: 9
Joined: Tue Sep 09, 2008 12:57 pm

Re: error 2870 after including eula

so after i've sorted all my dialogs out in english i create a dictionary and in this dictionary can type in the translations for the single buttons that i altered..?
and the localization identifiers i leave untouched - meaning 'never translate this string' is checked?

thank you very very much
best regards
ruth
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: error 2870 after including eula

Hi Ruth,

After your dialogs are configured you can start localizing elements by using the approach explained in the Localize EULA and Readme text. However, the localization identifiers you set after you select the "Using specified localization identifier" option should contain only English characters. The strings in the dictionary can be in any language you need.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
tuti
Posts: 9
Joined: Tue Sep 09, 2008 12:57 pm

Re: error 2870 after including eula

thanks a lot!

best regards
ruth

Return to “Common Problems”