shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Question:Multilingual package installations

I have supported two languages in my product(en and de). I have used the setting "create separate packages", because of this Advanced Installer generates different packages(i.e one for English and the other for German).

Now I install the English version. After this I can again install the German version of the product. This would create the problem in my Product.

Question: Suppose if the user already has the product in one language, he should not be allowed to install the same product(in some other language). Can I do this by having the same "ProductCode" for all the languages? Is this the right solution??
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Question:Multilingual package installations

Hi Rohan,

Using the same "Product Code" for all the languages is a solution.

Also, you can achieve this by following the next steps:
- go in the Search page
- create two "Product Version (identify by Product Code)" extended searches (i.e. ENG for English package and GER for German package)
- go in the "Custom" tab from the Launch Conditions page
- create two new custom launch conditions like in the example below:
  • Condition: ENG = ""
    Description: English is installed

    Condition: GER = ""
    Description: German is installed
Build and run the project.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Re: Question:Multilingual package installations

Thank you Eusebiu, Your solution is working fine :-)
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Question:Multilingual package installations

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

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Re: Question:Multilingual package installations

Two short question related to this
1) in case(1) i.e Setting the same "Product Code" for every language
- do I need to change this for every upgrade(i.e Generally when we change the Product version number, product code also gets changed, so do I need to manually set the same code for every language for every upgrade)?

2) in case(2) i.e support by search(as you had suggested)
- do I need to change the contents of the search for every upgrade(i.e Generally when we change the Product version number, product code also gets changed, so do I need to manually place the product code in the search for every upgrade)?
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Question:Multilingual package installations

Unfortunately you have to make those changes in both cases.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Re: Question:Multilingual package installations

Thanks for the response

Return to “Building Installers”