Able to use $VERSION$ in output filename?

Got a problem you cannot solve? Try here.
swarovski
Posts: 109
Joined: Mon Apr 16, 2007 8:32 pm

Able to use $VERSION$ in output filename?

Postby swarovski » Tue May 15, 2007 11:16 pm

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!

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Thu May 17, 2007 7:24 am

#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.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

swarovski
Posts: 109
Joined: Mon Apr 16, 2007 8:32 pm

Postby swarovski » Thu May 17, 2007 10:58 pm

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.


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 72 guests