This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Adobe Reader doesn't launch on Windows 8.1 and Windows 10
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 24, 2017
08:03 AM
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;
RegDBSetDefaultRoot(HKEY_CLASSES_ROOT);
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);
FixVersionIfNecessary(svAdobeVerNumInstalled);
if VerCompare(svAdobeVerNumInstalled, MIN_ADOBE_VERSION, VERSION) = GREATER_THAN ||
VerCompare(svAdobeVerNumInstalled, MIN_ADOBE_VERSION, VERSION) = EQUALS then
bAdobeInstalled = TRUE;
endif;
endif;
endif;
return bAdobeInstalled;
end;
function Display()
STRING szCommandLine, strPDF, szProgram;
szCommandLine = strLicenseFilesDir ^ strPDF;
LongPathToQuote(szCommandLine, TRUE);
LaunchAppAndWait(svAdobePathExe, szCommandLine, NOWAIT);
...
Thanks for any help!
STRING svAdobePathExe;
function CheckIfAdobeInstalled()
STRING szKey, svAdobeExe, svAdobePath, svAdobeVerNumInstalled;
NUMBER nvType, nvSize,nReturn;
bAdobeInstalled = FALSE;
RegDBSetDefaultRoot(HKEY_CLASSES_ROOT);
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);
FixVersionIfNecessary(svAdobeVerNumInstalled);
if VerCompare(svAdobeVerNumInstalled, MIN_ADOBE_VERSION, VERSION) = GREATER_THAN ||
VerCompare(svAdobeVerNumInstalled, MIN_ADOBE_VERSION, VERSION) = EQUALS then
bAdobeInstalled = TRUE;
endif;
endif;
endif;
return bAdobeInstalled;
end;
function Display()
STRING szCommandLine, strPDF, szProgram;
szCommandLine = strLicenseFilesDir ^ strPDF;
LongPathToQuote(szCommandLine, TRUE);
LaunchAppAndWait(svAdobePathExe, szCommandLine, NOWAIT);
...
Thanks for any help!
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 24, 2017
03:22 PM
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