Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2008-10-14
4
Medium Priority
?
441 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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 clear a vector as well as how to detect empty vectors in C++.

661 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