Old 16th September 2003, 13:13   #1
banaman8d
Junior Member
 
Join Date: May 2003
Posts: 19
Detecting windows variants

Hi,

I am trying to figure out what variant of windows I am running and the GetWindowsVersion and others don't seem to do the job when trying to find out whether I am running Windows NT 4 Terminal Server, or Windows NT4 Server, or Windows NT Workstation. I have been searching on MSDN to see if there is any information on how to do this, but I can't seem to locate it.

Is anyone out there doing this?

The basic idea of what I am trying to do is detect the following versions:

Server 2003
Server 2003-64
XP
XP-64
2000
NT4 Server
NT4 Workstation
NT4 Terminal Server
WIN9x (I don't care which)

I don't have any choice because the packages I am trying to install are made for these and give no concrete dependencies that I can match on like dll versions.
banaman8d is offline   Reply With Quote
Old 16th September 2003, 13:20   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Try the sysinfo plug-in by Sunjammer.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump