cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Scott_Duckworth
Level 5

simple Version Number Question

Is Version number 1.0.1001.71 greater than 1.0.912.221 ?
Labels (1)
0 Kudos
(6) Replies
gridman
Level 8

I think so. InstallShield versioning is broken down into this:

Major.Minor.Build

So, I would think that each separate piece of your version number would be treated independently. Meaning 1.0.1001.71 would be greater than 1.0.912.221. Because the Build part 1001 is greater than 912.

Hopefully, someone else will verify this.
0 Kudos
Scott_Duckworth
Level 5

This is what I'm running into
My installs are Major Upgrades, New Product code each time
1.0.912.101 to 1.0.912.221 works
1.0.912.221 to 1.0.1001.71 says newer version is installed (1.0.912.221)

Looks like 912 is larger than 1001
0 Kudos
gridman
Level 8

I wasn't aware of that. Evidentally you can not have more than three digits.

If that is the case, then you would have to make your major upgrade be a build larget than 912, but less than 1000.

I was hoping someone else would confirm this.
0 Kudos
Scott_Duckworth
Level 5

I bet it's doing a text compare rather than numeric.

Someone from Flexera confirm?


thanks
0 Kudos
schmoli
Level 6

I only use 4 digits on my 4th [build #] (and inconsequential) set of numbers, but I've always found it best to zero pad (ie 1.0.2.0912) -- i've yet to hit more than 9999 w/o first resetting one of the other product numbers.
0 Kudos
Scott_Duckworth
Level 5

When during a Major Upgrade why would 1.0.912.221 be newer than 1.0.1001.71 ?
0 Kudos