$ieversion = " NOT INSTALLED! "

If Exist ("C:\progra~1\intern~1\iexplore.exe") = 1

$ieversion = GetFileVersion ("C:\progra~1\intern~1\iexplore.exe","ProductVersion")
$x = SubStr($ieversion, 1, 1)

If $x <> "6"
If Open( 2 ,$loginLogsPath+"ie_version.txt" , 5 ) = 0
$dummy = WriteLine( 2 , @WKSTA + " | "+ $ieversion + " | " + @DATE + " " + @TIME + @CRLF )
$close2 = Close(2)
Else
SendMessage("scwh-it-006","error in ie version log file failed to open file, error code : [" + @ERROR + "]")
EndIf
EndIf
EndIf