Acrobat Reader installed detection via JavaScript

I am curious whether or not Adobe plans on using AcroPDF.PDF.1 as an indicator of the most current version of Adobe Reader (for activeXObjects in Internet Explorer). I know that this will work for detecting whether Reader 7 is installed but now that I think about it, when Reader 8 comes out, if a user already has Reader 7 installed, obviously AcroPDF.PDF.1 will be defined in their registry so eval("new ActiveXObject('AcroPDF.PDF.1')") will return true. Does anyone know, Adobe specifically, how the next version of Reader will be classified in the ActiveX list (or registry key). Will it be AcroPDF.PDF.2?
The reason why I am asking is because I need to detect whether or not our clients have the latest version of Acrobat Reader installed for printing documents from our site. I apologize in advance if the following code looks really messy. This is my first post and I just pasted my code directly into the textarea box. Here's what my detection code looks like and works fine for now (but when Reader 8 comes out....hmmmm):
if(window.ActiveXObject) { // Internet Explorer  var tryReader7 = true;  for (var iVer = 20; iVer >= 0; iVer--) {   try {    if(tryReader7) {     /*********************************************      Check to see if Reader 7 is installed first.     TRUE: Break out of loop     FALSE: Set flag to false so that this check       isn't executed each pass through       by the loop     *********************************************/     tryReader7   = false; // We only want to check ONCE          var Reader7Exists = eval("new ActiveXObject('AcroPDF.PDF.1'); ");     if(Reader7Exists) {      // User met Adobe Reader Version Requirements      oReader.installed = "True";      oReader.version  = max_ReaderVerReq +".0";      oReader.message  = aMessageStatus[4]; //"Adobe® Reader® installed"      oReader.needsUpdate = 0;      break;      }    }        var ReaderExists  = eval("new ActiveXObject('PDF.PdfCtrl." +iVer+ "'); ");    if(ReaderExists) {     // User met Adobe Reader Existence Requirements     oReader.installed = "True";     oReader.version  = iVer + ".0";     oReader.message  = aMessageStatus[4]; //"Adobe® Reader® installed"     break;     }   } catch(e) { // (minimum|maximum) version not detected    oReader.message  = aMessageStatus[7]; //"You do not have the latest Adobe® Reader® installed or enabled.   }   }

I am trying with Reader 9.
I am not trying to print from the server. The printing will happen on the client computers that is why I am trying to print using javascript from an html page. My clients do have different versions of Reader from 6 to latest
Is there any way to achieve it with out installing anything else on the computers?
Thanks,

Similar Messages

  • Acrobat reader installed fine, but opens for five seconds and then closes. Using Windows 7 and mcafe

    Acrobat reader installed fine, but opens for five seconds and then closes. Using Windows 7 and McAfee on a Dell laptop.

    You can try using Windows Explorer to navigate to C:\Program Files (x86)\Adobe\Reader 11.0\Reader, then double-click on Eula.exe and accept the license agreement

  • Windows 7 check registry for acrobat reader install

    How can I check registry to detect if Acrobat reader (any version) is installed. I need to check this for Windows 7 and Windows Server 2008.
    For Windows XP I was able to do this by searching for key: HKLM\SOFTWARE\Adobe\Acrobat Reader\10.0\Installer OR HKLM\SOFTWARE\Adobe\Acrobat Reader\9.0\Installer
    and looking for the value of Path key.
    Please let me know. thanks

    SInce this is the Acrobat forum and not the Reader forum, I have no idea. You might try the Reader forum for the Adobe Reader product. There has not been an Acrobat Reader since version 5, and then it was also a different product.

  • Acrobat Reader not detected

    Hi
    I have enrolled in the Microsoft IT academy, and was able to complete the work, when one day the check at the beginning no longer detected acrobat reader plugin.  i updated and reinstalled acrobat reader, but it is still not picking up the plugin.  how do i fix this?
    thanks

    Interesting, thank you. Just a mistake, I think, or a very old site. It stopped being called Acrobat Reader almost 10 years ago.
    My advice is to test that Adobe Reader is able to show a PDF in your browser window (NOT in the Adobe Reader window). Here's a link to try: http://www.adobe.com/products/postscript/pdfs/PackingLightBrochure.pdf
    What happens?

  • Adobe acrobat reader install unsuccessful?

    I am uninstall a version of acrobat reader, and now I cannot install any version. Why is this?
    Same thing with Safari.
    Thanks!

    Don't know. You didn't provide any details so the chances of someone making an informed guess are slim.
    Perhaps you should post your question on Adobe's discussion forums since it's their software you're having issues with.

  • Lora dillenkoffer : acrobat reader install error 1500

    Hi, while installing Acrobat Reader 11, I get an error 1500: installation is already in progress. What to do?
    thank you

    Use the offline installer
    Windows: http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-windows.html#mai n-pars_header
    Mac OS: http://fpdownload.macromedia.com/get/flashplayer/current/licensing/mac/install_flash_playe r_11_osx.dmg

  • Acrobat Reader install failing but installer says it completed successfully

    I am trying install Acrobat Reader 9 on a Windows XP Pro machine.
    The download manager starts, says it is downloading and installing installing the reader, it completes the download, then it says installation was successful, and the download and installation progress bar is at a 100% but it hangs at that point.
    Tried closing the download manager it say it is still installing an application, close anyway, and check sure enough Acrobat Reader is not installed.
    If I try relaunch, it just goes straight to showing that installation is complete.
    At this point if you check add/remove programs the download manager is listed but Acrobat Reader is not.  If reboot, then neither the download manager or Acrobat Reader is listed.
    At this point if I go back to the download page, and relaunch the whole process it starts with wanting to install the download manager again.
    I have tried this with Anti-virus both enable and disabled now affect.
    Please help!!

    SInce this is the Acrobat forum and not the Reader forum, I have no idea. You might try the Reader forum for the Adobe Reader product. There has not been an Acrobat Reader since version 5, and then it was also a different product.

  • Acrobat Reader DC for Android &Javascripts in form cells

    Acrobat Reader DC for Android is not taking in consideration most of the Javascripts in form cells ( scripts were all produced in Acrobat XI) Worked fine in Reader 11.7.2 pre-DC for Android... Do you have any suggestions? he issue seems to be fairly general, since only my most simple script for adding times together is working, none of the others, no matter what they do...
    Sample already provided in one of my prev. posts, although the issue was different.
    Regards: Robert Bartok

    Hi Mevish,
    I had this issue earlier also with Acrobat Reader 11.7.2 on Lollipop 5.02
    but after a system component update the issue "sorted itself out"... right
    now I tried to run this on a Galaxy s6 Android 5.02, Acrobat DC fails, and
    at the same time, on the same phone Acrobat 11.7.2 (pre DC) succeeds. This
    is the case also with my other forms.
    Thanks for getting back to me. I'll try to get my hands on a 5.1 v.
    Android.
    Regards: Robert

  • No files opened in Acrobat X when opened via JavaScript (as ActiveXObject)

    Hi together
    In a web application (ASP.Net) we developed, the customers may open, edit and save pdf files. The files are stored on a network drive which is connected over a vpn tunnel. To edit the selected files, Acrobat is opened by a JavaScript from within our application. Then the needed documents are opened in Acrobat. This web application is in use by various clients since about 6 years and worked without problems with Acrobat 5 - Acrobat 9 (all Pro versions). However, in Acrobat X Pro no documents are opened (Acrobat itself is opened but just as an empty window).
    The JavaScript to open Acrobat and the files looks somehow like that:
    objAcro = new ActiveXObject("AcroExch.App");
    objAcro.Show();
    objDoc = new ActiveXObject("AcroExch.AVDoc");
    objDoc.Open("X:\Temp\File.pdf");
    Thank you very much for your help.
    Kind regards
    Thomas

    Hi Sabian
    Thanks for your hints. You pointed me to the right direction. I managed to open and edit the pdf files now, but it's not really very handy for everyday use. With the following settings, the documents are opened:
    - Enhanced security is switched on (files are not opened if switched off)
    - Protected view may not be set to off
    - I entered the url and the \\server\share where the documents are stored to the trusted sites
    So far, so good. But for every single file which is opened in Acrobat, I have to click the "activate all functions" button to be able to edit the files. This is not realistic in production because users edit more than 100 documets a day...
    Do you know if there is a possibility to confirm "activate all functions" once for all documents opened from trusted sites?
    Thank you for your efforts.
    Thomas

  • I have the latest version of acrobat reader installed (10.1.4.38) but it still says it needs updating

    Problem started out of the blue a few days ago. When I go to a page with a PDF file, it says "Plugin is vulnerable... click to start anyway" (paraphrased). When I look in Add-Ons, it has the following line about the Acrobat Reader "adobe acrobat is known to be vulnerable and should be updated 10.1.4.38". That is the latest version available.
    I tried updating it, removing it from my computer, reinstalling, etc, several times. No improvement - I still get the same message.

    Hi garyd11, has Adobe Reader ever run correctly on your PC, in other words, is this a new problem? Actually, regardless of your answer, if Adobe Reader has crashed, I suspect that restarting Windows might help.

  • Acrobat XI install problem via Creative Cloud

    I am a member of Creative Cloud. My CC app says Acrobat XI is installed and up to date. Yet in reality I only have Acrobat X in my applications folder, Acrobat XI is nowhere to be found. I need Acrobat XI, the CC installer is obviously confused. How can I get the CC app to get it all correct?

    If you do not want to keep Acrobat X, you might uninstall it and see if you can install XI. You might try to run the Acrobat Cleaner tool that shoudl wipe all traces of Acrobat (assuming you are on Windows).
    Download Adobe Reader and Acrobat Cleaner Tool - Adobe Labs

  • Acrobat Reader install from CD?

    I have just finished a project for work that needs Flash and Acrobat to be viewed. There is concern that a lot of our clients will not have access to the internet and not be able to download the Reader.
    Is there a way to put the installer on the CD so they can install it from there instead of the internet?
    Thanks
    Ryan

    Yes, you can use the full offline Reader installer from  
    http://get.adobe.com/reader/enterprise/
    However, I understand that for distributing this, you need a (free) license.

  • Acrobat reader install fails on vista - says close windows explorer

    I'm trying to install the latest reader on a Windows Vista laptop but the installation fails with an error message "you must close windows explorer".  In task manager there are no running applications but I can see explorer.exe in the list of processes.  I think this is running the desktop/taskbar so I don't want to close it.  Any ideas how to get round this?
    TIA

    This might work.
    1) Open Adobe Reader
    2) Go to Edit then Preferences
    3) Under Categories on the left side click on Internet
    4) Uncheck Display PDF in browser and click Ok.

  • Acrobat Reader X : Error using javascript with ProtectedMode on

    Stumped with an issue.
    I have a PDF with a mouseup event to trigger the PDF to SAVE to a network location and it works fine in v9 but with Reader X and enable Protected Mode turned on it throws the following error:
    NotAllowedError: Security settings prevent access to this property or method.
    Doc.saveAs
    I get the above error even though the NETWORK PATH has been added in Reader preferences as a trusted PATH and the web site is listed as a trusted site.
    What am I missing here?

    According to the documentation, I am supposed to be able to setup a POLICY file "ProtectedModeWhitelistConfig.txt" and add parameters to it such as
    FILES_ALLOW_DIR_ANY = c:\tempfiles\*
    FILES_ALLOW_ANY = c:\tempfiles\*
    I want the ability to save to a UNC network path...it worked fine in Acrobat 9 and now with sandbox security and protectedMode in "X" nothing works.
    In Acrobat X, if "enable protected mode" is on, NOTHING works and an error is thrown.  If it is unchecked, the saveAs works fine.

  • How do I install Acrobat Reader on a computer with no Internet connection?

    I have an elderly friend who does not have Internet access.  She needs to be able view PDF files on her computer which is running Windows 7.  I attempted to download Acrobat Reader install file and put it on a disk to take to her computer and install it there.  When I opened the file, it did nothing.  It just sat there.  When I opened the file a second time, I got a message that it had errors.  She lives 35 miles from me, so I need to get it right the next time!  I would appreciate advice on the following:
    What (free) Adobe PDF reader product / version would be best for her?
    How do I download the necessary file(s) via my computer & Internet connection and copy them to a CD or USB thumb drive, then take the file(s) to her computer, install and get the reader program up and running for her?
    Thank you for your help!

    You can get the full Reader installation from here: ftp://ftp.adobe.com/pub/adobe/reader/win/11.x/
    This is the XI version, which I think is more suitable for a computer without internet access, as the DC version will just nag you about connecting to the cloud and enabling "mobile link", which you obviously can't do without internet access.

Maybe you are looking for

  • Urgent problem for Oracle Agile 9.2.2.4

    HI, I have installed Oracle Agile 9.2.2.4 which is downloaded from eDelivery.oracle.com on my computer. but now, the problem is when I login the Agile, no components displayed in the left pane, but global search, bookmarks. I have enabled all modules

  • Required BAPI for changing vendor prices

    Hi experts, Can any one  change vendor prices using bapi inthe Transaction of MEK1, If yes please give the bapi name. My requirement is to change the vendor price from an a legacy file, am going to use BAPI for that. Anyone help this out. Thnx and Re

  • Can you authenticate users from 2 different AAA-servers for one specific tunnel-group?

    I need to authenticate users from two separate AD LDAP databases on the same tunnel-group. I would like them to use the same tunnel-group and thereby using the  same group-alias. I tried creating a new aaa-server group and putting both LDAP servers i

  • Check file size in ODI

    dear all, how to check file size in oracle data integrator. regards Naseer

  • Why can't we activate ipod touch after being registered?

    Just recieved an ipod touch as a gift. Someone told me that I could just log onto my already existing account with apple because I have an Iphone and just register my Ipod touch. I registered it and it still will not activate. Help