Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: How to get version number of any application installed on box

by bulk88 (Priest)
on Nov 23, 2012 at 02:55 UTC ( #1005202=note: print w/ replies, xml ) Need Help??


in reply to How to get version number of any application installed on box

Since you are on Windows, if you have a EXE or DLL, the majority of them have a version number in them if you right click-properties-version tab. http://search.cpan.org/~jdb/Win32-0.45/Win32.pm#Win32::GetFileVersion(FILENAME) will get you that info API wise. You are using an API from version.dll to get that info. So google version.dll and Perl and maybe you will find more.

Trying to extract the version number from MSI or the registry, I dont know about. You are venturing into the COM land.


Comment on Re: How to get version number of any application installed on box
Re^2: How to get version number of any application installed on box
by Anonymous Monk on Nov 23, 2012 at 03:15 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1005202]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2014-12-25 22:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (163 votes), past polls