Page 1 of 1

Command line build and Product Version

Posted: Tue Jun 27, 2006 1:45 am
by Tinus
I know this has been asked a few times and I already searched the forum but I need a definite answer.

I want to set the Product Version on a command line build (FinalBuilder) from outside of the IDE.
I already created a compiler variable called VERS and used this in the first line of my script:

Code: Select all

Set Variable VERSION to #VERS#


Unfortunately I can't use #VERS# in the visual Project Properties for the Product Version and
the created setup EXE still has the FileVersion specified in the visual Project Properties.
Is there a way to force the FileVersion of the setup EXE to use my command line version?

Posted: Tue Jun 27, 2006 5:52 am
by MichaelNesmith
Actually, you may use compiler variables in the product version field. So that will take care of it for you.

Posted: Tue Jun 27, 2006 6:47 am
by Tinus
Thanks for the info,

I already tried this yesterday and it hasn't worked.
Nowit works! Seems I had a bad day, yesterday.