What is an Application Package?
In App Volumes 4, applications are associated with certain VMDK or VHD files, which are called packages. (They were called AppStacks earlier, in App Volumes 2.x.) One or more packages are assigned to an application, and it is at the application level that you assign the packages to desktops.
With App Volumes, applications are presented to the operating system (OS) as if they were natively installed. Quickly providing users with applications that require no installation reduces infrastructure strain and overhead and simplifies application lifecycle management. When an application is no longer required, you can easily remove it.
Applications delivered by App Volumes follow users seamlessly across sessions and devices. Administrators can assign, update, or remove applications at the next user login.
In this lesson, you will:
- Create an App Volumes 4 application package
- Deploy the application package using dynamic marker-based assignments
- Update a deployed application package to a new version
Launch Firefox
![](https://media.screensteps.com/image_assets/assets/007/425/771/original/1b7e900c-85fa-4bb4-b114-91377c79637c.png)
On the Main Console desktop, launch the Firefox browser
Log in to App Volumes Manager
![](https://media.screensteps.com/image_assets/assets/007/425/773/original/0efa0f1e-a2ae-42f3-a110-f921a31fefec.png)
To login to the App Volumes Manager:
- Open the Region A shortcut folder
- Click on App Volumes Manager A shortcut
- Enter Username:
Administrator
- Enter Password:
VMware1!
- Click Login
Create a New Application
Applications are a logical construct new to App Volumes 4.x and represent a collection of packaged versions of a particular application. Packages are entitled to end users and computers at the application layer.
![](https://media.screensteps.com/image_assets/assets/004/636/090/original/2c7a291d-0f6e-4c80-93b3-9d0931d181ba.png)
- On the Applications tab, click Create
Enter the Application Name
- In the Name field, enter 7-Zip. Note that we are not entering an application version number, because the 7-Zip Application would likely contain several different versions of the 7-Zip software in a production environment.
- Click Create
Confirm Create Application
![](https://media.screensteps.com/image_assets/assets/004/636/094/original/2172691b-1331-438e-bff9-5b83a4a0a8ce.png)
- Click Create
Create a Package for 7-Zip
- In the Name field, enter
7-Zip 22.01
. Note that we are using the version name here, because we are creating a package for this specific version of 7-Zip. - Note the Delivery Type is Classic. On-Demand delivery is covered in Module 6.
- Click the Stage drop down and note the various lifecycle stages available with which to label this application. Leave the application stage at New.
- Click Create.
Confirm Create Package
![](https://media.screensteps.com/image_assets/assets/007/425/781/original/e3006623-f39a-47b1-8032-a03a9c9402b8.png)
- Click Create
Begin the Packaging Process
- From the Inventory tab, click Packages
- Click the + icon next to 7-Zip 22.01
- Click Package
Find a Packaging Computer
- In the Find Packaging Computer field, enter
Win10
- Click Search
- Select the radio button next to CORP\Win10-02A$
- Click Package
Confirm Start Packaging
![](https://media.screensteps.com/image_assets/assets/007/426/088/original/1a215085-94cf-45f0-b64d-ed39993561c2.png)
- In the Confirm Start Packaging dialogue box, click the Start Packaging button
Log in to vCenter
![](https://media.screensteps.com/image_assets/assets/007/426/090/original/fafd8457-c074-49f7-940f-b9a31cabdc5c.png)
To log in to vCenter:
- Click the + icon to open a new tab in the Firefox browser
- Click the Region A bookmarks folder
- Click vcsa-01a Web Client to open vCenter
- Enter Username:
[email protected]
- Enter Password:
VMware1!
- Click Login
Login to the Packaging Machine
The packaging machine is a specialized VM that is used to create application packages. It is running the same version of Windows 10 as the gold image that will be used to create the VMware Horizon pools to which we will be deploying App Volumes packages. In order to avoid capturing any unnecessary software in the App Volumes application package, a minimum amount of software and agents are installed on the packaging machine. Once the creation of the packaging machine is completed but before any application packages have been packaged, a snapshot of the packaging machine should be taken so that the packaging machine can be reverted to a known clean version for subsequent packaging captures. For more information on preparing the packaging machine, visit Best Practices for Packaging Applications.
- Scroll down in the list of VMs and Templates until you see Win10-02a
- Click on Win10-02a to select it
- Click Launch Web Console
Log in to the Packaging Machine
- Click Send Ctrl+Alt+Del
- Click Other User
- Enter Username:
user1mod5
- Enter Password:
VMware1!
- Click the arrow button to log in
Observe Packaging in Progress Dialogue Box
![](https://media.screensteps.com/image_assets/assets/007/426/828/original/db376813-58e3-45f1-b260-99d20ade015b.png)
Note the VMware App Volumes - Packaging in progress dialogue box in the lower right. Do not click OK at this time.
NOTE: The App Volumes popup may take 20-30 seconds to display.
Navigate to the 7-Zip Installer
![](https://media.screensteps.com/image_assets/assets/007/442/132/original/8d2f2d06-554c-4039-9aa8-fefcfd704e7f.png)
- Click the File Explorer icon in the taskbar
- Click Documents
- Double click on the HOL folder
Run 7-Zip Installer
![](https://media.screensteps.com/image_assets/assets/007/442/134/original/6bd62abc-ee0f-4142-a51e-b86f384ea32a.png)
![](https://media.screensteps.com/image_assets/assets/007/442/140/original/dd0a0ba7-55ec-4a7a-b742-0cd7c5622c3a.png)
- Right click on 7-zip_22.01-x64
- Click Run as administrator
- Click Install
Close 7-Zip Installer
![](https://media.screensteps.com/image_assets/assets/007/442/146/original/47ce77bb-e296-427e-8200-d87b08f7bf81.png)
- Click Close
End Packaging
![](https://media.screensteps.com/image_assets/assets/007/442/148/original/e1abfd65-ffe6-40e4-8827-8a3f026749b5.png)
![](https://media.screensteps.com/image_assets/assets/007/442/150/original/2022a531-a334-4a99-bd34-491bfd42beaa.png)
- Minimize any open windows so that you can see the Packaging in Progress dialogue box on the desktop. Click OK.
- Click Yes.
Finalize Package
![](https://media.screensteps.com/image_assets/assets/007/442/152/original/dec08d78-d34d-4021-b76b-edc423ca3c85.png)
- Click Finalize on the Finalize Package dialogue box. App Volumes will analyze the installed application, and then prompt you to restart the packaging machine.
Restart the Packaging Machine
![](https://media.screensteps.com/image_assets/assets/004/636/965/original/c641a927-bdfc-4615-b060-472b126e1f7a.png)
- Click OK to restart the packaging machine
Log in Post-Capture
After the packaging machine reboots, you will need to log in to the packaging VM as the capture user one more time to complete the package capture process.
![](https://media.screensteps.com/image_assets/assets/007/442/154/original/595272d7-611a-4814-be44-b362a0493e61.png)
- Enter password:
VMware1!
- Click the arrow button to log in
Packaging Successful
![](https://media.screensteps.com/image_assets/assets/004/636/969/original/deb39ea6-c711-43b8-834e-7973a1a50226.png)
Click OK on the Packaging successful! dialogue box to complete the capture process. It may take a few moments for it to appear.
Note: At this point in a production environment, we would revert the packaging machine back to a known clean snapshot in vCenter. Because this is the only application we are capturing in this lab, we are skipping this step in the lab.
Log in to App Volumes Manager
![](https://media.screensteps.com/image_assets/assets/004/636/137/original/be2e3ead-2342-4da2-b041-1f6bef740c71.png)
You may find that your session has timed out, and you must log in again.
- Enter Username:
Administrator
- Enter Password:
VMware1!
- Click Login
Mark 7-Zip 22.01 as Current
In App Volumes 4, you have the option to use dynamic marker-based entitlements when assigning application packages. Marker-based entitlements allow the App Volumes administrator to designate a package as Current, and then create an entitlement that states a given user, computer, or group should receive the version of the application that carries the Current tag. Static package-based assignments are also available should a user, computer, or group require a specific version of an application. If there is a conflict (i.e. if one user has both a dynamic and a static entitlement), static package-based assignments have precedence over dynamic marker-based assignments.
- Click Inventory
- Click Packages
- Click the + icon next to 7-Zip 22.01 to expand it
- Click the Set CURRENT button
Confirm Set CURRENT
![](https://media.screensteps.com/image_assets/assets/007/442/158/original/a4703f97-d988-44b8-8b7b-d8299c0206d3.png)
- Click Set CURRENT
Assign the Application Using the Current Marker
Next, we will assign the application to a group of end users using a dynamic marker-based entitlement.
- Click Applications
- Click the + icon next to 7-Zip
- Click Assign
Assign 7-Zip to Domain Users
- In the Search Active Directory field, enter Domain Users
- Click Search
- Tick the checkbox next to CORP\Domain Users
- Ensure the Marker radio button is selected
- Click Assign
Confirm Assign
![](https://media.screensteps.com/image_assets/assets/004/636/147/original/5756cf7d-b709-4443-867c-f9784df030b4.png)
- Click Assign
Launch the VMware Horizon Client
Next, we will log in to a VMware Horizon virtual desktop to verify that the assigned application package is successfully deployed.
![](https://media.screensteps.com/image_assets/assets/004/636/977/original/8ba3c223-25f4-40a7-8d0d-e02697ba86fc.png)
Minimize the Firefox Browser, and double-click the VMware Horizon Client on the desktop of the Main Console VM.
Choose a Horizon Pod
![](https://media.screensteps.com/image_assets/assets/007/632/347/original/5d3ffb6a-e4b8-44d7-a67d-38d0a9b25523.png)
Double-click horizon-01a.corp.vmbeans.com
Enter Credentials
![](https://media.screensteps.com/image_assets/assets/007/442/164/original/a1b1cd23-9f28-4ac2-89d2-ad353b1f722d.png)
Log into VMware Horizon.
- Enter Username:
user1mod5
- Enter Password:
VMware1!
- Click Login
Choose the Instant Clone Pool
![](https://media.screensteps.com/image_assets/assets/004/636/982/original/3f6bdf7c-b6a1-401f-b4c2-2c061e1a61ce.png)
Double click on the Instant Clone Pool to launch the virtual desktop
Launch 7-Zip
![](https://media.screensteps.com/image_assets/assets/004/636/983/original/485d780a-448a-478e-99f2-eda4834176df.png)
- Click the Start Menu button
- Click the arrow to expand the 7-Zip folder
- Click 7-Zip File Manager
Confirm that 7-Zip is Being Deployed Via App Volumes
![](https://media.screensteps.com/image_assets/assets/007/442/166/original/117ffac7-2eec-4daf-ac3c-228e624853c2.png)
Close 7-Zip. Note the Host Name of the virtual desktop you are currently logged into. It may differ from what you see in the image.
NOTE: The Host Name on the virtual desktop may take a few minutes to display.
Minimize the Horizon Client
![](https://media.screensteps.com/image_assets/assets/004/636/161/original/704ca2dc-a54b-4a76-ab60-ea11c31d7d4c.png)
- Minimize the Horizon Client using the buttons in the upper right of the Horizon Client Toolbar at the top of the screen.
Check Attachments in App Volumes Manager
- Return to Firefox and the App Volumes Manager tab, then Click Inventory
- Click Attachments to view all currently attached app packages
- Note the name of the Host Computer 7-Zip is currently deployed to. It should match the name of the Instant Clone desktop you were logged into in the Horizon Client in the previous step.
Update an Existing Application Package to a New Version
In this exercise, you will update an application package currently deployed using dynamic marker entitlements to a new version by moving the Current marker from one package to another.
![](https://media.screensteps.com/image_assets/assets/004/637/033/original/4a89bcc8-677f-4dc4-bd3c-734792e64466.png)
- Open the minimized Instant Clone Pool virtual desktop
Open Programs and Features
![](https://media.screensteps.com/image_assets/assets/004/636/167/original/1d744a6c-fb7d-4993-b359-6ce2d317982f.png)
- Click the search box on the taskbar, type
appwiz.cpl
and hitENTER
on the keyboard
- Expand the Programs and Features window until you can see the Version column on the right. Note that the currently installed version of VLC Media Player is 3.0.17.
Log out of VMware Horizon
![](https://media.screensteps.com/image_assets/assets/007/442/172/original/de8aa3d1-f3b2-4524-ab59-112efdafde8f.png)
![](https://media.screensteps.com/image_assets/assets/007/442/419/original/1e08bdaf-e894-4d0a-8d05-dce8e65daa7f.png)
- In the VMware Horizon Toolbar at the top of the screen, click the ellipsis
- Click Logoff Desktop
- Click OK on the confirmation pop-up
Move the Current Marker to VLC 3.0.18
In this lab, we have an existing entitlement for CORP\Domain Users to receive the version of VLC Media Player that is tagged as Current. To save time, we have pre-packaged the new version of VLC, Media Player 3.0.18. To update VLC Media Player for CORP\Domain Users, we need to move the Current marker from VLC 3.0.17 to VLC 3.0.18.
- Return to Firefox and App Volumes Manager tab, then click Inventory
- Click Packages
- Click the + sign next to VLC 3.0.18 to expand it
- Click Set CURRENT
Confirm Set CURRENT
![](https://media.screensteps.com/image_assets/assets/007/442/178/original/8a1d7558-b204-4ea9-a685-8b1c1c852512.png)
- Click Set CURRENT to apply the change
Note New Location of Current Tag
Note that the green Current tag has now moved to VLC 3.0.18. Only one version of an application package can be set to Current at a time.
Launch the Instant Clone Pool in the VMware Horizon Client
- Click the VMware Horizon Client shortcut on the task bar.
- Click the Instant Clone Pool.
NOTE: If you were signed out of horizon-01.corp.local, follow the below steps to sign-in again. Otherwise, continue to the next step.
![](https://media.screensteps.com/image_assets/assets/004/636/181/original/72bb3174-373b-44a4-bbe6-8ee433db1e3a.png)
![](https://media.screensteps.com/image_assets/assets/007/442/182/original/f743d78c-96df-43f8-b9c6-a9bb681f13f7.png)
- In the VMware Horizon Client, click horizon-01.corp.local.
- Enter
user1mod5
for User name. - Enter
VMware1!
for the Password. - Click Login.
Follow the first steps in this section to launch the Instant Clone Pool after logging in.
Open Programs and Features
![](https://media.screensteps.com/image_assets/assets/004/637/042/original/c6ecf5fa-7ebb-4a17-a2ff-2e9c0aa495f9.png)
On the Instant Clone Pool virtual machine:
- Click the search box on the taskbar, type
appwiz.cpl
and hitENTER
on the keyboard
Note the Installed Version of VLC Media Player
- Expand the Programs and Features window until you can see the Version column on the right. Note that VLC has been updated to version 3.0.18.
Log Off of the Instant Clone Pool
![HOL-2251-01-DWS - VMware Horizon - Getting Started with App and Desktop Virtualization | Lab Console | VMware Learning Platform - Google Chrome](https://media.screensteps.com/image_assets/assets/007/442/423/original/7ce24d8c-7c4a-4a8a-a854-bd70ea73bcad.png)
![HOL-2251-01-DWS - VMware Horizon - Getting Started with App and Desktop Virtualization | Lab Console | VMware Learning Platform - Google Chrome](https://media.screensteps.com/image_assets/assets/007/442/425/original/cbd014de-808b-4e61-881a-3beda76afb80.png)
- Click Options.
- Click Disconnect and Log Off.
- Click OK.