Peter350
Posts: 30
Joined: Sat Oct 17, 2009 1:56 pm

Set Product/File Ver with Version read from a file?

I wish to automatically set Product or File Version for my MSI installer.

Ideally I would like to read in the file version from a file I am installing (major/minor/build) and have that automatically set as the file version which shows in my final isntaller file.

Alternatively, I would like to read in Version from a file information from a file (Created by Visual Studio during build)

I am attempting to integrate my MSI output Product Version with the build numbers I have already set in Visual Studio.

Is this possible?

Thanks
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Set Product/File Ver with Version read from a file?

Hi Peter,

You can use the /SetVersion command line option to set the version for an Advanced Installer projects. Use "-fromfile" parameter to set the version from a file.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”