- Run an execution profile
- App-V 5.0 Sequencer execution profile
- App-V 4.6 SP1 Sequencer execution profile
- Edit an execution profile
How you run an execution profile depends on whether you are using Install Capture, Self-Provisioning, or Forward Path. This topic provides instructions for all of these.
Ensure that you specify the files using a UNC path (such as \\192.168.50.20\Source\application.exe or \\MachineName\Source\application.exe).
The virtual machine configuration specifies the details of the virtual machine on which the execution profile will run. This virtual machine must be set up appropriately for the execution profile. For example, the App-V 4.6 SP1 Sequencer execution profile requires Microsoft Application Virtualization 4.6 Service Pack 1 to be installed.
Self-Provisioning provides a mechanism for the application capture to be driven by an expert end user who does not have access to AppDNA itself. In summary, the procedure is as follows:
During this procedure, the administrator selects the execution profile to be used in a similar way to selecting the execution profile for Install Capture.
For example, the App-V 4.6 SP1 Sequencer execution profile requires Microsoft Application Virtualization 4.6 Service Pack 1 to be installed.
For more information, refer to Self-Provisioning.
Forward Path is controlled by scenario and task scripts. A Forward Path task script can run an execution profile. To do this, call the ProductionManager.RunExecutionProfile function in the task script. This function has the following syntax:
Public Shared Sub RunExecutionProfile ( _ controller As IActionController, _ profile As ExecutionProfileBuilder, _ profile_replaceable_values As Dictionary(Of String, String), _ vm_config_name As String _ )
Parameter | Description |
---|---|
controller | This object is automatically passed into the script when it runs and provides access to information about the current application, for example. |
profile | Use to pass the name of the execution profile. |
profile_replaceable_values | Use to pass a list of replaceable name and value pairs. |
vm_config_name | Use to pass the name of the virtual machine configuration to use. |
For example:
Dim replaceables As New Dictionary(Of String, String) ' Set the SequenceName replaceable replaceables.Add("SequenceName", controller.Application.Name) ' Activate auto-clicker replaceables.Add("UseAutoClick", "--use-autoclick") ProductionManager.RunExecutionProfile(controller, _ "App-V 4.6 SP1 Sequencer", replaceables, "App-V VM Configuration")
See Forward Path for more information.