Showing An Application Version Number From The Registry

S

Steve!

Hi , Is there a way of showing a version number of an application from the
registry by calling a script or a batch file ?
I ask as i want to call users and easily get the serial version numbers of a
product located in
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products for example ?
Can a line from the registry be called and viewed on the desktop ?
At present i have to get the user to open the app , select help , about etc .
Many Thanks
Steve
 
J

ju.c

Easy,

Tell them to enter this line into the Run box and then tell you the
version number that shows in the command window. (This example
is for "Microsoft .NET Framework 3.5 SP1")

(All one line, no word-wrap)

cmd /k reg query
"HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\26DDC2EC4210AC63483DF9D4FCC5B59D\InstallProperties"
/v DisplayVersion


ju.c
 
T

Twayne

Steve! said:
Hi , Is there a way of showing a version number of an application
from the
registry by calling a script or a batch file ?
I ask as i want to call users and easily get the serial version
numbers of a
product located in
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products
for example ? Can a line from the registry be called and viewed on
the desktop ?
At present i have to get the user to open the app , select help ,
about etc .
Many Thanks
Steve

If you can write a batch to query their registries, it seems it'd be
fairly easy to run one to query their Help, About. Just run it
off-hours.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top