Sorry with val it doesn't work too.

with the "1.0 *" I get just the first digit. i think this is a problem about the "," char. in Switzerland we have comma separated not with a point.

@arend

With your solution i have the same problem with "@DOS"

now I make the check with @PRODUCTTYPE

 Code:
if @PRODUCTTYPE == "Windows 7 Enterprise Edition"
	;? "Do Something for Windows 7"
else
	;? "Do something for other Windows"
endif


in this way I don' t have the flexibility with a numeric variable. but on this way I can make different between the Windows 7 and the others.

thanks for your help

regards

christian