Hi!
Is it possible to include the value of a variable in the output filename?
The install file now is always named like the project, but we would like to have the version number encoded into the setup file without always having to rename the project or manually change the output filename.
regards,
Mike
Output filename with variable?
Mike,
use a compiler variable to hold your version number. A compiler variable is created in Project/Options... (CTRL+SHIFT+F11).
Then go to build settings and set an output filename based on your compiler variable.
Example: projectname#VERSION#
use a compiler variable to hold your version number. A compiler variable is created in Project/Options... (CTRL+SHIFT+F11).
Then go to build settings and set an output filename based on your compiler variable.
Example: projectname#VERSION#
Martin Rothschink
InstallAware MVP
AxoNet Software GmbH
http://www.axonet.de/products/other-pro ... stallaware
InstallAware MVP
AxoNet Software GmbH
http://www.axonet.de/products/other-pro ... stallaware
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Compiler variables are substituted at build time, whereas variables change value while the script is running. Please see help for more details.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: No registered users and 203 guests