Community Forums
Results 1 to 2 of 2

Thread: Adobe Reader doesn't launch on Windows 8.1 and Windows 10

  1. #1
    Join Date
    Jul 2017

    Adobe Reader doesn't launch on Windows 8.1 and Windows 10

    I am trying to launch Adobe Reader and display a pdf file as my install runs. This works well on Windows 7 and earlier versions, but in Window 8.1 and Windows 10, Adobe Reader starts up 2 instances (as seen in Task Manager) but nothing is ever displayed. I am using LaunchAppandWait, but have also tried LaunchApplication and other methods, all give the same result.

    STRING svAdobePathExe;

    function CheckIfAdobeInstalled()
    STRING szKey, svAdobeExe, svAdobePath, svAdobeVerNumInstalled;
    NUMBER nvType, nvSize,nReturn;

    bAdobeInstalled = FALSE;


    szKey = "AcroExch.Document\\shell\\open\\command";
    nReturn = RegDBGetKeyValueEx(szKey, "", nvType, svAdobePathExe, nvSize);
    if nReturn = RETRIEVED_VALUE && svAdobePathExe != "" then
    // Parse svAdobePathExe to remove extra items at end of string
    LongPathToQuote(svAdobePathExe, FALSE); //Remove double quotes
    ParsePath (svAdobeExe, svAdobePathExe, FILENAME_ONLY);
    ParsePath (svAdobePath, svAdobePathExe, PATH);
    svAdobePathExe = svAdobePath + svAdobeExe + ".exe";

    if Is(FILE_EXISTS, svAdobePathExe) = TRUE then
    VerGetFileVersion (svAdobePathExe, svAdobeVerNumInstalled);
    if VerCompare(svAdobeVerNumInstalled, MIN_ADOBE_VERSION, VERSION) = GREATER_THAN ||
    VerCompare(svAdobeVerNumInstalled, MIN_ADOBE_VERSION, VERSION) = EQUALS then
    bAdobeInstalled = TRUE;
    return bAdobeInstalled;


    function Display()
    STRING szCommandLine, strPDF, szProgram;

    szCommandLine = strLicenseFilesDir ^ strPDF;
    LongPathToQuote(szCommandLine, TRUE);
    LaunchAppAndWait(svAdobePathExe, szCommandLine, NOWAIT);

    Thanks for any help!
    Last edited by dwhisent; 07-24-2017 at 08:06 AM.

  2. #2
    Join Date
    Jul 2017
    OK, never mind. It is a Windows 10/Adobe Reader issue. Changing Adobe Reader preference enhanced security settings to turn off "Enable protected mode at startup" lets the pdf display

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts