Page 1 of 1

Able to use $VERSION$ in output filename?

Posted: Tue May 15, 2007 11:16 pm
by swarovski
I want the output filename like this:
Setup1.1.exe
Setup1.2.exe
etc.

But it seems that the output in project options does not recognise $VERSION$...

Any workarround suggested?
Thank you!

Posted: Thu May 17, 2007 7:24 am
by MichaelNesmith
#VERSION# would be a compiler variable, whereas $VERSION$ is an ordinary variable. However, a pre-defined compiler variable for storing the application version does not exist. You can try to define your own compiler variable for it and use it in both the project version field inside the IDE and also the output file name.

Posted: Thu May 17, 2007 10:58 pm
by swarovski
MichaelNesmith wrote:#VERSION# would be a compiler variable, whereas $VERSION$ is an ordinary variable. However, a pre-defined compiler variable for storing the application version does not exist. You can try to define your own compiler variable for it and use it in both the project version field inside the IDE and also the output file name.


Thank you Michael.