jpgalvao
Posts: 3
Joined: Thu Apr 20, 2006 1:10 am

Country Condition

Hello

In my company we are installed in several countrys.
We destribut the same applications in all this countrys.

In the previus Setup tool that we used ( Setup Factory 6.0 ) we could define custom forms with condictions.

In one of this forms we request to the users wath whose the country to install.

This allows us to define custom shortcuts in the windows menu with local language pointing to the applications.

Can any one sugest a way to solve this ( do a setup for each coubtry does'nt count ).

Thanks
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

Please give me more details about what you are trying to achieve.

If you want to create a multilingual package select from the "Media" page "Languages" tab the desired languages and then check "Additionally create compounded multilingual package".

When the package is installed the language will be selected according to the regional settings on the target computer.

Regards,
Gigi
_________________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
jpgalvao
Posts: 3
Joined: Thu Apr 20, 2006 1:10 am

Hi

Wath i need is to be able to create custom "shortcuts" in the Start Menu that point to the same application but with diferent ( local language ) description depending on the country where i'm installing.

Thanks
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi,

This can be done by enabling per-element localization, as follows:
1. Create the shortcuts in the Files and Folders page.

2. Switch to the Media page, "Languages" tab, and select all the languages for which you wish to build MSI packages. Make sure that the checkbox "Additionally create compounded multilingual package" is selected. This will be the package that you will distribute (the language will be selected according to the regional settings on the target computer when the package is installed).

3. Still in the "Languages" tab, click the "Select" button and select the checkbox "Enable per-element localization options".

4. Switch to the Files and Folders page, and double-click on one of the previously created shortcuts. Enter the appropriate description text (depending on the language you have used when creating the project) in the "Description" text field.

5. Click the flag button at the right of the Description field and select "Always translate this string" and "Using specified localization identifier" (this identifier can be set in the text field bellow).

6. Repeat steps 4 and 5 for all the shortcuts you have created.

7. Now switch again to the Media page, "Languages" tab and click the "Create" button. After completing this wizard, a new dictionary (".ail") file will be created. Make sure that you select only one language to start from (English, for instance).

8. You need to open the dictionary file in a text editor (it is actually a simple XML file) and provide translations for all the strings that it contains.

9. Save the project and then reload it ("File -> Open"). The dictionary file you have created will appear in the Translations page.

10. Now build the project. AI will create MSI packages for all the languages selected in the Media page, "Languages" tab. A compounded multilingual package will be created in the "all" subfolder of the folder where the project is built. This is the package that you will distribute.

When the package is installed the language will be selected according to the regional settings on the target computer (as they appear in Control Panel -> "Regional and Language Options"). The shortcut descriptions will match the language that was used when the package was installed.

Hope this helps.

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”