could you please tell me how to obtain Adobe reader version by registry? thanks a lot.
PS: if you have java example, I am very happy with it.
could you please tell me how to obtain Adobe reader version by registry? thanks a lot.
PS: if you have java example, I am very happy with it.
I am sorry to say, you cannot. There is no single location that you can use to explicitly determine the current version.
Here are the generally accepted methods - all of them, to some extents, hacks.
Dig through the file system to find AcroRd32.exe. In that you can querry the version of the app. However, that does not tell you which version will auto launch depending on file ext or MIME type.
For that you need to start with the .PDF extension in the CLASSES area of the registry HKEY_CLASSES_ROOT\.pdf
Then dig up the PersistentHandler value and search on that - follow the chain - eventually you will find the path to the .EXE that is called when you double click on a PDF or try to surf one from the web.
If you are trying to determine, from inside a .PDF file, what version of Acrobat the PDF is being run on, there are two that can help using JavaScript.
app.viewerVariation - returns values such as 'Reader, Fill-In, Business Tools, Full' (available since Version 5.0)
and
app.viewerVersion - which will return the version number of the current viewer application. (available since Version 5.0)
How the code will work on non-Adobe products will be a exercise left to the reader.
I hope this helps.
Thanks.
Douglas Hanna is a member of the Production Print Technology team at Aon.
www.aonhewitt.com