How can I sync ProductVersion with exe version? - 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!

Jedidja
Posts: 10
Joined: Sat Apr 17, 2010 6:20 pm

How can I sync ProductVersion with exe version?

We have a WPF project and during the build cycle, the AssemblyInfo.cs for the main executable is updated accordingly. Specifically, our executable's "product version" property is set to the form 1.x.x.xxx

How can I get Advanced Installer to set the ProductVersion property to match what is present in the executable's metadata?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: How can I sync ProductVersion with exe version?

Hi,

Unfortunately this is not supported by Advanced Installer. However, you can try creating a build script which retrieves the version an sets it for your product through the SetVersion command.

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

Return to “Common Problems”