No need for the exit and ucase when done like this. More readable I think (at least to me it is).
Also Windows 2003 server Domain Controller exists so the extra case is added. If you just do $type = "1" or $type2 = "1" as far as I can test right now it will fail and install the veritas tool. Because both will be true.

Code:

$type1 = InStr(@PRODUCTTYPE, "Server")
$type2 = InStr(@PRODUCTTYPE, "Domain")

Select
Case $type1 = "1"
;Running on a server nothing.
Case $type2 = "1"
;Running on a domain controller do nothing.
Case 1
Shell "\\someserver\someshare\Veritas Backupexec DLO installer thingie.EXE"
EndSelect



Edited by Mart (2005-08-16 06:16 PM)
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.