/build/static/layout/Breadcrumb_cap_w.png

installing files depending of language

hi all,

i want to create a MSI file which, depending on the parameter passed, will installed the application in english or french. i'm not talking about the installation itself, with english or french dialogs, but i will have different components which will get installed depending on the parameter passed.

my problem is that i don't know how to do this, i wish to learn it but i don't find any documentation for this.

can someone give me some hints where i can find info or some clues how to do this?

thanks!

0 Comments   [ + ] Show comments

Answers (6)

Posted by: WayneB 15 years ago
Blue Belt
0
Hey kardock,

Maybe you could read an environment variable on the PC that would be either set to French or English. This could then be read in a launch condition which would set the features you wish to install.

Lots of information if you search for 'setting launch condition'.

Regards
Wayne
Posted by: AngelD 15 years ago
Red Belt
0
By passed parameters do you mean through command line?
If so; I would use a property (ex. LANG) on command line with the language value (FR or EN) and then use that property as a condition (ex. LANG="FR") for the language components. In this ways you could use that property in a transform later on if suited.
Posted by: anonymous_9363 15 years ago
Red Belt
0
This could then be read in a launch condition which would set the features you wish to install.As a WPS user, you should be aware that the AppSearch and LaunchCondition actions are in the wrong order in the default templates. One of the first tasks in a new WPS install is to switch them round (followed by yet another 'feature request/bug report' to Altiris which they can sit on and do nothing with for 6 years [and counting...])
Posted by: fritoz 15 years ago
Orange Belt
0
Hi kardock,

We have a multi-language environment at my current workplace also and have had a requirement for this sort of thing from time to time.

As part of the imaging process of our devices during SysPrep mini-setup the local support staff enter the computername and select the regional location and keyboard settings, this sets the registry keys and values found here:

HKEY_USERS\.DEFAULT\Control Panel\International

You could do a system search for values here (sCountry or more specifically sLanguage) and then perform the necessary actions depending on what the system search returns.

Regards,
Brian
Posted by: kardock 15 years ago
Second Degree Green Belt
0
thank you all, i was able to make it work with your input!
Posted by: anonymous_9363 15 years ago
Red Belt
0
thank you all, i was able to make it work with your input!...but I'm going to keep it a secret so that no-one else can benefit. Come on, my friend: this forum is about helping other people. You have benefited from a pointer so, please, share your solution with the rest of the community.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ