Skip to main content

Target Settings

When you select a target in the Shortcuts view, the following settings are available.

SettingDescription
NameEnter the name of the target.
TargetEnter the path and file name of the file in the App-V package or on the client system that should be launched when end users launch the target’s shortcut or other entry point. As an alternative to manually entering a value, you can click the Browse This Package button or the Browse Your Computer button to browse to the target file.
IconEnter the path to the icon file (.ico, .exe, or .dll) that contains the icon resource for the shortcut. The location can be in the App-V package, or on your computer or the network. As an alternative to manually entering a value, you can click the Browse This Package button or the Browse Your Computer button to browse to the icon.
If the icon file that you specify contains more than one icon resource, after the icon path, add a comma and then the index number. For example, 0 refers to the first icon in the file, 1 refers to the second icon, and 2 refers to the third icon. To specify the third icon in C:\MyIcons.dll, enter the following: C:\MyIcons.dll,2.
Target VersionEnter the version number of the target.
ArgumentsEnter the command-line arguments for the shortcut. These arguments work in the same way as any other command-line arguments. For example, you can link a file to an executable file or cause an executable file to run silently by passing command-line arguments.
Note: Verify that the syntax is correct because the Virtual Package Editor does not do this.
Working DirectoryEnter the working directory for the target. As an alternative to manually entering a value, you can click the Browse This Package button or the Browse Your Computer button to select or create the directory.
The working directory is the default directory that is displayed in standard file-opening and file-saving dialog boxes, as well as the current directory used by the App-V application.
Terminate ChildrenSpecify whether you want all of the applications and processes that were launched by the App-V application to be closed when the end user exits the App-V application.
note

These Target Settings are displayed for App-V 4.xpackages only. For App-V 5.0 packages, these settings are under Shortcut Settings.

See Also

Shortcuts View

Defining Targets in a Virtual Application

Using Debug Tools with a Virtual Package

Creating Shortcuts to the Virtual Application on the Client System

Using Environment Variables in a Virtual Environment

Configuring File Extension Associations for the Virtual Application

Creating Scripts that Run Before or After the App-V Application Is Streamed or Launched