![]() ![]() ![]() Still to be investigated which is the best command line switches combination. :select echo Found Language: %LANG% echo installing %SOFTWARE%\ServicePacks\WindowsXP-KB 936929-SP 3-x 86- %LANG%.exe /quiet /norestart %SOFTWARE%\ServicePacks\WindowsXP-KB 936929-SP 3-x 86- %LANG%.exe /quiet /norestart :: English - United States if "%language%" = "0409" ( :: Dutch - Netherlands if "%language%" = "0413" ( ![]() This is the possible source code of that batch-files install-localized-SP3.cmd (You can of course add/delete languages to your needs see for a complete echo off :detect for /f "Skip=1 Tokens=3*" %%i in ( 'reg QUERY "hklm\system\controlset001\control\nls\language" /v Installlanguage') do set language = %%i :: Dutch - Belgium if "%language%" = "0813" ( Instead of calling the Service Pack installer straight from within the WPKG package, we call a batch-file which determines the system-locale and executes the localized service pack installer (as diferent locales won't install). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |