cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
DMorisseau
Level 5

Retrieving embedded file version

I am developing an update package for a legacy product whose actual version number is not the version number that is retrieved by VerGetFileVersion, but the File Version or Product Version attribute that appears in the Other Version Information box that comes up when you view the File Properties in Windows Explorer. How can I retrieve this information, as I have to check a minimum version number to allow an update to occur.
Labels (1)
0 Kudos
(2) Replies
MrTree
Level 6

Hi,

if IS Method does not work, you should use a dll.

Here are some infos (and an example)

http://msdn.microsoft.com/en-us/library/ms647003(VS.85).aspx
0 Kudos
rguggisberg
Level 13

I have a bat file that retreives FileVer and ProductVer. It could easily be modified to do what you need and then call it from a CA. Let me know if you want to go that route.
0 Kudos