These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Multiple installs of Acrobat, IE6-8 Javascript locations???

webpointz
Registered: May 21 2009
Posts: 36

Here is the dilemma:

A user has say Acrobat 8.0 Pro installed and they install Acrobat Reader 9.2.

A PDF document in the browser (IE6-8) has an internal javascript (Acroscript) that calls a function.

Normally, locating a CONFIG.JS with the function inside of the "C:\Program Files\Adobe\Reader 9.0\Reader\Javascripts" folder works.

However, in some cases, the browser uses the "C:\Program Files\Adobe\Acrobat 8.0\Acrobat\Javascripts" folder and in other cases, it needs to be located in the user's "C:\Documents and Settings\USERNAME\Application Data\Adobe\Acrobat\8.0\JavaScripts" folder.

The bottom line is....is there ONE common place that this file can be placed to avoid putting it everywhere???

My Product Information:
Reader 9.2, Windows
try67
Online
Expert
Registered: Oct 30 2008
Posts: 2399
No.
This is just another reason not to have multiple versions of Acrobat/Reader installed on your machine.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

webpointz
Registered: May 21 2009
Posts: 36
Unfortunately, these residual folders left around are the result of Adobe not cleaning itself up after upgrades or uninstalls.

Let me put it another way...is there a DEFINED way to tell IE browser to ONLY USE Acrobat Reader to open PDF's in the browser, because even under the browser MANAGE ADD-ONS area, using Acrobat Reader 9.2, the internal plugins in IE are showing as Acrobat Pro 8.1.3.
try67
Online
Expert
Registered: Oct 30 2008
Posts: 2399
My suggestion is to uninstall both Reader and Acrobat, run the Windows installation cleanup utility, manually remove any remaining folders, and then install only Acrobat or only Reader.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

webpointz
Registered: May 21 2009
Posts: 36
I absolutely agree...but in an environment where we're talking about hundreds, maybe thousands of end-users, this isn't always possible.

I guess the bottom line would be...is there a way to better control the version being used by the IE plugin?

Thanks for your input.
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
In Acrobat 8 and earlier, it was the current running version that was picked up by the browser. This was great for debug since you could easily control which Acrobat/Reader was used in the browser by just starting it up. But in Acrobat 9 this all changed. Now it depends on a registry setting.

See this tech note:
http://kb2.adobe.com/cps/405/kb405461.php

Having Acrobat 8 and Reader 9 on the same system is probably not too unusual, but I'd think that this might cause oddities in operation. Don't know how will work out with the registry setting.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script