I am trying to load software based on OS type. However this script doesn's seem to work properly.
The install doesn't run and the WMI script that follows this bombs out because WMI is not loaded. Thanks for the help.
code:
$OS = (@PRODUCTTYPE)

IF $OS="Windows 95" or "Windows 98"
? "Inventory Software Installation, Please be Patient."
SHELL "\\SERVER\NETLOGON\WMI9x /s"
ELSE
IF $OS="Windows NT" or "Windows NT Workstation"
? "Inventory Software Installation, Please be Patient."
SHELL "\\SERVER\NETLOGON\WMINT4 /s"

ENDIF
ENDIF