Bernd
Posts: 9
Joined: Sun May 21, 2006 5:17 pm

Multi-Language Prerequisites

Hi,

What is the recommended way to build a (multi-language) Setup that

- starts with language selection
- eventually downloads and installs language dependant prerequisites (e.g. NetFx, SQL Server, ...)


Thanks

/BB
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Multi-Language Prerequisites

Hi,

To include a language selection dialog into the installation you can try following these steps:
- go to the Languages tab of the "Translations" page and add the languages you want to include in the package
- in the Bootstrapper tab of the "Media" page check the "Create EXE setup file" option
- select the "Display language selection dialog" option

Unfortunately the prerequisites cannot be conditioned by the selected language.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Bernd
Posts: 9
Joined: Sun May 21, 2006 5:17 pm

Re: Multi-Language Prerequisites

Cosmin,

do you think, that the following will work:

- download the prerequisites from a URL
- put the "installation language" variable in the URL string
- make the prerequisites available in different subfolders, e.g.

...../EN/dotnetfx.exe
...../DE/dotnetfx.exe

Thanks

/BB
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Multi-Language Prerequisites

Hi,

Unfortunately the prerequisites are not aware of the selected language (this information cannot be passed to them). However, we have on our TODO list a feature which will allow you to condition the prerequisites with installer properties (for example "ProductLanguage"). This feature will be available in a future version.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Bernd
Posts: 9
Joined: Sun May 21, 2006 5:17 pm

Re: Multi-Language Prerequisites

Hi Cosmin,

I thought that I had found a work around for this.

I added parameters and added translations for those properties to a dictionary.

Example entry:

<ENTRY id="Property.SCMPreReqLanguage">
<STRING lang="de" value="DE"/>
<STRING lang="en" value="EN"/>
</ENTRY>

Then I used the SCMPreReqLanguage property to "build" the download URL for the Prerequisites. But the Prerequisite dialog (though it is translated and thus has "knowledge" about the installation language) always uses the default property value. :(

Do you have an idea, if and when this will "fixed"?

One other idea:

Is there a chance to have a custom action

- after language selection
- before prerequisite installation

that

- accepts "translated" parameters
- can set another parameter to this translated value

That parameter could then be used in the download URL.


/BB
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Multi-Language Prerequisites

Hi,

Please note that the prerequisite URL can use only pseudo-formatted properties. These properties are resolved when the package is built (the default property value is used).
Do you have an idea, if and when this will "fixed"?
A feature which will allow you to condition the prerequisites with the installation language should be released this year. I'm afraid we cannot offer an exact ETA for now.
Is there a chance to have a custom action
- after language selection
- before prerequisite installation
I'm afraid the EXE bootstrapper does not support custom actions (only the MSI does). However, a future version of Advanced Installer will allow you to use custom actions before and after prerequisite installation.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”