Jump to content

Returned value of @OSServicePack in case of no SP is installed


Recommended Posts

I found these 2 threads :

http://www.autoitscript.com/forum/index.ph...l=OSServicePack

http://www.autoitscript.com/forum/index.ph...l=OSServicePack

Then I checked the GetVersionEx API and found this :

http://msdn.microsoft.com/en-us/library/ms724833(VS.85).aspx

szCSDVersion

A null-terminated string, such as "Service Pack 3", that indicates the latest Service Pack installed on the system. If no Service Pack has been installed, the string is empty.

So if the Autoit function is just a wrapper for that API, it will return an empty string for no service pack.

Someone should test it with the Win7 beta/rc :)

Edited by Inverted
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...