NEWS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
Home > News > Microsoft > Tips & Tricks

Tips & Tricks


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

Application compatibility scenario

By Marius Oiaga, Technology News Editor

25th of August 2008, 13:32 GMT

Adjust text size:


Windows Vista
Enlarge picture
Making a 64-bit copy of Windows Vista Service Pack 1 confirm that it is actually Vista SP1 might require a minimum amount of effort on behalf of the end user, such as right-clicking My Computer and selecting Properties, but things are a tad different when an application is programmed to identify the operating system versions or the service pack releases. According to Scott McArthur, Support Escalation engineer with the Setup & Cluster team, Microsoft Corporation Enterprise Support, application compatibility problems can emerge when a program will look for the service pack version in the wrong location in the registry. The example given involved an application designed especially for Vista SP1 failing to install on an x64 copy of Vista SP1.

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

In this context, there are additional methods that can be used in order to avoid such a problem. WMI queries or application programming interfaces are excellent alternatives to make an application installer dig through the registry only to find nothing, even if the right operating system 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 system. If no Service Pack has been installed, the string is empty. wServicePackMajor: The major version number of the latest Service Pack installed on the system. 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 system. For example, for Service Pack 3, the minor version number is 0."

TAGS:

Windows Vista | SP1 | 64-bit
Read by 3,973 user(s) | Add comment | Link to this article TWEET THIS


Article rating:
Very Good (4.2/5) 4 vote(s)    

Subscribe to news | Print article | Send to friend

© Copyright 2001-2010 Softpedia
Contact:

 

 

SEARCH THE NEWS ARCHIVE :




Today's News
| Yesterday's News | News Archive


MORE RELATED ARTICLES:


Free Downloads of MapPoint 2009 and Streets and Trips 2009

Download Free Windows Server 2003 R2 Enterprise

Microsoft: PCs (with Vista) Are Superior to Macs (with OS X)

Windows 7 Beta Is on the Horizon, Forget XP SP3 and Vista SP1

Windows 7 Server Official Overview

Vista SP1 PCI Express Integration Problems

Microsoft Is Gearing Up for Windows 7 Downloads

The Core of Windows, Stretched Between Windows 7 and Windows 7 Server

Vista SP1 Evolves with New Reliability and Performance Boost

User opinions:

No user comments yet.
Be the first to express your opinion using the form below!

Share your opinion:

Your Name:
Your Email Address:
(will not be used for commercial purposes)
Solve this to prove you're not a bot: =
Your review/opinion:

 




Windows tabGames tabDrivers tabMac tabLinux tabScripts tabMobile tabHandheld tabGadgets tabNews tab

SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   ENTER NEWS SITE   |   ENGLISH BOARD   |   ROMANIAN FORUM