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

Adding W2K to an old IS5.5 script


2 replies to this topic

Travis2002

Travis2002
  • Members
  • 24 posts

Posted 03 September 2003 - 16:17

In this install, it is having an issue creating a website for a W2K server.
It's fine for NT, but I think it's because when it does the 'check requirements' function, this script doesn't know how to locate Windows 2000. I'm not positive though.

Is it because it's using 'OS'? - which returns the platform of the target operating system. One of the following constants will be returned:
IS_WINDOWS - Operating system is Windows 3.1.
IS_WINDOWSNT - Operating system is Windows NT.
IS_WINDOWS9X - Operating system is Windows 95

Here is the code:
http://www.transit7..../spfm_setup.rul

.::Travis Mixon::.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 03 September 2003 - 20:30

(Moved topic to appropriate forum)

Windows 2000 will be identified as NT version 5.0. This means that IS_WINDOWSNT will be returned.
WINMAJOR = 5
WINMINOR = 0
bIsShellExplorer = TRUE;
bIsWindowsNT4 = TRUE;


Perotin

Perotin
  • Full Members
  • 407 posts

Posted 04 September 2003 - 09:37

And if there is need to find Windows 2003 Server, look for Windows 5.2.

IS_WINDOWSNT will be returned,
WINMAJOR = 5,
WINMINOR = 0,
bIsShellExplorer = TRUE,
bIsWindowsNT4 = TRUE.
Gruß / regards
Thomas