Possible Problem With Version Number

Started by pepsisc, November 30, 2008, 04:30:11 PM

Previous topic - Next topic

pepsisc

randem:
 
Your knowledge of VB6 Project/Make environment far exceeds mine.
 
I just found out that if I compile a VB project and Auto Increment is on, the actual version of the compiled environment is 1 less than what the Project/Make shows.
 
For Example: I compile my app. Look at the Project/Make window and see the Version - 2.0.28.
Then do InnoScript and InnoSetup/Build. Run the application, look at the ABOUT screen and the version shows 2.0.27.  
 
However the file name of the Build is: Sports2028Relaease.exe.
 
Is there any code I can put ANYWHERE that would put everything in sync (Sports2027Release.exe, Version 2.0.27, etc.)
 
I know I can change the Parameter list or the contents of the VersionNumber in the Build list but I also know that there will be times when I forget.
 
Thanks,
Sam

Randem

A new version that corrects that issue has been uploaded. Thank you for reporting this issue.

Randem

Ok, That is a bug. The version number is put into the Parameters screen and never changed upon a new script generation. For the time being just remove the verion number from the parameter screen and then run InnoScript. It should correct the issue.

davethomson

Note: I created a new project and gave it the version numbers at 2.1.0. Made the .exe and the .iss file. It came out with 2.1.0.
 
Edited the project, change the version to 2.4.4, made the .exe, and the .iss file still has 2.1.0.
 
Really odd.

davethomson

I have sort of the same problem. I have InnoScript 9.2 Build 18, which I installed  in the past several days
 
I don't use the Auto Increment but I do change the Revision by  1, e.g. from 4 to 5. Make a new .exe file and then run InnoScript and it still maintains the previous Revision, e.g. 4.
 
I have change both Minor and Revision and still the same results, e.g. uses my old  numbers somehow.
 
Even opened the vbp file using the FILE > OPEN PROJECT. Same thing.
 
I have double checked that my VB file does have the Make: 8.6.5 and everytime it is that but non on InnoScript output. Even tried using 9.0.0. Same thing: reverts back to 8.6.4.
 
It really is no big deal as I can change the numbers when I run InnoSetup but still, your program used to do it for me.
I tried changing the Minor on another program, save it, make the .exe, and run InnoScript. Same thing. Numbers don't change.
 
So, What could I be doing wrong or is it InnoScript? And how would it know my old number?
 
Odd

Randem

When you auto increment the project after you create the exe, InnoScript reads the vbp file which you automatically incremented to get the version number. Either do not auto increment or decrement the version number before running InnoScript.

pepsisc

Randem:
 
I have noticed a possible problem with Version Number.
 
I am using VB 6 Enterprise Edition. In the Project Properties / Make window, I have Auto Increment turned on for the Version number. After a compile, I checked it. It read Major = 2; Minor = 0; Revision = 20.
I then executed the program from the VB window. Looked at the About screen and it said Version 2.0.20 (so far so good)
 
I then ran InnoScript and InnoSetup. Looking at the script, the version was 2.0.20.
 
I then did the Install, looked at the About window. This time the Version said 2.0.19
 
Sam
 
 
After running InnoScript,