Sequencing EXTRA! 9.x as a Virtual Application with Microsoft Application Virtualization 5.x

  • 7022834
  • 10-Apr-2018
  • 02-May-2018

Environment

EXTRA! X-treme 9.4
Microsoft Windows 7
Microsoft Windows 10
Microsoft Application Virtualization 5.1
Microsoft Application Virtualization 5.2

The sequencing steps described in this document were performed on:
       Windows 7 SP1 (64-bit) with .NET Framework 4.7.1 for App-V 5.1
       Windows 10 Enterprise Build 1709 with App-V 5.2

Situation

This article includes a recipe to sequence EXTRA! X-treme 9.4 so that it can run as a virtual application streamed from a Virtual Application Server or deployed with Windows installer technology using Microsoft Application Virtualization (App-V) version 5.0 and later.

Resolution

Before using the Microsoft Sequencer Package Configuration Wizard to sequence EXTRA! X-treme 9, document the sequencing requirements and steps by determining which EXTRA! X-treme components and features are to be installed, the location of installation files, and the location of any configured user data, such as session documents.  Some EXTRA! X-treme application components may not be needed and it is recommended to install EXTRA! on a stand-alone PC to help identify and document the installation steps in advance.

If EXTRA! has any service packs or updates, ensure that the service pack installer file, *.MSP, is available for installation during the sequencing process.  EXTRA! X-treme Productivity Microsoft Office Tools have not been tested to work with Microsoft Office streamed as a virtual application.


Use the Application Virtualization Sequencer Wizard to start the sequencing process with EXTRA! X-treme 9:

1. Launch the Microsoft Application Virtualization Sequencer.

2. Select “Create a New Virtual Application Packageâ€.

3. For the Packaging Method select “Create Package (default)â€.

4. Press Next.

5. Resolve any issues shown on the Prepare Computer list.

6. Press Next.

7. For the Type of Application choose “Standard Application (default)â€.

8. Press Next.

9. On the Select Installer dialog choose “Select the installer for the applicationâ€.
    Use the Browse button to find the EXTRA! X-treme SETUP.EXE program in the installation location.

10. Press Next.

11. On the Package Name screen enter the Virtual Application Package Name of your choice, like "EXTRA! X-treme 9".
      Enter the Primary Virtual Application Directory (required) name:
             For example:  C:\Program Files (x86)\Micro Focus\EXTRA!

12. Press Next.

13. Wait for the Virtual Environment to load.

14. Choose the Setup Language.

15. Press OK.

16. On the Micro Focus EXTRA X-treme Setup screen, Press Next.

17. Read and accept the License Agreement; then Press Next.

18. Personalize the installation by completing the User Name and Organization fields on the Customer Information screen.

19. Select Install this application for "Anyone who uses the computer (all users)".

20. Press Next.

21. On the Destination Folder screen, verify the installation file location.
      Following the example in this article:
             C:\Program Files (x86)\Micro Focus\Extra!

22. Press Next.

23. For the User Data Location there are choices for 4 installation locations:
           My Documents Directory
           Application Directory
           All Users\Documents Directory
           User Defined Directory

    Since this is a virtual package that is intended for numerous users, do not select the “My Documents†location
    as this will tie the   package to one specific user.  Instead use the "Application Directory" or the
    "All Users\Documents Directory".  If the host session files need to be saved on a per-user basis then there
    is a special internal variable that should be used with the "User Defined Directory" option.
 
           For the User Defined Directory option:
                 a. Select User Defined Directory
                 b. Press Next
                 c. On the User Data Destination Folder screen, click Browse
                 d. In the Folder Name field for installation on Windows 7 along with Windows 2008 R2 Server and later enter:
                           c:\Users\USERID\Documents\Micro Focus\Extra!
                 e. Press OK
                 f. Press Next

                 The USERID parameter is an internal EXTRA! variable and is NOT a Windows environment variable
                 and must be all upper case with NO percent signs surrounding it.  At EXTRA!’s runtime the USERID
                 parameter will be resolved to the name of the currently logged-in Windows user account.

                 The files located at:
                         C:\Program Files (X86)\Micro Focus\EXTRA!\macros | schemes | sessions\ENU
                 will be copied to the user’s personal folders location the first time EXTRA! is run for that particular user.

24. On the Setup Type screen choose Typical installation option.
    Choose the Custom setup type to de-select any features not needed so that they will not install.
            For example, de-select the following:
                  Utilities\Kerberos Manager
                  Utilities\Key Agent
                 Application Options\API Options
                 Application Options\Utilities

25. Click the "Install" button.

26. When the Installation has completed successfully, click the Finish button.

27. If service packs or updates are to be installed to EXTRA! Extreme:
            a. On the Installation dialog of the App-V sequencer, press the “Run†button
            b. Select the appropriate *.MSP file(s) to install a service pack, update or patch.

28. When the update or patch is installed or if there is no further .MSP updates to install continue on.

29. When the install is complete, check the box that says “I am finished installingâ€.

30. Press Next.

31. Wait while App-V collects the system changes and the Configure Software screen displays.

32. From the Configure Software screen, highlight the "EXTRA! Extreme" program choice and click on “Run Selected†to launch the application.
      (Do NOT click Run All.)

33. After all the applications and the EXTRA! Host sessions have been run and closed, press Next.

34. Verify the data on the Installation Report screen and resolve any issues.

35. Press Next.

36. On the Customize screen decide if further customization is needed.
            For example: if restrictions are required concerning different operating systems this is the time to do it.

37. If no further customization is needed select “Stop now.  Create a basic virtualization package (default).â€

38. Press Next.

39. Select “Save the package now†and enter the Save Location for the package contents.

40. Press Create.
      By default the App-V package will be located on the desktop of App-V Sequencing PC.

41. After the package is created press Close to finish and exit the Application Virtualization Sequencer program.
     Verify that there is an entry that says “Visual C++ Runtimes detected†on the Application Package report.

42. Copy the completed sequenced App-V package files to the Distribution Point or Virtual Application Server.

Additional Information

Follow these best practices for Sequencing with Microsoft App-V:
        1. Always use a clean sequencing PC that has not yet been used for sequencing an application.
        2. Install as a User account with local administrator rights on the PC used for sequencing.
        3. Turn off Windows Defender, Anti-virus software, Automatic Windows Update, and Windows Security Alerts.
        4. If User Account Control (UAC) is used on the client PC, then it should be turned on during the sequencing process.
        5. Sequence on the same operating system type, version, and patch level as the App-V Desktop Client systems.

The Microsoft App-V 5 Client and Sequencer machines under Windows 7 require a number of prerequisite software packages on the system to run properly and these will be installed as you run the Microsoft App-V 5.0 or 5.1 setup.  These are also documented at:  https://docs.microsoft.com/en-us/microsoft-desktop-optimization-pack/appv-v5/app-v-50-prerequisites

If using Windows 10 it is recommended that Windows 10 Enterprise version is used which contains the Microsoft App-V client version 5.2 already installed.  To enable the App-V client under Widows 10, use the "Enable-Appv" PowerShell command (Run as Administrator) or see Microsoft documentation for other methods on how to enable the App-V client.
     
Instead of using a Microsoft Virtual Application Server to deploy the sequenced application, the .MSI package created when you save EXTRA! X-treme sequenced as a virtual application can be used to run in a standalone environment.  Instead of streaming the virtualized application, this method uses .MSI installer technology to load and configure virtual applications onto PCs running the App-V Desktop Client.

Once EXTRA! has been sequenced and configured for streaming, copy the sequenced package files to the Virtual Application Server content folder, and then prepare EXTRA! for publishing along with assigning the virtual application package to users.  See Microsoft documentation for details about this process.

No special configuration of App-V 5 is required to use the Microsoft Office Tools Integration with EXTRA! X-treme 9 if Microsoft Office 20xx is installed locally on the App-V Client PC.

If the EXTRA! emulator is running in a virtual environment, APIs (like COM and HLLAPI) cannot be accessed by client applications that are running on the desktop outside of the virtual environment. Client applications like these that depend on components found in the directory where the emulator is installed will not work unless they are also installed on the server where the emulator software is located.