cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
malio_82
Level 3

Get the language of current operating system in script

Hi,

In my setup project, creating shortcuts is in script by the method AddFolderIcon. Currently My setup is only English, but in the future we want to deploy the setup to Chinese or Japanese customers, so we need to change the shortcut name in the start menu.

I have no idea how to archive this.
What I am thinking is getting the current culture of the operation system, if it is Japanese, then create a Japanese shortcut.
Labels (1)
0 Kudos
(3) Replies
manomatt
Level 8

which IS project are u working on.

I thnk the approach will be like let the user deside which language he wants the installer to run...and by doing that if he selects someother language its shortcut could be made to that language be editing that entry in the string entry.
0 Kudos
manomatt
Level 8

GetSystemInfo ( LANGUAGE , nvResult, svResult);
This API will help to get the currently installed language in the machine.
0 Kudos
malio_82
Level 3

The version I used is InstallShield 2011
0 Kudos