Running Brians latest offering on my system, returns the following:

Current file version is: 9.0.0.4527
9.0.3822 is not less than 9.0.0.4527

Obviously you're not comparing apples to apples. They do not have the same number of characters. Since it's not a 'value' compare but rather is a 'string' compare, hence the result.

What's wrong with checking for an exact match? Is there a chaance there's a newer version out there? If there is, I suggest you list all known variants in SELECT CASE statements.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.