Version number limitation in MSI installer - 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!

tvertse
Posts: 1
Joined: Mon Aug 01, 2011 3:40 pm

Version number limitation in MSI installer

I have an Advanced Installer Enterprise project.
I build an MSI file with this project from command line.
When I attempt to overwrite the hardcoded ProductVersion in AI from command line, AI does not accept long version number:

I tried to path this version number: 5.7.0.137010 but AI says: "the version number is incorrect".
If I chunk the last digit, AI accepted the chunked id: 5.7.0.13701
I uses an aic file to setup version number and build msi:

Code: Select all

;aic
SetVersion 5.7.0.137010
Rebuild
I uses AI 8.1.2 (build 34928)

Is it a limitation in AI? Can you suggest a workaround how to preserve version number by MSI build?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Version number limitation in MSI installer

Hi,

This is a limitation in Windows Installer. The third version field has a maximum value of 65535. You can read more about it here: http://msdn.microsoft.com/en-us/library ... spx?ppud=4

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

Return to “Common Problems”