Page 1 of 1

Version Variable

Posted: Fri Dec 09, 2005 2:43 pm
by jimo
The predefined VERSION variable is exactly the same as that under the "Project Properties" at the beginning of the script at the end just before the apply install it has appended the 4th place to the VERSIon.

i.e.: At start 7.50.3212, after apply install 7.50.3212.0

so the 7.50.3212.0 value is being written to the registry instead of the 7.50.3212 value.

THis is in the Final Beta

Posted: Fri Dec 09, 2005 2:57 pm
by sinan
The difference may be when running the setup inside and outside the IDE...

Posted: Fri Dec 09, 2005 5:20 pm
by jimo
What should it return outside the IDE?

Posted: Fri Dec 09, 2005 5:28 pm
by sinan
Outside will be with the .0, inside it will be the exact version number specified in the IDE. Is this not the behavior you are observing?

Posted: Fri Dec 09, 2005 7:03 pm
by jimo
Yes, that is it exactly, just wasn't prepared for the difference, can't debug in the IDE parseing the variable on the last occurance of . in the version.

I worked around it.

Thanks!