“Unable to launch Reflection...” error when running App-V package under Windows 10

  • 7022796
  • 29-Mar-2018
  • 16-Mar-2020

Environment

Reflection Desktop (including Pro, for X, for IBM, or for UNIX and OpenVMS) 16.0 and later
Microsoft Windows 10
Microsoft Application Virtualization 5.2

Situation

When attempting to load a Reflection Desktop 16.1 Host session (3270 or 5250) running under Microsoft Application Virtualization (App-V) with Microsoft Windows 10 an error will occur which indicates “Unable to launch Reflection. Make sure Reflection is installed and registered properly.”

Resolution

To resolve this issue, a manual edit of the Microsoft App-V package can be done to relocate where Reflection Desktop looks for the Microsoft C++ redistributable files in the App-V package.  The change involves setting the location of specific redistributable files to the install folder of the Reflection Desktop software.

1. Open the Microsoft Application Virtualization Sequencer program.

2. Select “Modify an Existing Virtual Application Package.”

3. Select “Edit Package.”

4. Press Next.

5. On the Select Package dialog, choose the existing Virtual Application Package for Reflection Desktop 16 using the Browse button.

6. Press Edit.

7. Under the “Package Files” tab open the Virtual File System (VFS).

8. Change the folder which the following four files load from:

    [{SystemX86}]\msvcp120.dll
    [{SystemX86}]\msvcr120.dll
    [{SystemX86}]\msvcp140.dll
    [{SystemX86}]\vcruntime140.dll
                 to
    [{ProgramFilesX86}]\Micro Focus\Reflection\msvcp120.dll
    [{ProgramFilesX86}]\Micro Focus\Reflection\msvcr120.dll

    [{ProgramFilesX86}]\Micro Focus\Reflection\msvcp140.dll
    [{ProgramFilesX86}]\Micro Focus\Reflection\vcruntime140.dll


9. Save the updated Reflection Desktop App-V package from the File / Save menu.

10. Re-Install the Reflection Desktop App-V package on the App-V Client machine and run it.

Cause

The Reflection Desktop software requires a number of Microsoft Visual C++ redistributable files to load and run. These files are typically located in the C:\Windows\System32 folder but the Microsoft App-V Sequencer creates a package which cannot access these files at runtime.  The solution is to relocate these files to the C:\Program Files (x86)\Micro Focus\Reflection folder where Reflection Desktop can find them when loading.

When launching a Reflection Desktop 3270 or 5250 session, the error message “Unable to launch Reflection. Make sure Reflection is installed and registered properly” will appear since the Reflection Desktop session cannot find the Microsoft redistributable files.