Install files for East Asian languages
Hello !
I need to install those file on Windows XP workstations.
Is there any way to make a silent installation ?
I've tried to capture the difference with Wise but I think it's not the best way to do this...
Thanks in advance for your help!
Jgl75
I need to install those file on Windows XP workstations.
Is there any way to make a silent installation ?
I've tried to capture the difference with Wise but I think it's not the best way to do this...
Thanks in advance for your help!
Jgl75
0 Comments
[ + ] Show comments
Answers (9)
Please log in to answer
Posted by:
gmorgan618
17 years ago
Create a file called regopts.txt (or whatever you want) and put this inside - Note the LanguageGroup are what languages you want installed, the example below will install all languages - Refer to the language list at the following link to get the proper languages installed -
http://www.microsoft.com/globaldev/reference/win2k/setup/localsupport.mspx
---- Start of regopts.txt ----
[RegionalSettings]
LanguageGroup="1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"
InputLocale=0409:00000409
---- End of regopts.txt ----
Then run this line on that machine
%windir%\System32\rundll32.exe shell32,Control_RunDLL intl.cpl,/s:"C:\i386",/f:"C:\temp\regopts.txt"
Make sure to change "C:\i386" to the path to your local windows files cache, if it is different - try searching for intl.cpl if you don't know the location
Also change "C:\temp\regopts.txt" to the location where you are placing regopts.txt on that machine.
If the machine is not using English makesure the InputLocale= is set to the correct language value.
Good Luck
-Grant
http://www.microsoft.com/globaldev/reference/win2k/setup/localsupport.mspx
---- Start of regopts.txt ----
[RegionalSettings]
LanguageGroup="1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"
InputLocale=0409:00000409
---- End of regopts.txt ----
Then run this line on that machine
%windir%\System32\rundll32.exe shell32,Control_RunDLL intl.cpl,/s:"C:\i386",/f:"C:\temp\regopts.txt"
Make sure to change "C:\i386" to the path to your local windows files cache, if it is different - try searching for intl.cpl if you don't know the location
Also change "C:\temp\regopts.txt" to the location where you are placing regopts.txt on that machine.
If the machine is not using English makesure the InputLocale= is set to the correct language value.
Good Luck
-Grant
Posted by:
jgl75
17 years ago
Posted by:
gmorgan618
17 years ago
I'm not sure which languages are included in the east asian language pack. A guess is that if all of them aren't installed, then the check box in regional settings won't be checked.
When you reboot - There should be a "EN" on your "log in dialog" - I guess by accessing the korean site you've tested it, not sure of another way.
When you reboot - There should be a "EN" on your "log in dialog" - I guess by accessing the korean site you've tested it, not sure of another way.
Posted by:
KPrinz
17 years ago
ORIGINAL: jgl75
Thank you for your fast response !
I tried your solution but I dont see in the regional settings that the files are installed.
But it seems to work correctly when I'm surfing on korean site.
How can I test this ?
I'm a little bit confused...
Thanks in advance.
Jgl75
Hi, some more on this
You will only need to include Language Group 7, this will automatically pull all other EastAsian Languages as well. (And you don't really need quotes around the numbers)
If you are installing new machines, include the LanguageGroup in your regional settings of params.txt
When you checked, did you reboot between installation and checking?
Posted by:
jgl75
17 years ago
Posted by:
dju
17 years ago
I've been trying to deploy East Asian language support as well - thanks for the information in this thread, it's been very helpful. I had previously tried to capture the changes with AdminStudio and it didn't work very well.
I have one question:
I put the regopts.txt file in an MSI, then added some VBScript code that runs the command that was listed above and waits until it finishes. I copied the I386 folder from an XP cd to C:\I386, and had the MSI drop regopts.txt in the same location.
When the MSI tries to install when XP is applying software installation settings, it seems to freeze when installing this MSI. I then tried to install manually, and it works, but the problem is it asks for the locations of some files while installing. It seemed like it was looking for them on the CD drive, and I had to redirect it to the I386 folder on the C drive. Is there a way to do this that automates that process, so it knows where to find those files on its own?
EDIT:
The files that it asks me to find for it are kartika.tt_ and msdlg874.fo_ . It's really weird, because those two files are in C:\I386, along with everything else, and it grabs all the other files from that location without prompting the user. For these two files, it is looking in D:\I386, then I have to tell it to look in C:\I386.
EDIT 2:
Nvm, I figured it out. I was able to fix it by changing the values of the following registry keys from D:\ to C:\
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SourcePath
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\ServicePackSourcePath
I have one question:
I put the regopts.txt file in an MSI, then added some VBScript code that runs the command that was listed above and waits until it finishes. I copied the I386 folder from an XP cd to C:\I386, and had the MSI drop regopts.txt in the same location.
When the MSI tries to install when XP is applying software installation settings, it seems to freeze when installing this MSI. I then tried to install manually, and it works, but the problem is it asks for the locations of some files while installing. It seemed like it was looking for them on the CD drive, and I had to redirect it to the I386 folder on the C drive. Is there a way to do this that automates that process, so it knows where to find those files on its own?
EDIT:
The files that it asks me to find for it are kartika.tt_ and msdlg874.fo_ . It's really weird, because those two files are in C:\I386, along with everything else, and it grabs all the other files from that location without prompting the user. For these two files, it is looking in D:\I386, then I have to tell it to look in C:\I386.
EDIT 2:
Nvm, I figured it out. I was able to fix it by changing the values of the following registry keys from D:\ to C:\
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SourcePath
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\ServicePackSourcePath
Posted by:
dju
17 years ago
Hmm turns out I'm still having some problems. When I login as an admin and run my script manually it installs the languages just fine. However, it doesn't seem like it runs properly when I attach to an MSI as a custom action and deploy that MSI through GPO.
It seems like it starts installing, but it doesn't finish - it stayed at "Installing managed software Language Support..." for about 30 minutes before I just rebooted it. It took about 2 minutes to install when I ran the script manually.
Anyone know what might be wrong? I included my script and regopts.log file, if that helps at all.
Here's my regopts.log file:
---
/f:"C:\*****\regopts.txt"
Switch /F detected!
<--- Unattended file log start---->
[RegionalSettings]
LanguageGroup="1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"
InputLocale=0409:00000409
<--- Unattended file log end ---->
Language group installation requested: 1
Language group installation requested: 2
Language group installation requested: 3
Language group installation requested: 4
Language group installation requested: 5
Language group installation requested: 6
Language group installation requested: 7
Language group installation requested: 8
Language group installation requested: 9
Language group installation requested: 10
Language group installation requested: 11
Language group installation requested: 12
Language group installation requested: 13
Language group installation requested: 14
Language group installation requested: 15
Language group installation requested: 16
Language group installation requested: 17
---
My script:
---
Dim WshShell
Dim strRegLoc, strRegKeyA, strRegKeyB, strRegValNew, strRegValOldA,
strRegValOldB, strNetworkLoc
strNetworkLoc = "\\***UNC***\testing\LangSupport"
'I temporarily modify these reg values later on, so Windows looks for files in the right place
strRegLoc = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\"
strRegKeyA = "ServicePackSourcePath"
strRegKeyB = "SourcePath"
strRegValNew = strNetworkLoc & "\"
Set WshShell = CreateObject("WScript.Shell")
' Get the old reg values, so we can change them back later
strRegValOldA = WshShell.RegRead(strRegLoc & strRegKeyA)
strRegValOldB = WshShell.RegRead(strRegLoc & strRegKeyB)
' Modify registry values so Windows looks for certain files in the right
location
WshShell.RegWrite strRegLoc & strRegKeyA, strRegValNew, "REG_SZ"
WshShell.RegWrite strRegLoc & strRegKeyB, strRegValNew, "REG_SZ"
'run the command - the 3rd arg to Run causes it to wait until command finishes
'I386 folder is in the same folder as the script
WshShell.Run "%windir%\System32\rundll32.exe shell32,Control_RunDLL
intl.cpl,/s:""I386"",/f:""C:\***\regopts.txt""",,True
' Revert registry to previous values
WshShell.RegWrite strRegLoc & strRegKeyA, strRegValOldA, "REG_SZ"
WshShell.RegWrite strRegLoc & strRegKeyB, strRegValOldB, "REG_SZ"
' Reboot machine to complete install
WshShell.Run ("shutdown -r -t 02")
It seems like it starts installing, but it doesn't finish - it stayed at "Installing managed software Language Support..." for about 30 minutes before I just rebooted it. It took about 2 minutes to install when I ran the script manually.
Anyone know what might be wrong? I included my script and regopts.log file, if that helps at all.
Here's my regopts.log file:
---
/f:"C:\*****\regopts.txt"
Switch /F detected!
<--- Unattended file log start---->
[RegionalSettings]
LanguageGroup="1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"
InputLocale=0409:00000409
<--- Unattended file log end ---->
Language group installation requested: 1
Language group installation requested: 2
Language group installation requested: 3
Language group installation requested: 4
Language group installation requested: 5
Language group installation requested: 6
Language group installation requested: 7
Language group installation requested: 8
Language group installation requested: 9
Language group installation requested: 10
Language group installation requested: 11
Language group installation requested: 12
Language group installation requested: 13
Language group installation requested: 14
Language group installation requested: 15
Language group installation requested: 16
Language group installation requested: 17
---
My script:
---
Dim WshShell
Dim strRegLoc, strRegKeyA, strRegKeyB, strRegValNew, strRegValOldA,
strRegValOldB, strNetworkLoc
strNetworkLoc = "\\***UNC***\testing\LangSupport"
'I temporarily modify these reg values later on, so Windows looks for files in the right place
strRegLoc = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\"
strRegKeyA = "ServicePackSourcePath"
strRegKeyB = "SourcePath"
strRegValNew = strNetworkLoc & "\"
Set WshShell = CreateObject("WScript.Shell")
' Get the old reg values, so we can change them back later
strRegValOldA = WshShell.RegRead(strRegLoc & strRegKeyA)
strRegValOldB = WshShell.RegRead(strRegLoc & strRegKeyB)
' Modify registry values so Windows looks for certain files in the right
location
WshShell.RegWrite strRegLoc & strRegKeyA, strRegValNew, "REG_SZ"
WshShell.RegWrite strRegLoc & strRegKeyB, strRegValNew, "REG_SZ"
'run the command - the 3rd arg to Run causes it to wait until command finishes
'I386 folder is in the same folder as the script
WshShell.Run "%windir%\System32\rundll32.exe shell32,Control_RunDLL
intl.cpl,/s:""I386"",/f:""C:\***\regopts.txt""",,True
' Revert registry to previous values
WshShell.RegWrite strRegLoc & strRegKeyA, strRegValOldA, "REG_SZ"
WshShell.RegWrite strRegLoc & strRegKeyB, strRegValOldB, "REG_SZ"
' Reboot machine to complete install
WshShell.Run ("shutdown -r -t 02")
Posted by:
anonymous_9363
17 years ago
Turn on Installer logging:
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer]
"Debug"=dword:00000007
"Logging"="voicewarmup"
Reboot your machine and try the install again. If it still stalls, reboot again and examine the log. It'll be in C:\Windows\TEMP, prefixed with 'MSI' and with a .LOG extension. If this wasn't a GP-driven install I'd be willing to bet it was displaying a dialog to a non-existent user, waiting for that user to click 'OK'...
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer]
"Debug"=dword:00000007
"Logging"="voicewarmup"
Reboot your machine and try the install again. If it still stalls, reboot again and examine the log. It'll be in C:\Windows\TEMP, prefixed with 'MSI' and with a .LOG extension. If this wasn't a GP-driven install I'd be willing to bet it was displaying a dialog to a non-existent user, waiting for that user to click 'OK'...
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.