Solved

What registry settings does API VerifyVersionInfo use to determine the OS?

Posted on 2008-10-14
4
413 Views
Last Modified: 2008-11-09
Hi All,
I am looking for information on how the API VerifyVersionInfo determines the OS and Service Pack level.  I need to know which registry settings (or anything else) the API uses so I can fool an installer.  

Background:
I have an application with an installer that will only work with XP SP2, but I would like to have the installer work with XP SP3 also.  My idea was to create a script which will be ran XP SP3 systems prior to the applications installation which switches the registry settings the VerifyVersionInfo API uses to XP SP2 values.  After the application is installed, I would just run another script to return the registry settings back to their original XP SP3 values.

Thanks in advance for the help.
0
Comment
Question by:thesultanofswine
  • 3
4 Comments
 
LVL 16

Expert Comment

by:speshalyst
ID: 22714933
Im not a coder myself.. but this shoud give u a better insight..
http://msdn.microsoft.com/en-us/library/ms724429(VS.85).aspx
http://www.freevbcode.com/ShowCode.asp?ID=986 
0
 

Author Comment

by:thesultanofswine
ID: 22723890
Thanks speshalyst, but those links do not involve the VerifyVersionInfo API or the OSVERSIONINFOEX class it returns.
0
 

Author Comment

by:thesultanofswine
ID: 22840695
Doesn't look like anyone has the answer.  Thanks for the try speshalyst.
0
 

Accepted Solution

by:
thesultanofswine earned 0 total points
ID: 22840707
No answer.
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
Issue: Unstable cursor in Windows XP and Windows runs extremely slow in that any click will bring up the Hour glass (sometimes for several seconds before giving you what you want) . Troubleshooting Process and the FINAL FIX: This issue see…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question