Solved

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

Posted on 2008-10-14
4
405 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
Comment Utility
0
 

Author Comment

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

Author Comment

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

Accepted Solution

by:
thesultanofswine earned 0 total points
Comment Utility
No answer.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Can I legally transfer my OEM version of Windows to another PC?  (AKA - Can I put a new systemboard in my OEM PC?) Few of us are both IT and legal experts but we all have our own views of Microsoft's licensing rules and how they apply.  There are…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
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.

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now