Newbie Problems - Getting the FileVersion - 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!

Anthrax
Posts: 19
Joined: Tue Jul 31, 2007 1:51 pm

Newbie Problems - Getting the FileVersion

Hi,


I´m trying the Trial-Version of Advanced Installer to see, if this software
is useful for our company. (Instead of the MS VisualStudio).
An now, I have some problems:

I want to use the file-version from my developed files (which you can see in the file-properties in windows explorer). With every Build, this number will change. Is it possible to get the version of the file and replace the existing value for the version in Advanvced Installer?

Thanks in advance

Anthrax
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

You can accomplish this by synchronizing a folder in the "Files and Folders" page.

For example: in the "Properties" page of "Application Folder", in the "Synchronize" tab, you set the path to a folder on the disk where you have the files and folders in your package. Every time you modify something (the version of a file for example) the change is also made in the AI project.

If this is not what you need then please give more details!

Regards,
cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Anthrax
Posts: 19
Joined: Tue Jul 31, 2007 1:51 pm

Hi,

Thanks for your reply.
That´s an interesting way.
But i want to replace the [ProductVersion]-Property with the version
from my file, so that i can start building the package with the actual version-number set.

Thanks in advance
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

You can do this by using the command line.

You can read about the Advanced Installer command line here:
http://www.advancedinstaller.com/user-g ... -line.html
Here is how to set the version from a file:
http://www.advancedinstaller.com/user-g ... rsion.html

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

Return to “Common Problems”