/build/static/layout/Breadcrumb_cap_w.png

Updating Adobe Reader without changing file associations

I am attempting to deploy Adobe Reader X throughout our organization. I created a package using the Adobe Customization Wizard X and it works great. However, some of our users have both Adobe Reader and Acrobat (lots of different versions from 5-9) installed on the same machine. When Reader X installs, it always sets itself as the default application for PDFs. This is usually not what the user wants if they have Acrobat installed.

The customization wizard only has two options here, either make Reader the default, or the installer will decide which will be the default. However, both of those seem to result in Reader becoming the default (all of our Acrobat Pro versions are older than Reader X, so maybe that's why?).

What I would like to do is simply check before installing reader to see what the user has set as the default, and then set it back to that once Reader has been installed. But I am still not quite sure which reg key is the one to check for this? If I look under HKCR, I see .pdf which shows a default value of AcroExch.Document. If I find that, I notice it has a Shell\Open\command key with a default of the path to Acrobat.exe. If I change this to something else, it doesn't seem to affect what program opens when I double click a PDF file. But there is another key called AcroExch.Document.7 with the same shell\open\command key and if I change that one, it does affect which program opens the PDF. So if I just write a script to change this key once Reader X has been installed, will that work or does it depend on what version(s) of Adobe products they have installed on their system?

Any suggestions would be appreciated.

Tim

0 Comments   [ + ] Show comments

Answers (2)

Posted by: jmcfadyen 13 years ago
5th Degree Black Belt
0
no need for scripts most of this can be handled natively using the appsearch functions.

the keys I suspect you are looking at are the correct location. However you need to be aware that

hkcr\.pdf will be linked to another location based on the value in the default key.

so you would need to read .pdf and store that value. then perform another lookup based on that value.

hkcr\<value from previous lookup>

this will make it a little more interesting to complete yet not impossible.
Posted by: adminboy 13 years ago
Senior Yellow Belt
0
Not sure what you mean by appsearch functions?
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ