Searching for the existence of the inetpub or wwwroot folder would do the trick.

Code:

$IIS1 = Exist ("c:\inetpub")
$IIS2 = Exist ("d:\inetpub")

Select
Case $IIS1 = "1" OR $IIS2 = "1"
?"ISS found"
Case $IIS1 = "0" AND $IIS2 = "0"
?"IIS not found"
EndSelect



Just expand with $iIIS3, etc... for more local drives.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.