Solved

Registry value (or file) that contains OS version

Posted on 2008-06-12
8
277 Views
Last Modified: 2008-07-03
I am a software tester, and I have a software program that was built for Windows XP and specifically looks for XP SP2 when it installs.  If it does not find XP or SP2, the front-end installer program stops the install.  This program will eventually make its way to Windows Vista, so my goal is this:

I'd like to "trick" this front-end installer into thinking it is on Windows XP SP2, so that the program at least attempts to install itself.  I realize the implications of doing this, but I'd like to attempt it anyway.

So my question is:  does anyone have any insight into where in the registry (or a file) that applications usually query to find out the current version?  I've searched through the Vista registry for any instance of XP or the current OS build number (got the build number by running winver on an XP machine) and changed all of these to reflect an XP build.  Is there a program out there that does this?  I've also ran the installer in compatibility mode.  

Any ideas?
0
Comment
Question by:ctstone14
[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
  • 4
  • 2
  • 2
8 Comments
 
LVL 50

Expert Comment

by:jcimarron
ID: 21771866
ctstone14--You say your program looks for XP or XP SP2.  Would not that mean the program already knows where to look?
Just thinking out loud.  Maybe the program is not looking for a description of the OS, but rather if certain directories and files are to be found.
0
 
LVL 10

Expert Comment

by:MaduKp
ID: 21771927
you may find the true version here,
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\CurrentVersion
0
 

Author Comment

by:ctstone14
ID: 21771931
Yes it does know where to look but I'd like to know where that is... I haven't been able to trick it into thinking it's on XP SP2.  I could be wrong, but I don't think it's going and looking at file and folder structures...
0
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 

Author Comment

by:ctstone14
ID: 21771939
MaduKp -

I've tried changing that registry entry to relect XP SP2... no luck.
0
 
LVL 10

Expert Comment

by:MaduKp
ID: 21772012
found this , some ways of detecting the what is the actual operation system.

http://17slon.com/blogs/gabr/2007/02/four-ways-to-detect-vista.html

Hope this wil heklps you. But it seems to be tricking the software installer  is kind of hard work. sometimes software may be dtect your os by windows installer itself.
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 21772030
0
 

Author Comment

by:ctstone14
ID: 21772237
I've used compatibility mode for this program... it still says it need XP SP2.
0
 

Accepted Solution

by:
ctstone14 earned 0 total points
ID: 21782075
Found the problem... all I had to do was edit the MSI package with Orca, and take out everything in the LaunchConditions table.  I also took out another prerequisite function.  Thanks for all the replies, they put me on the right track.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
dialer.exe 4 74
Best book to learn C++ 4 97
How do ASP.NET and MVC work together? 4 76
system default settings 4 52
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
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…

739 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