Post a reply to the thread: Safe way to check for XP service pack
Click here to log in
What's the name of our main installation product (in uppercase letters), directly followed by the current year?
You may choose an icon for your message from this list
Will turn www.example.com into [URL]http://www.example.com[/URL].
Re: Safe way to check for XP service pack <G> Thank you Friedrich
Re: Safe way to check for XP service pack
Re: Safe way to check for XP service pack Yes, it worked. Didn't see that reply before I had sent the answer You're too fast Friedrich
Re: Safe way to check for XP service pack My second idea should work because it returns the language used to compile that Windows version
Re: Safe way to check for XP service pack This returns 1044 for me, which is according to your manual: Norwegian (Bokmal) 1044 Now, my current language setting in Windows IS 1044 Norwegian, but my Windows installation is in English. And this is what I need to find out..
Re: Safe way to check for XP service pack BTW, another cool way is to use Get File Information (File Language) on kernel32.dll ;-) For example: Set Variable %OSLANGUAGE% to ScriptItem->Get File Information(File Language (Resource)) of file "%SYS32DIR%\kernel32.dll"
Re: Safe way to check for XP service pack Hello, Yes, please try the %CURLNG% variable. It returns the currently active Windows language ID. Does this help?
Re: Safe way to check for XP service pack Thanks! Is it also possible to get the language of the Windows install? (Not current selected language, but which language version of the OS was installed)
Re: Safe way to check for XP service pack Hello, You have several options here. The easiest one (IMO) is to check the %WINVER% variable value. If the value is $WINXP$ (see Common Definitions.sbi) then the machine is running XP. So you can use: If %WINVER% Equals "$WINXP$" Then you are running xp End Does this help?
Safe way to check for XP service pack I need to figure out if user is on Windows XP, and which service pack. I use Get System Information(Service Pack Number) to get the service pack number, but I'm unsure what to use to tell if user is on a Window XP OS ?
Safe way to check for XP service pack
Forum Rules