This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Check whethere Vista or not
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 03, 2009
04:56 AM
Check whethere Vista or not
Hi,
There is scenario below:
OS: Windows Vista Ulimate
1) An Installation was setup - Vista detected perfectly!!!
2) Then this Installation was uninstalled
3) Second attempts of the Installation detected that the OS is XP (Windows version 5.1) not 6.0 as it is expected
The script code that detects what OS is
RegDBSetDefaultRoot( HKEY_LOCAL_MACHINE );
RegDBGetKeyValueEx( "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion","CurrentVersion", nOS, svOS, nvResult);
MessageBox("CurrentVersion is: "+svOS, INFORMATION);
I will much appreciate help to this collision
Thanks
There is scenario below:
OS: Windows Vista Ulimate
1) An Installation was setup - Vista detected perfectly!!!
2) Then this Installation was uninstalled
3) Second attempts of the Installation detected that the OS is XP (Windows version 5.1) not 6.0 as it is expected
The script code that detects what OS is
RegDBSetDefaultRoot( HKEY_LOCAL_MACHINE );
RegDBGetKeyValueEx( "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion","CurrentVersion", nOS, svOS, nvResult);
MessageBox("CurrentVersion is: "+svOS, INFORMATION);
I will much appreciate help to this collision
Thanks
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 03, 2009
09:49 AM
Hello agyr77,
I allways use the properties VersionNT and WindowsBuild.
Have a look at:
http://msdn.microsoft.com/en-us/library/aa370556(VS.85).aspx
Regards!
Johannes
I allways use the properties VersionNT and WindowsBuild.
Have a look at:
http://msdn.microsoft.com/en-us/library/aa370556(VS.85).aspx
Regards!
Johannes
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)