Preparing a Snapshot for App-V 5.0 Testing Using the App-V 5.0 Client

AdminStudio 2020 | 19.0 | Automated Application Converter

To prepare a virtual machine snapshot for use by Automated Application Converter to perform testing of App-V 5.0 packages, perform the following steps:

Note:It is not necessary to create a snapshot for App-V 4.x package testing; you will have the option of choosing to install the App-V 4.x client at the time of testing.

To prepare a snapshot for testing of App-V 5.0 packages:

1. Launch the virtual machine and run the Virtual Machine Preparation setup, as described in Running the Virtual Machine Preparation Setup.
2. At the end of the Virtual Machine Preparation setup, you will be prompted to restart the virtual machine. Restart the virtual machine and verify that you are automatically logged in and that GuestAgent.exe is launched:

Note:The Guest Agent (GuestAgent.exe) is a tool that is launched on a virtual image that enables the Automated Application Converter to manipulate the virtual machine in ways that may be unsupported by its automation APIs. In particular, this enables launching and monitoring the Microsoft App-V 5.0 Client in an automated fashion.

3. Make sure that this snapshot meets the following requirements:

Requirement

Description

Operating System

Windows 7 SP1 or later

If you are using Windows 7 or Windows 7 SP1 (32-bit or 64-bit), download and install KB2533623:

http://go.microsoft.com/fwlink/?LinkId=286100 

PowerShell

Windows PowerShell 3.0:

http://www.microsoft.com/en-us/download/details.aspx?id=34595 

.NET

Microsoft .NET Framework 4 (Full Package):

http://www.microsoft.com/en-us/download/details.aspx?id=17718 

Note:These prerequisites are already installed for computers that run Windows 8 and Windows Server 2012.

4. Run the Microsoft App-V 5.0 Client installer (which you received when you purchased Microsoft App-V 5.0).
5. Shut down the virtual machine.
6. Take a snapshot, as described in Taking a Snapshot. If your virtualization technology supports named snapshots, give the snapshot a name that indicates its purpose, such as AutoRepack_AppV5Test.
7. If the virtual machine containing this snapshot is not already added to Automated Application Converter, proceed with the steps in Adding Virtual Machines Using the Virtual Machine Import Wizard. When you add this machine, make sure that you set its Purpose property to either Any or Testing. If this machine’s Purpose property is set to Repackaging, this machine will not be available when performing testing.
8. Open the Machines tab of Automated Application Converter and select the virtual machine that contains this snapshot.
9. In the Properties window under Machine Settings, enter the name of this snapshot in the App-V 5.x Client Snapshot field.