Jump to content


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.
Photo

How know if the OS is a server W2K or a workstation W2K


3 replies to this topic

Eric

Eric
  • Members
  • 11 posts

Posted 16 March 2001 - 11:35

I would like know if my target computer is a server or a workstation (both on w2k).

I don't find property that give me this information.

Which mean use to determine it ?

Thanks

Eric


SteveP

SteveP
  • Members
  • 126 posts

Posted 16 March 2001 - 22:42

One way to accomplish this test would be to build a custom action around the API call VerifyVersionInfo.  This is part of Kernel32.dll and was implemented in Win 2000.  I have not had the opportunity to test this, yet, but will probably be using it in my install for server components.  Please send me an email if you would like to discuss this in greater detail.

Eric

Eric
  • Members
  • 11 posts

Posted 19 March 2001 - 11:08

Thanks SteveP,

I will test this api and I will keep you in form.