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!
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)
Please log in to answer
Posted by:
WayneB
15 years ago
Posted by:
AngelD
15 years ago
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.
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
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
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
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:
anonymous_9363
15 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.