gshhar
Posts: 11
Joined: Tue Oct 02, 2012 10:25 pm

Change exe file according my Product details

under Product Details option in my project i can change my application version and under Media option in Output section i can give name to my exe file, my question is is it possible to my exe name will change automatic after new build according to my application version ?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Change exe file according my Product details

Hello,

In order to achieve this you can use the "ProductVersion" property. So you can set the "EXE Name" field from "Media" page like this:

Code: Select all

MyExePackage[|ProductVersion]
All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
gshhar
Posts: 11
Joined: Tue Oct 02, 2012 10:25 pm

Re: Change exe file according my Product details

Thanks!
and each time i am going to build new version i am need to change the version number manually (under product version) ? or maybe it can be done automatic ?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Change exe file according my Product details

Hello,

If you don't want to manually change the product version you can use our "Command Line" support. You can write your own script or BAT file which will set the "ProductVersion" property of your project and then will build your project.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”