irajon
Posts: 3
Joined: Tue Sep 16, 2014 9:41 pm

Manage Version Control

I'd like to see the ability to automatically get version information from other places. It would be nice if it could get the information from a properties file.
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Manage Version Control

Hello and welcome to Advanced Installer forums,

To retrieve the Product Version from a file, right-click in the related edit box from the Product Details page and select the “Set version from file...” menu item. This will allow you to select a file from Files and Folders page. You can change the source file by clicking the [ ... ] button in the edit box.

You can revert to a simple string value by right-clicking in the edit box and selecting the “Set version to string value” menu item.

Note that Windows Installer uses only the first three fields of the product version. If you include a fourth field in your product version, the installer ignores the fourth field. You can take a look on the ProductVersion property article.

Please let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
irajon
Posts: 3
Joined: Tue Sep 16, 2014 9:41 pm

Re: Manage Version Control

This did not help.

From what I read, you can only get a version from a .EXE file. I was looking to get a version from a .properties or .ini text type file.
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Manage Version Control

Hello,

Yes, you are correct. The only way update the version automatically in the UI is to have a resource (DLL or EXE) with the version number which you have saved in your text file. You could for example create a dummy file in your build system for which you set this version.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”