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

Take the Product Version from AssemblyVersion property ?

in my application i am using assembly: AssemblyVersion to show my application version and i want that when build my exe file that my application version will add to my exe file name.
is it possible to do it ?
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Take the Product Version from AssemblyVersion property ?

Hi,

I'm afraid I don't fully understand what is your scenario. Can you give us more details about your scenario (maybe exemplify)?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
gshhar
Posts: 11
Joined: Tue Oct 02, 2012 10:25 pm

Re: Take the Product Version from AssemblyVersion property ?

OK lets start over.

in my solution i have this property field: AssemblyVersion (string)
this field is my application version for example 1.0.5 and after every new build Visual Studio increase this number.
so my question is in Advanced Installer can read this string that the output file (EXE or MSI) will include this field in the output file name ?
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Take the Product Version from AssemblyVersion property ?

Hi,

In order to achieve this you can go in the Media page and in the "MSI Name" text field (or "EXE Name" text field) write the name you want to set for your package followed by the "[|AssemblyVersion]" property (i.e. MyMSI[|AssemblyVersion]).

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”