--- title: About App-V Dynamic Configuration (Windows 10) description: About App-V Dynamic Configuration author: MaggiePucciEvans ms.pagetype: mdop, appcompat, virtualization ms.mktglfcycl: deploy ms.sitesec: library ms.prod: w10 ms.date: 08/24/2018 --- # About App-V dynamic configuration >Applies to: Windows 10, version 1607 You can use dynamic configuration to customize an App-V package for a user. This article will tell you how to create or edit an existing dynamic configuration file. When you edit the dynamic configuration file, it customizes how an App-V package will run for a user or group. This makes package customization more convenient by removing the need to resequence packages using the desired settings and provides a way to keep package content and custom settings independent. ## Advanced: dynamic configuration Virtual application packages contain a manifest that provides all the core information for the package. This information includes the defaults for the package settings and determines settings in the most basic form (with no additional customization). If you want to adjust these defaults for a particular user or group, you can create and edit the following files: - User Configuration file - Deployment Configuration file These .xml files specify package settings let you customize packages without directly affecting the packages. When a package is created, the sequencer automatically generates default deployment and user configuration .xml files using the package manifest data. These automatically generated configuration files reflect the package's default settings that were configured during sequencing. If you apply these configuration files to a package in the form generated by the sequencer, the packages will have the same default settings that came from their manifest. This provides you with a package-specific template to get started if any of the defaults must be changed. >[!NOTE] >The following information can only be used to modify sequencer generated configuration files to customize packages to meet specific user or group requirements. ## Dynamic Configuration file contents All of the additions, deletions, and updates in the configuration files need to be made in relation to the default values specified by the package's manifest information. Review the following list: 1. User configuration .xml file. 2. Deployment configuration .xml file. 3. Package manifest.
User Configuration .xml file |
Deployment Configuration .xml file |
Package Manifest |
Script Execution Time | Can be specified in Deployment Configuration | Can be specified in User Configuration | Can run in the Virtual Environment of the package | Can be run in the context of a specific application | Runs in system/user context: (Deployment Configuration, User Configuration) |
---|---|---|---|---|---|
AddPackage |
X |
(SYSTEM, N/A) |
|||
PublishPackage |
X |
X |
(SYSTEM, User) |
||
UnpublishPackage |
X |
X |
(SYSTEM, User) |
||
RemovePackage |
X |
(SYSTEM, N/A) |
|||
StartProcess |
X |
X |
X |
X |
(User, User) |
ExitProcess |
X |
X |
X |
(User, User) |
|
StartVirtualEnvironment |
X |
X |
X |
(User, User) |
|
TerminateVirtualEnvironment |
X |
X |
(User, User) |
Parameter in the example file | Description |
---|---|
Name of the event trigger for which you are running a script, such as adding a package or publishing a package. |
|
The script launcher application that is included in the App-V client.
Note
Although ScriptRunner.exe is included in the App-V client, the location of the App-V client must be in %path% or ScriptRunner will not run. ScriptRunner.exe is typically located in the C:\Program Files\Microsoft Application Virtualization\Client folder. |
|
|
|
Waits for overall completion of ScriptRunner.exe. Set the timeout value for the overall runner to be greater than or equal to the sum of the timeout values on the individual scripts. If any individual script reported an error and rollbackonerror was set to |