Get Product Version of a DLL

Got a problem you cannot solve? Try here.
Obliterator
Posts: 53
Joined: Fri May 01, 2009 11:54 am

Get Product Version of a DLL

Postby Obliterator » Thu Mar 14, 2013 6:24 pm

Is there any way to retrieve the ProductVersion of a DLL (rather than the FileVersion) in IA?
I'm working with some third-party DLLs. It seems they update the product version field but not the file version fields!

I suspect I'm going to have to roll my own IA DLL basically wrapping the FileVersionInfo APIs...
Just hoping, such functionality/addin is already available somewhere and I've missed it!

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Get Product Version of a DLL

Postby FrancescoT » Fri Mar 15, 2013 11:25 am

Dear User,

unfortunately, you can retrive these information only using the WINAPI functions exported by the "Version" library.

More info about the library can be found at the following link;
http://msdn.microsoft.com/en-us/library/ms646981.aspx

Regards.
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

Obliterator
Posts: 53
Joined: Fri May 01, 2009 11:54 am

Re: Get Product Version of a DLL

Postby Obliterator » Fri Mar 15, 2013 11:49 am

Thanks, I suspected as much. I'll write a wrapper for that API for my setup and call that instead.
Cheers


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 127 guests