PDA

View Full Version : Prerequisites issue - installing based on the OS language



Timbro
05-30-2007, 03:44 AM
Hello,

I want to include Jet 4 as prerequisite for my setup and install it based on the OS languge of the target machine. The setup has two languages: Italian and English and the user can choose the install language interface between English and Italian.

IS 2008 has only one version of Jet 4 Sp8 - English version. I have the italian version and I can add it to prerequisites using the prerequisites editor from IS IDE. But my issue is how to install Jet4 ENG on ENG OS and Jet4 ITA on ITA OS. The setup editor doesn't help me much. Isn't?

If I only include Jet4 ENG the Jet4 cannot be installed on Italiana OS (e.g. Win 2000 Italian).

Can someone suggest me a solution for this issue?
THX..

Holger_G
05-30-2007, 07:20 AM
How about writing a custom bootstrapper launcher?

Timbro
05-30-2007, 07:26 AM
thx, but what do i resolve with a custom bootstrapper ? :D

Holger_G
05-30-2007, 08:34 AM
Your bootstrapper application checks the OS language and launches the according Jet 4 installation.

Timbro
05-30-2007, 08:58 AM
ok thx a lot...

:)

Gvarma
05-31-2007, 05:56 PM
Your bootstrapper application checks the OS language and launches the according Jet 4 installation.

Do you have an example that show how one can detect OS language in "custom BootStraper"?


TIA

Holger_G
06-01-2007, 04:39 AM
Check out Microsoft´s National Language Support Functions (http://msdn2.microsoft.com/en-us/library/ms776318.aspx) and grab the one that best fits your requirement. I would use a C++ bootstrapper application.

rchand445
06-01-2007, 06:52 AM
I am using Visual Studio 2005's bootstrapper utility. This msdn article explains more: Use the Visual Studio 2005 Bootstrapper to Kick-Start Your Installation (http://msdn.microsoft.com/msdnmag/issues/04/10/Bootstrapper/). Additional information can be found here (http://blogs.msdn.com/chrsmith/archive/tags/Bootstrapper+FAQ/default.aspx).