PDF opens in Adobe Reader using openWithDefaultApplication

Hi all

I'm having a huge problem.

I developed an application which opens PDFs from the desktop using openWithDefaultApplication().

It works fine on my PC that has Acrobat Pro development.

Open files in Acrobat Pro flawless.

It does NOT on the other PC that only have Adobe Reader.

Someone please help!

Does anyone know why my application will not open the pdf with Adobe Reader files?

All the tested PC are running Air 4.0 and Windows 7.

I tried with Adobe Reader X and XI.

Thank you in advance,

Mr12.

Update:

My stupidity.  Changed a way and still had the old folder on the development computer so everything seemed fine.  It is the question.

Tags: Adobe AIR

Similar Questions

  • How to automate so that pdf is always open in Adobe Reader ms in Windows 10

    Hello

    I need your expertise to solve the problem that I am facing currently. In this discussion, I'll write you what my needs are, how I use it and what problems are to come.

    My requirement-> In my organization, my client has a specific requirement that after they installed "Adobe Acrobat Reader DC", any pdf file should be opened in Adobe Reader DC editor only. For Windows 7, there is no problem. We have Adobe Reader DC scripted to open all PDFs in MS only, but for Windows 10, these mechanism were not working. In Windows 10, all pdf files open in Microsoft Edge by default. Now the user may have the ability to change default pdf file association (Control Panel-> set default Program Association) so that it will only open in Adobe Reader MS, but we are not allowed to think about this scenario because as a guy Packer SCCM deployment and Application, I need to automate everything. So, the scenario will be after you have installed Adobe Reader DC, opens in DC only.

    Best regards - I downloaded Adobe Customization Wizard 11 and from there also, I chose to make the default player. In WIndows 7, it works fine but the problem is in Windows 10.

    How do I use--> I have studied and found that in the registry location - HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pdf. If you delete it. PDF key, so for that particular user, the Microsoft association Edge breaks and after that, you enter this value

    AcroExch.Document.DC = 0 (DWORD) under 'HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pdf\OpenWithProgids' will solve the problem.

    But the question was to come because, under this key .pdf, there is a registry subkey under the name of "UserChoice" which cannot be changed by default. Yes, it sounds strange, but it is true that although user still HKCU don't have permission to change the key "UserChoice". And that's why, I'm not able to delete the entire registry key '.pdf '.

    But when I checked manually unless give you permission for this key ".pdf" and grant all permissions for the group "Domain users" and go to advanced and check the box 'Replace all entries authorization child object with entries permissions inheritable this object', then you will be able to remove all of the key ".pdf". I checked this manually and it works and it also so open any pdf in the DC Editor. And this is the reason why I use the SetACL.exe file.

    How do I use file-> SetACL.exe I created an empty file msi (Windows Installer) and I called this SetACL.exe in the Active configuration. I created a custom action with condition "NOT DELETE" so that this custom action will run for each user for the first time.

    The vbscript code that I wrote inside the Custom Action is.

    Set WshShell = CreateObject ("WScript.Shell")

    Set fso = CreateObject ("Scripting.FileSystemObject")

    SourceDir = Left (wscript. ScriptFullName, Instrrev (wscript. ScriptFullName, '-'))

    Path=WshShell.ExpandEnvironmentStrings("%ALLUSERSPROFILE%") "

    path = path & "\DC\SetACL32.exe".

    If fso. FileExists (path) then

    CmdLine1 = path, Chr (34) & Chr (34) & "-on" & Chr (34) & "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pdf" & Chr (34) & "- ot reg - actn ace - ace" & Chr (34) & "n: Users; p:full"& Chr (34) &" setprot - actn-op "& Chr (34) &"dacl:np"& Chr (34) & ' - clear actn - clr" & Chr (34) & "dacl" & Chr (34) & "rstchldrn - rst - actn" & Chr (34) & "dacl" & Chr (34)

    WshShell.Run cmdline1, 0, True

    CmdLine2 = "reg delete" & Chr (34) & "/" f "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pdf\UserChoice" & Chr (34)

    cmdline3 = "reg delete" & Chr (34) & "/" f "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pdf\OpenWithProgids" & Chr (34)

    cmdline4 = "reg delete" & Chr (34) & "/" f "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pdf\OpenWithList" & Chr (34)

    cmdline5 = "reg delete" & Chr (34) & "/" f "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pdf" & Chr (34)

    WshShell.Run cmdline2, 0, True

    WshShell.Run cmdline3, 0, True

    WshShell.Run cmdline4, 0, True

    WshShell.Run cmdline5, 0, True

    End If

    Now manually this script works fine but when I use it through MSI, it doesn't quite work.

    Please help me. Y at - it another way to automate so that the PDF file opens in Adobe Reader ms.

    Kind regards

    Yacoub

    Pune, India

    The problem is now resolved. The script is now maintained in the C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup folder and it works. The authorization applies successfully and also deleted .pdf registry key.

    PDF opening in Adobe Reader MS only.

  • Links in the PDF are not open in Adobe Reader

    I created a PDF file from Adobe Acrobat that has links that open external web pages that works perfectly in Adobe Acrobat, but when the PDF file is opened in Adobe Reader, nothing happens when you click on links on. The cursor changes and the URL is displayed when hovering above, but when clicked on nothing happens. Now I tried the CTRL key and change various parameters "Trust Manager" in Preferences, but nothing seems to work. Do I need to save the PDF in a different format to allow links to be opened in Adobe Reader?

    Using Adobe Reader Version: 11.0.3 and Adobe Acrobat Version 11.0.10

    Hi Fallynn,

    Try this:

    Open drive

    Go in Edition > Preferences > Security (enhanced)

    Uncheck the Enable Protected Mode option

    Click OK and restart.

    Now, check the PDF file.

    Thank you

    Abhishek

  • The research of the embedded index does not work for the PDF file opened with Adobe Reader in a browser

    Due to the way in which we use our Document management system, if we want to search through multiple or large files stored in our DMS PDF we merge PDF together and create an embedded index. This works perfectly well, when you open the PDF file in Adobe Reader standalone. Enter a particular term can bring 100 hits (very quickly) in the Adobe Reader search results pane.

    However, if we launch the PDF with Adobe Reader in Internet Explorer (any version), enter a term to search (contained in document) only get one result, that of the file name of the document itself.

    Unfortunately most of our users will access our DMS documents with internal links.

    Any ideas greatly appreciated.

    K

    It is a problem with Reader 8. You must use that...

    Using Reader 9. It will work well with it.

    -Arnav Agarwal

  • PDF file generated from Reporting SERVICES hangs when opened in Adobe reader 11 and saved as with "optimized for fast web view."

    Large pdf (over 1000 pages) generated files form SSRS crashes when opened in Adobe reader 11 and saved as with "Optimized for fast web view" activated. This saves fine with disabling this option. However, our customers are not ready to accept this solution because they do not want to change any settings. Please suggest if we should create a ticket with microsoft for SSRS allow the generation of pdf quick display of Web pages or is it an option in Adobe to fix this problem without changing the settings.

    The SSRS file has Fast Web View: 'No' and that's how Microsoft SSRS generates these files.

    Thank you for the complete maxwyss response

    As you have indicated, the PDF SSRS seems to have some elements that are quite similar to be supported for fast web view.

    We asked customers to disable the fast web view, but the customer is big enough to make a change individually on their machines and so were looking for a solution.

    I saw in several forums and a few discussions here as well as disable the fast web view option works for pdf fails.

    Which was just wondering if its known that multiple PDFs genarted by third parties may have problems with the optimization, the Save as optimized for fast web view could be disabled by default installation of acrobat reader rather than be enabled by default

    Thanks again for the reply!

    PS: links indicating similar problems

    https://forums.Adobe.com/message/7965091#7965091

    https://forums.Adobe.com/thread/1456971

    How to fix Adobe Acrobat "save under" error - Digital Factory tool blog

    https://social.msdn.Microsoft.com/forums/SQLServer/en-us/63cf1325-2054-4ef1-9c5d-631da6a30 cfc/file-size-of-exported-pdfs? Forum = sqlreportingservices

  • With the help of Windown 10, not all pdf documents launch Adobe Reader DC.  As a result, I have not all normally available printing options.  How can I get Reader to open the default player.  I need to clear, step by step direcitons, please.  Thank you

    With the help of Windows 10, not all pdf documents launch Adobe Reader DC.  As a result, I have not all normally available printing options.  How can I get Reader to open the default player.  I need to clear, step-by-step instructions, please.  Thank you

    Hello

    Please visit the following link to set the reader as default PDF reader.

    Restoration of Adobe Acrobat Reader in the default PDF Viewer

    Concerning

    Sukrit diallo

  • Why can I open PDF hyperlink in Adobe Reader ms

    Why can I open PDF hyperlink in Adobe Reader ms that I created of MSWord?

    I found how to solve my problem to unlock hyperlinks in PDF format to access other sites, I created.

    See the link:

    Adobe Acrobat X Pro * allow or block connections to the Internet in PDF files

  • How to enable a LiveCycle PDF form in Adobe Reader?

    I have a PDF interactive form that I created in LiveCycle. However, when opened with Adobe Reader, the user cannot save it. They can print only to the reader. How to enable LiveCycle PDF form in Adobe Reader?

    Add save rights with Acrobat.

    Free you can form in Acrobat and then record it using file > save as other > Reader Extended PDF > activate tools more.

  • When logged in with an account of some, all user programs open with Adobe Reader in Vista

    Hi there my problem is - in one of the 'user' I can't open any program, all programs are open with adobe reader; But if I connect with another 'user' it works properly.can someone help me?

    Thank you

    e. Singha

    * original title - Hello all my problem is - in one of the users, I can't open any program, all programs are open with adobe reader; But if I connect with another 'user' it works properly.can someone help me? *

    Hello
    I suggest you to check the default program that is set to this user account. Do follow link below:
  • Unable to save the .pdf file in Adobe Reader 7

    I have download Adobe 7, but I can't change the default for adobe 6 .pdf extensions so that pdf open with adobe 7.

    Adobe 7 works well if I open it and I can read PDFs with it.

    Hello

    Check with Support Adobe and their Forums.

    Adobe - Support
    http://www.Adobe.com/support/

    Adobe - communities
    http://www.Adobe.com/communities/

    Adobe - Forums
    http://forums.Adobe.com/index.jspa

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • executable files (.exe files) are opened in Adobe reader.

    • My friend, I don't understand how he did it, changed the .exe on its computer files settings. He says, click with the right button on a file .exe, selected option «openwith...» "and chose the adobe reader software. Now all .exe files are being opened on the adobe reader, including the filesystem as guest, paint, calculator, browsers, uninstaller etc. Now, we can not even uninstall the adobe reader software, since even the unistaller is an exe file and will open in adobe reader. System Restore does not work. What can I do to help him?

    Hi Christophe,

    If you can access the internet somehow, if you are using Vista, go to http://www.mydigitallife.info/2008/06/22/reset-and-fix-broken-windows-vista-file-ext-and-type-associations-include-exe-com-sys-zip-lnk-folder-drive/ and scroll to the EXE and click or double-click it to run the program to restore EXE file associations. Once done, do the same for LNK entry. That should restore your programs. If you are using Windows 7, go to http://www.SevenForums.com/tutorials/19449-default-file-type-associations-restore.html . If you are using XP, go to http://www.dougknox.com/xp/file_assoc.htm.

    If no internet access, copy the appropriate reg entries to a flash drive on another computer, transfer to Office the 'bad' computer to and run them from there to make the changes.  Reboot and you should be good to go.

    If it still does not help, try the following guide to our Member Brian M - which shows four methods that can be used to fix the Windows file associations.

    Guide: http://www.selectrealsecurity.com/fix-programs

    I hope this helps.

    Good luck!

    Kosh

  • How to make the focus at Adobe Reader using JavaScript

    Hello

    I launch a URL in my PDF startup script in Adobe Reader (using app.launchURL).

    How can I return the focus to Adobe reader, so this window belongs to new assets above the browser?

    I am able to handle it in a browser (like IE) using Java, but other causes me problems, that is why I wonder, if the Acrobat JavaScript code could help me!

    Thank you!
    By

    You can't do that with Acrobat JavaScript.

  • exe files open with adobe reader

    accidentally, I changed my default thing to adobe reader, how can I activate this return? all my files .exe now opens with adobe reader, System Restore does not (the software adobe reader bed) I can't uninstall adobe reader software, there is no "open with...". "on the options of .exe file and I tried the thing of default programs in Control Panel and clicked on the Protocol etc but I can not find .exe. I can't run any .exe file now coz adobe reader is the default value. any help? Thank you

    Hello JohnDeCastro,

    Thank you for posting.

    Ppl repeatedly face problems when opening. EXE files.

    • The EXE file opens in Notepad.
    • EXE file opens in a few other installed programs.
    • Windows displays the 'Open with' dialog box to select the program.
    • Windows displays the error message "Windows cannot find .exe file. Make sure you typed the name correctly.

    Most of the time it happens when you accidentally replace. Type of exe to Folder Options settings. Sometimes, it can happen due to the virus.

    In any case no need to worry. Here's a solution that will fix this annoying problem:

    1. open RUN command prompt by typing the command in the dialog box.

    2 provide now following command:

    cd\windows

    3 it will activate the Windows folder. Now provide following command to open the Registry Editor:

    Regedit

    4 now goto following key:

    HKEY_CLASSES_ROOT\.exe

    In the right pane, change the value of default elements exefile key

    5 now goto:

    HKEY_CLASSES_ROOT\Exefile\Shell\Open\Command

    In the right pane, change the value of the default key to:

    "%1" %*

    6 that's it. Now, quit the registry editor and restart your Windows. Now you should be able to open EXE files without any problem.

    Please let me know if this helps you.

    Zack

    Microsoft Answers Support Engineer

  • I cann't open exe file when I open always open with adobe reader.when I uninstall adobe reader my exe file work but I still need adobe for my pc

    I cann't open exe file when I open always open with adobe reader.when I uninstall adobe reader my exe file work but I still need adobe for my pc.

    Hello

    read this and see if this solves your problem

    http://www.Winhelponline.com/blog/restore-exe-file-Asso-Windows-7-Vista-incorrectly-associated/

  • How to flatten a pdf file in Adobe Reader XI?

    How to flatten a pdf file in Adobe Reader XI?

    Adobe Reader and Adobe Acrobat is not the same.

    Adobe Reader is the old name and Acrobat Reader is the new name of the PDF Viewer free.

    Adobe Acrobat is not free.

Maybe you are looking for