Your script is not properly formatted and therefore will never work. Unless it is not kixtart but some other scripting language.

Some issues with the code you posted:
- In kixtart variables or macro's have a $ (variable) or a @ (macro) as first character not a :.
- If is not a function so there is no need for the brackets.

This should work.
 Code:
Select
	Case InStr(@PRODUCTTYPE, "Windows NT")
		$OS_Type = "WinNT"
	Case InStr(@PRODUCTTYPE, "Windows 2000")
		$OS_Type = "Win2K"
	Case InStr(@PRODUCTTYPE, "Windows XP")
		$OS_Type = "WinXP"
	Case InStr(@PRODUCTTYPE, "Windows Vista")
		$OS_Type = "WinVista"
EndSelect


Edited by Mart (2007-10-02 07:25 PM)
Edit Reason: Woops used the wrong macro.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.