Set Product/File Ver with Version read from a file? - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

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”