Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2008-10-14
4
Medium Priority
?
445 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

782 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