supersonic Posted May 20, 2009 Share Posted May 20, 2009 Hi! Knows somebody the returned value under XP / Vista of @OSServicePack in case of no SP is installed? E. g. somethin like "Service Pack 0"? Greets, -supersonic. Link to comment Share on other sites More sharing options...
Inverted Posted May 20, 2009 Share Posted May 20, 2009 (edited) I found these 2 threads :http://www.autoitscript.com/forum/index.ph...l=OSServicePackhttp://www.autoitscript.com/forum/index.ph...l=OSServicePackThen I checked the GetVersionEx API and found this :http://msdn.microsoft.com/en-us/library/ms724833(VS.85).aspxszCSDVersion 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 May 20, 2009 by Inverted Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now