It looks like there is a builtin function, VerCompare, but it requires strings that have all four components, e.g. 1.2.3.4. I haven’t tried to do string manipulation in InstallScript and was hoping someone already had the code to take a version string and add .0’s as necessary.
It looks like there is a builtin function, VerCompare , but it requires strings
Share
Needs some error checking, but here’s the general idea: