My current Install scripts can detect Win NT. I do not have any more detail that that. I now need to revamp them to detect Vista and have more precise versioning information.
I guess using SYSINFO can give me this information. Does anyone know what values are to be returned when detecting Win 2000, NT, XP and Vista? Do I use GetSystemInfo( WINMAJOR, nvResult, svResult)?
Thanks for your time,
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
InstallShield 6.3 and Vista
Started by
Blackdog
, Jan 31 2007 18:20
6 replies to this topic
Posted 01 February 2007 - 01:43
You need to use the system information calls to get both the WINMAJOR & the WINMINOR as those versions of Windows are as follows:
- Windows NT = v4.0
- Windows 2000 = v5.0
- Windows XP = v5.1
- Windows Server 2003 = v5.2
- Windows Vista = v6.0
Posted 25 November 2009 - 18:26
Hi,
Just to check:
What will be the WINMAJOR & the WINMINOR values for
WinVista 32-bit
WinVista 64-bit
Win2008 32-bit
Win2008 64-bit
Just to check:
What will be the WINMAJOR & the WINMINOR values for
WinVista 32-bit
WinVista 64-bit
Win2008 32-bit
Win2008 64-bit
Posted 30 November 2009 - 16:02
As far as I know, Windows Vista & Windows Server 2008 are both identified as v6.0 regardless of their 32/64-bit status.
Similarly, I believe that Windows 7 & Windows Server 2008 R2 are also both identified as v6.1 regardless of their 32/64-bit status.
Hope it helps and certainly feel free to correct me if I am wrong.
Oh by the way, for future reference, I updated the FAQ to include this additional information.
Similarly, I believe that Windows 7 & Windows Server 2008 R2 are also both identified as v6.1 regardless of their 32/64-bit status.
Hope it helps and certainly feel free to correct me if I am wrong.
Oh by the way, for future reference, I updated the FAQ to include this additional information.
Edited by Taco Bell, 01 December 2009 - 15:13.
Posted 02 June 2011 - 07:57
What will be the return values for nvResult and svResult for Win7 64 bit and Win7 32 bit in call GetSystemInfo( WINMAJOR, nvResult, svResult) ?
Posted 06 June 2011 - 13:42
That call won't distinguish between 32-bit and 64-bit OSes ussmitha, so it would return 6 and "6.1" respectively.
Posted 22 September 2011 - 08:39
Maybe you can check for some 64bit-specific system variables, like WINSYSDIR64
btw: Windows 8 should be "6.2"
btw: Windows 8 should be "6.2"
Edited by Perotin, 22 September 2011 - 08:40.
Gruß / regards
Thomas
Thomas