Get DLL Version into Property - Advanced Installer Community
Antarctica
Posts: 110
Joined: Tue Jul 08, 2014 9:24 am

Get DLL Version into Property

Is there an existing way to get a certain File's version into a property, or will I have to write a custom action?

Let's say I have added MyLibrary.dll in "Files/Application Folder/lib/", and today version "2.5.0" is shown in Files. I now want to put that version string into a dialog in a manner that it auto-updates according to the version that file has when building the installer. Is this possible?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Get DLL Version into Property

Hi,

I'm afraid that we do not have predefined support for this, so you can achieve this only through your own custom action. You can take a look on the Getting the Fileversion from a File in MSI-Package thread which debates a similar problem.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”