I maintain a small app which is built in VC++ 2008 (a .net app) which I distribute using innosetup.
Currently I manually update the version number in the header of the main app:
static String^ m_version = "1.1";
static String^ m_build = "1";
The software puts this together internally to report v1.1.1
in this case. To do a release I then manually edit my .iss script:
#define MyAppVer "1.1.1.0"
#define MyAppVerName "MyApp v1.1.1"
OutputBaseFilename=Setup_{#MyAppName}_v{#MyAppVer}
Is there some way I can automate all ov this so I need only update the version number once?