Making 64-bit Vista SP1 Say It’s Vista SP1

Making a of Vista confirm that it is actually might require a minimum amount of effort on behalf of the end user, such as right-clicking My and selecting Properties, but things are a tad different when an is programmed to identify the versions or the service pack releases. According to Scott McArthur, Escalation engineer with the Setup & Cluster team, Enterprise , can emerge when a will look for the service pack version in the wrong location in the . The example given involved an designed especially for failing to install on an x64 of .

“The was checking for the OS version in a value, specifically: HKLM – – Wow6432Node – - NT – CurrentVersion - CSDVersion. On the x64 version of Vista , however this value does not exist. The correct value does show up under HKEY_LOCAL_MACHINE – - NT – CurrentVersion - CSDVersion however. This highlights an inherent problem with relying on the method to capture this information. As operating systems evolve, there is no guarantee that information will persist between operating systems, or in some cases there may be changes between service packs for the same ,” McArthur explained.

In this context, there are additional methods that can be used in order to avoid such a problem. WMI queries or programming interfaces are excellent alternatives to make an dig through the only to find nothing, even if the right and service pack are in place. McArthur advised developers to turn to the GetVersionEx function in order to test the platform version. At the same time, there are additional functions designed especially for service packs.

McArthur enumerated, “szCSDVersion: A null-terminated string, such as “Service Pack 3″, that indicates the latest Service Pack installed on the . If no Service Pack has been installed, the string is empty. wServicePackMajor: The major version number of the latest Service Pack installed on the . For example, for Service Pack 3, the major version number is 3. If no Service Pack has been installed, the value is zero. wServicePackMinor: The minor version number of the latest Service Pack installed on the . For example, for Service Pack 3, the minor version number is 0.”

Share and Enjoy: del.icio.us StumbleUpon Facebook Google Furl Live MisterWong.DE NewsVine Reddit Slashdot Technorati YahooMyWeb BlinkList description Fark Netvouz Spurl MisterWong Webnews.de Blogsvine description IndiaGram kick.ie Taggly E-mail this story to a friend! Print this article!

Tags:, , , , , , , , , , , , ,

Related posts

Written by Jason on August 26th, 2008 with comments disabled.
Read more articles on News.

Related articles

Comments disabled

Comments on this article have been disabled.