--- title: About App-V 5.1 Dynamic Configuration description: About App-V 5.1 Dynamic Configuration author: jamiejdt ms.assetid: 6cc1027c-576f-483b-ad0d-bb700594a92c ms.pagetype: mdop, appcompat, virtualization ms.mktglfcycl: deploy ms.sitesec: library ms.prod: w10 --- # About App-V 5.1 Dynamic Configuration You can use the dynamic configuration to customize an App-V 5.1 package for a user. Use the following information to create or edit an existing dynamic configuration file. When you edit the dynamic configuration file it customizes how an App-V 5.1 package will run for a user or group. This helps to provide a more convenient method for package customization by removing the need to re-sequence 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 The previous .xml files specify package settings and allow for packages to be customized 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. Therefore, these automatically generated configuration files simply reflect the default settings that the package innately as from how things 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 table:
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 installed as part of the App-V client installation.
Note
Although ScriptRunner.exe is installed as part of 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 |