I am using Inno Setup to generate the installer of my application. How can set the version number of the setup.exe (VersionInfoVersion
) generated by Inno to mat
In case you have a pure webinstaller, the accepted solution won't work, because you simply won't have an application.exe to get the version number from.
I'm using Nant and a build.xml
file with version number properties, which i manually bump, before i'm rebuilding the innosetup installers.
My *.iss files contain a special token @APPVERSION@, which is replaced with the version number during the build process. This is done via a copy operation with an applied filterchain, see below.
InnoSetup Script (*.iss)
// the -APPVERSION- token is replaced during the nant build process
#define AppVersion "@APPVERSION@"
nant build.xml: