App Volumes provides command-line delivery options to get applications delivered in real time.

The two options for command-line delivery are as follows: app deliver, an application package is delivered and virtualized for the current session and app run, an application executable is also run after the package is delivered. The app run command can be used in the target path of an application shortcut or in the shell > open > command registry value of the file type association. When a user clicks open the shortcut or the file, the app run command gets the application package delivered, and launches the application or file.

For information about how Dynamic Environment Manager can be used to configure shortcuts, see Configure Shortcuts. To understand how Dynamic Environment Manager can be used to configure file type association, see Configure File Type Associations. Both sections are present in the VMware Dynamic Environment Manager Administration Guide at VMware Docs.

Criteria for using the svservice Commands

You must be aware of the following criteria when using the command-line options:

  • When assigning the application package to an entity, the Do not deliver for these assignments at startup or login option must be selected.

    For more information about this option, see Assign an App Volumes Application to an Entity.

  • The commands must be run only after user login.
  • Ensure that you are aware of the application GUID of the application package that must be delivered to the end user.

    Application GUID is an application property which is present in the App Volumes Manager admin UI, Applications page.

  • All App Volumes Manager servers and agent computers must be upgraded to App Volumes, version 2203 or later.
    Note: If you have captured a package using a version earlier than App Volumes 2203, you need not recapture the package to use the command-line delivery options. Upgrading the App Volumes Manager servers and agent computers to App Volumes 2203 allows you to use the command-line delivery options.
  • svservice app run command requires the exe_path of the application executable.

svservice app deliver

When the following command runs in a custom script from the location where the App Volumes agent is installed, the agent gets the application package delivered to the end user:
svservice app deliver {application_guid}
application_guid - GUID of the application package that gets delivered. Application GUID is present in the App Volumes Manager admin UI, Applications page.
To reduce the number of requests to App Volumes Manager and machine reconfigures performed by vSphere, multiple application GUID values can be specified in the command as follows:
svservice app deliver {application_guid1};{application_guid2};...

svservice app run

When the following command runs, the App Volumes agent gets the application package delivered to the end user and the application or file is launched:
<svservice.exe path> app run {application_guid} <exe_path> <arguments>
  • application_guid - GUID of the application package that gets delivered. Application GUID is present in the App Volumes Manager admin UI, Applications page.
  • exe_path - location of the application executable which must be run
  • arguments - there can be multiple arguments and this parameter is optional. For example: for file type association, file path must be provided as an argument.

The command-line application delivery functionality can be turned off using a registry key on the App Volumes agent. For more information about the registry key, see Configuration of svservice.