In Windows 7, it seems it's only possible to view a file's version number in the Properties dialog if it is a DLL/EXE file; if the file name extension is AX, it won't show the file's version number.

Are there any settings I can change to enable this for AX files?

link|improve this question

17% accept rate
What exactly is this .ax file type? – jay May 13 '10 at 9:57
@jay: It's a DirectShow filter (codec), internally just an ordinary Windows library. – grawity May 13 '10 at 11:53
It's strange Win7 doesn't show version numbers. In XP, the 'Version' tab is displayed regardless of what extension the file has, as long as it's a Win32 executable... – grawity May 13 '10 at 11:54
Oh I see, so AX is just a container extension? – jay May 13 '10 at 12:01
@jay: It's not a container. It's just an ordinary Windows DLL, which conforms with the DirectShow requirements (ie. has functions to encode video data or something). – grawity May 13 '10 at 14:57
feedback

2 Answers

The Windows executable formats (which are in files with the EXE and DLL extensions, among others), have the ability to hold that metadata specially. For any other file type, that would require not only the file format to have that metadata, but for Windows Explorer to know how to get the metadata back out. For example, when you click on an ODT file in Windows 7, no information about the file will appear unless you have installed OpenOffice.org or LibreOffice, which register a component that Windows Explorer uses to be able to display information such as the document's author and title in the Explorer window.

link|improve this answer
1  
(It might be possible to look in the registry to see if you can register the .ax filetype the same way that .exe is registered, so that Explorer will treat it as another executable. Then again, Microsoft may have intentionally removed such functionality; they have a long history of using the PE file format with different extensions and not letting you treat them as executables...) – Michael Trausch Jul 25 '11 at 7:43
feedback

I don't know if it'll work with .ax files, but Sigcheck from Sysinternals is what I use to display executable (exe/DLL) version and description from command prompt. Try it, it's only 114KB.

Edit
Sigcheck works with .ax files, too. Sample output:

sigcheck -a CoreAVCDecoder.ax
Sigcheck v1.71 - File version and signature viewer
Copyright (C) 2004-2010 Mark Russinovich
Sysinternals - www.sysinternals.com

C:\Program Files\CoreCodec\CoreAVC Professional Edition\CoreAVCDecoder.ax:
        Verified:       Unsigned
        File date:      1:26 AM 12/19/2009
        Publisher:      CoreCodec
        Description:    CoreAVC DirectShow Video Decoder
        Product:        CoreAVC Video Decoder
        Version:        2.0.0
        File version:   2.0.0
        Strong Name:    Unsigned
        Original Name:  CoreAVCDecoder.ax
        Internal Name:  CoreAVCDecoder
        Copyright:      Copyright ⌐ 2005-2009 CoreCodec, Inc.
        Comments:       http://www.coreavc.com

Edit 2:
Just to be clear, not all DLL/Exe contain WinPE resource block where version information is stored. If that's the case, you won't see 'Version' tab for those files. You can use Sigcheck to confirm this. If Sigcheck can't display version information of a file, it means that particular file does not have a proper resource block.

link|improve this answer
1  
Right on. Enjoyed reading your answer. – Larssend Jul 25 '11 at 7:56
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.