nope.
if it depends what $NavExecutable holds.
it's type (as you have written it as the first part of the comparison) determines the types for the rest.
if $NavExecutable is read from registry and looks like the version string in your case statement, then, they both are strings and the comparison is a stringwise one.
_________________________
!

download KiXnet