Use the AppCapture command-line options to create and manage AppStacks.

AppCapture.exe Command Options

The /meta, /vhd, and /vmdk options are useful if you accidentally delete a JSON, VHD, or VMDK file. If a JSON file is deleted, App Volumes cannot read the AppStack.

You can personalize an AppStack using the /personalize command.

The AppCapture.exe command accepts the following options:

Table 1. AppCapture.exe Command-line Options

Task

Option

Display help for the AppCapture.exe command.

/?

Specify an author's name for the AppStack. If the name contains at least one space, put the name in parentheses.

Example: AppCapture.exe /n /a (IT Admin)

/a

Specify a description for an AppStack.

Example: This disk contains XYZ suite of applications.

/d

List the contents of the AppStack JSON, VHD, and VMDK files. If you are not using the default directory, specify the directory where the files are located.

Example: AppCapture.exe /list filePath

/list

Generate a .json file by using a VMDK file as input. If you are not using the default path, specify the path containing the VMDK file.

Example: AppCapture.exe /meta appStackPath.

/meta

Create an AppStack.

Example: AppCapture.exe /n

/n

Specify an output directory for the AppStack files. The default directory is C:\ProgramData\VMware\AppCapture\appvhds.

You can use this option with the /s option to create an AppStack from an existing AppStack. See AppStack.

Example: AppCapture.exe /s oldAppStackDir /o newAppStackDir

/o

Specify a source directory for the AppStack files. The default directory is C:\ProgramData\VMware\AppCapture\appvhds.

Do not use this option if you are installing a new application.

You can use this option with the /o option to create an AppStack from an existing AppStack. See AppStack.

Example: AppCapture.exe /s oldAppStackDir /o newAppStackDir

You can also use the /s option with /n to update an old AppStack with a new one. In this example, the existing oldAppStack.vhd AppStack is copied as a base AppStack and can be updated as newAppstackName:

AppCapture.exe /n newAppstackName /s oldAppStack.vhd /o newAppStackDir

/s

Create a .vhd file from a .vmdk file. If you are not using the default path, specify the path containing the .vhd file.

Example: AppCapture.exe /vhd appStackPath.vmdk

/vhd

Generate a VMDK file by using a VHD file as input. If you are not using the default path, specify the path containing the .vhd file.

Example: AppCapture.exe /vmdk appStackPath.vhd.

/vmdk

Virtualize the application after provisioning it for pre-verification. When using the /test option with no other parameters, the AppStack should contain only one application bundle.

Example: AppCapture.exe /test Provisioned appStackPath.vhd

Virtualize all application bundles in the AppStack. Example: AppCapture.exe /test Provisioned appStackPath.vhd *

Virtualize application bundles that are identified by their corresponding GUIDs in the AppStack. Example: AppCapture.exe /test Provisioned appStackPath.vhd GUID1, GUID2.. GUIDn

/test <Provisioned AppStackPath>.vhd [* | GUID]

Enable the user to personalize the application bundle using the UEM application profiler. Configuration files that contain the personalization settings are generated. By default, the files are saved in the same location as the VHD, under the UEMConfigFiles\AppStack folder.

Example: AppCapture.exe /personalize C:\FinanceApps.vhd - Personalization settings are saved under C:\ProgramData\VMware\AppCapture\appvhds\UEMConfigFiles\FinanceApps.

The /predef sub-option is an optional boolean switch that can be used with the /personalize option to capture the predefined settings of the specified application bundle into a configuration file. The predefined settings are captured in an additional configuration file.

Example: AppCapture.exe /personalize C:\FinanceApps.vhd /predef - Personalization settings along with predefined settings are saved under C:\ProgramData\VMware\AppCapture\appvhds\UEMConfigFiles\FinanceApps

The /flexconfigname sub-option can be used with the /personalize command to store the personalization settings into a user-friendly configuration file name.

Example: AppCapture.exe /personalize C:\FinanceApps.vhd /flexconfigname MSOffice2016 - Personalization settings are saved under C:\ProgramData\VMware\AppCapture\appvhds\UEMConfigFiles\MSOffice2016

/personalize <ProvisionedAppStackPath>.vhd
 [/predef | flexconfigname <flexconfigfilename> ]