Grega
Posts: 24
Joined: Tue May 12, 2009 2:26 pm

Application version in the installer comments

Hi
I want to have the application version that is embedded in the installer somehow visible from the installer file. I was thinking to either put it in the comments or to have the product version sync with the file version? What do you think would be the best option and how would I do that if it is even possible?

Thanks,
any help greatly appreciated.
Greg
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Application version in the installer comments

Hi Greg,
I want to have the application version that is embedded in the installer somehow visible from the installer file.
In the Media tab of the "Media" page you can set a custom name for the package. This custom name can use the "ProductVersion" property so the name of the installer contains its version. For example, the name can be:

Code: Select all

MyPackage [|ProductVersion]
If you are using an EXE package, the name can be set in the bootstrapper tab.
I was thinking to either put it in the comments
The comments can be set in the "Product Details" page.
or to have the product version sync with the file version?
I'm afraid that this is not supported by Advanced Installer. A workaround would be to use the /SetVersion command with the "-fromfile" parameter every time you build the package.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Grega
Posts: 24
Joined: Tue May 12, 2009 2:26 pm

Re: Application version in the installer comments

Hi Cosmin,
cosmin wrote: I'm afraid that this is not supported by Advanced Installer. A workaround would be to use the /SetVersion command with the "-fromfile" parameter every time you build the package.
I tried this but I am not sure I quite understand.
"You have the possibility to specify the version through a versioned file. Instead of the version string, enter the path of the file which version will be used and add the -fromfile option."

I put the path string with -fromfile to the end but I get Error "The version format is incorrect."
Where am I supposed to do this. I put it in the Product version: field in the Product settings section.

thanks,
Greg
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Application version in the installer comments

Hi,
I put the path string with -fromfile to the end but I get Error "The version format is incorrect."
Where am I supposed to do this. I put it in the Product version: field in the Product settings section.
Please note that the "/SetVersion" command can be used only in the command line interface. A command does something to the project, it cannot be used as a parameter. Also, a command cannot be used in the graphical user interface of Advanced Installer.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”