the version of an existing internet explorer is in the registry.

HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer
"Version"="??????????"

just check to see if this key starts with 5

hope it helps...