Jump to content
Sign in to follow this  

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

Recommended Posts



Knows somebody the returned value under XP / Vista of @OSServicePack in case of no SP is installed?

E. g. somethin like "Service Pack 0"?



Share this post

Link to post
Share on other sites

I found these 2 threads :



Then I checked the GetVersionEx API and found this :



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

Share this post

Link to post
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
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.