Avatar of VBRocks
VBRocks
Flag for United States of America asked on

How to determine if Adobe Acrobat is installed?

Does anyone have a very reliable way of determining whether Adobe Acrobat is installed or not?

It needs to be consistent for different versions of Windows.

I was thinking about checking for the executible in the Program Files folder, but is that a guaranteed way of determining it?  Is there a way to query Windows to find out if a program is installed, or get a list of installed programs?

Thanks.
.NET ProgrammingVisual Basic.NET

Avatar of undefined
Last Comment
VBRocks

8/22/2022 - Mon
Bob Learned

You can look into the Windows Registry for the Adobe Acrobat key:
  HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Acrobat Reader

Bob
ddrudik

Query registry for:
HKLM\Microsoft\Windows\CurrentVersion\App Paths\Acrobat.exe

Also, there's:
HCLM\Microsoft\Windows\CurrentVersion\App Paths\AcroRed32.exe

The actual install paths are in Path value underneath there.
ddrudik

Sorry Bob, I was typing while you were.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Bob Learned

Never a problem with me ;)

Bob
ASKER CERTIFIED SOLUTION
ddrudik

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
VBRocks

ASKER
Thank you TheLearnedOne for your suggestion.  After a little looking around on the computers in our office, I found that the suggested key is not a completely reliable indicator, because computers that have Adobe Acrobat Professional installed, but not Adobe Reader, did have that key.  In addition, the subkeys (if any) vary per version.  This was the key you suggested:

    HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Acrobat Reader

The key suggested by ddrudik does seem to be more reliable, because computers that have Adobe Acrobat Professional installed, but not Adobe Reader, did not have the AcroRd32.exe key; computers that did have Adobe Reader installed, also had the AcroRd32.exe key.  In addition, the AcroRd32.exe key is the same key for both Adobe Readers 6.0-8.0...  (seemingly not version specific - other than 32 bit, which is what my program is anyway.).  ddrudik's recommendation:

    HKLM\Microsoft\Windows\CurrentVersion\App Paths\AcroRd32.exe

So thank you both again, very much!

ddrudik

Thanks for the question and the points.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
VBRocks

ASKER
Thanks for your help!