Multilanguage Prerequisite - 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!

BigManStan
Posts: 20
Joined: Tue Sep 08, 2009 11:00 pm

Multilanguage Prerequisite

Hi,

I have an installation package consisting of a prerequisite and a main installer, both built using Advanced Installer. I use the .exe bootstrapper to include the .msi prerequisite, which is multilingual and uses the OS setting to determine the install language.

My problem is that when I set a non-English language in the OS, and run my .exe installer, the prerequisite is installed but the main installer is never executed after the prerequisite wizard finishes. The main installer will execute after the prerequisite if the OS language is English, or under any language if the prerequisite has already installed previously using English.

Any advice regarding this would be appreciated.
Thanks!
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Multilanguage Prerequisite

Hello,

I am not sure what you mean by changing the OS's language. Can you please give me more details about this? Also send us your .aip project file (or a stripped down version that accurately reproduces this behavior) to support at advancedinstaller dot com so we can further analyze this behavior.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
BigManStan
Posts: 20
Joined: Tue Sep 08, 2009 11:00 pm

Re: Multilanguage Prerequisite

Hi Gabriel,

By the OS language I mean the current user locale. This may be set using Control Panel -> Regional and Language Options -> Formats.

When the user locale is set to a non-English language the main installer will fail to execute after the prerequisite wizard completes.

I've emailed in a set of stripped down .aip files that should reproduce this behavior when built and run.

Thanks for your time,
Justin
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Multilanguage Prerequisite

Hello,

The reason you are encountering this behavior is because after installing the prerequisite, the bootstrapper checks if the prerequisite installed successfully by checking for its product code that you set in the prerequisite's Install Conditions tab. You only added the product code for the English prerequisite, thus when installing a Spanish version, this check fails and the install cancels. You need to go to your prerequisite project, go to Project->Options->Project IDs and put all the Product Codes found there in the Install Conditions tab of your prerequisite from your main project. Then select "install if all of the above searches fail".

Attached is your project with these fixes added.

Regards,
Gabriel
Attachments
sample_42551.zip
(8.5 KiB) Downloaded 309 times
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”