Ok after more testing, I am still having problems. To test I have the installer sending back what is set in the flag and displaying a message box. If I have the following (I know the flag is set to 23.01.25 as I have it showing in the heading):

If %INSTALLED_VERSION% Less Than "23.01.26" Then
Display Message Box ("Flag %INSTALLED_VERSION% is less than 23.01.26", "") [Noisy]
End
If %INSTALLED_VERSION% Equals "23.01.26" Then
Display Message Box ("Flag %INSTALLED_VERSION% equal to 23.01.26", "") [Noisy]
End
If %INSTALLED_VERSION% Greater Than "23.01.26" Then
Display Message Box ("Flag %INSTALLED_VERSION% more than 23.01.26", "") [Noisy]
End

I get no message boxes with the above, so I tried:

If %INSTALLED_VERSION% Less Than or Equal "23.01.26" Then
Display Message Box ("Flag %INSTALLED_VERSION% is less than 23.01.26", "") [Noisy]
End
If %INSTALLED_VERSION% Equals "23.01.26" Then
Display Message Box ("Flag %INSTALLED_VERSION% equal to 23.01.26", "") [Noisy]
End
If %INSTALLED_VERSION% Greater Than or Equal "23.01.26" Then
Display Message Box ("Flag %INSTALLED_VERSION% more than 23.01.26", "") [Noisy]
End

and I get both the attached message boxes.Name:  greaterthanorequal.JPG
Views: 331
Size:  14.2 KBName:  lessthanorequal.JPG
Views: 260
Size:  14.2 KB.

Any ideas, I am baffled.