Mar. 28, 2016
You can use the App-V 5.0 Sequencer execution profile with Install Capture, Self-Provisioning, or Forward Path to package applications for deployment using the App-V Client 5.0.
By default, this execution profile generally installs the application on the capture machine twice – once for sequencing and once outside of the sequencer to capture the application into an MSI for import into AppDNA. You can optionally suppress the second installation. If you do this when running the execution profile from Install Capture, the generated .appv package is automatically imported. Because the .appv file is prepared for the virtual environment, it does not include all of the application DNA for a native Windows environment. For example, it may omit information about drivers and registry settings. Therefore Citrix recommends the default behavior if you want to analyze the application for a native Windows environment.
To run the App-V 5.0 Sequencer execution profile, perform the following additional setup on the capture machine:
For general instructions:
This execution profile uses Windows PowerShell, which is a pre-requisite of the Microsoft App-V Sequencer 5.0. This execution profile requires PowerShell to be configured with a particular setting. If you install the Citrix AppDNA VM Configuration MSI after PowerShell is installed, the installer will attempt to automatically configure PowerShell for you. If this is not possible or you install PowerShell after you install the AppDNA VM Configuration MSI, configure PowerShell as follows:
If you are setting up a virtual machine for Install Capture or Forward Path, you must do this before you create the snapshot of the virtual machine.
As mentioned earlier, by default this execution profile generally installs the application on the capture machine twice. To suppress the installation outside of the sequencer, give the ImportAppv replaceable a value of True.
By default the execution profile installs the application once only when:
The output of running the execution profile is stored in a subfolder within the main output folder defined in the virtual machine configuration (Install Capture and Forward Path) or in the Self-Provisioning client. How the subfolder is named depends on how you run the execution profile – when run through Install Capture or Forward Path, the subfolder's name is derived from the name of the input file and the date and time stamp. When run through Self-Provisioning, the name of the folder is based on the instruction file's identifier.
The execution profile generates the following output:
The execution profile names the files generated by the sequencer as follows. If more than one of these apply, the highest in the list always take precedence.
The following table provides details of the replaceables that you can use to configure the App-V 5.0 Sequencer execution profile.
|ImportAppv||Set this to a value of True if you want to load the generated .appv package into AppDNA rather than capturing a separate MSI specifically for importing into AppDNA. Setting this value to True suppresses the second installation of the application on the capture machine. This is suitable when you have already analyzed the application within AppDNA and now simply want to sequence the application.|
|MsiSilentSwitch||Use to pass additional options to msiexec for MSI installations (for example, -qb - for silent installs). See http://technet.microsoft.com/library/cc759262(v=ws.10).aspx for information about the msiexec command line options.|
|SequenceName||Use to specify the name of the .appv package that the sequencer generates.|
|LaunchEditor||Set this to True if you want the execution profile to automatically launch the generated .appv package in the App-V Sequencer for editing after the sequencing has finished.|
|PromptForPrerequisites||Set this to True if you want the execution profile to prompt the user to install any prerequisites before running the sequencer.|
|AppMonitoringPath||Use to specify the path the sequencer is to monitor. If this is not specified, the sequencer will be configured to monitor the entire disk on which it is installed.|
|WaitForSmbIdle||Specifies the time in seconds to wait for the network share access to cease before completing the task. This is useful to avoid problems caused by a stateful firewall preventing network share access on subsequent tasks.|
|UseAutoClick||Set this to --use-autoclick if you want the execution profile to run with auto-clicker on by default. Set this to an empty string if you want auto-clicker to be off by default.|