How to Sequence a New Application by Using the Command Line
Applies To: Application Virtualization
You can use a command line to sequence a new application. Using a command line is useful when you have to create a large number of virtual applications or when you need to create sequenced applications on a recurring basis.
|Command-line sequencing allows for default sequencing only. If you need to change default installation settings for the application you are sequencing, you must either manually modify the virtual application or update the virtual application by using the Application Virtualization (App-V) Sequencer. For more information about updating a virtual application by using the App-V Sequencer, see How to Upgrade an Existing Virtual Application.|
Use the following procedure to create a virtual application by using the command line.
To sequence an application by using the command line
On the computer that is running the App-V Sequencer, open the command prompt by selecting Start , Run , and then type cmd . Click OK .
Use the command prompt to specify the location of where the App-V Sequencer is installed. For example, at the command prompt, you could type the following: cd C:\Program Files\Microsoft Application Virtualization Sequencer .
At the command prompt, type the following command, replacing the text in quotation marks with your values:
SFTSequencer /INSTALLPACKAGE:“pathtoMSI” /INSTALLPATH:“pathtopackageroot” /OUTPUTFILE:“pathtodestinationSPRJ”
Note You can specify additional parameters by using the command line, depending on the complexity of the application you are sequencing. For a complete list of parameters that are available for use with the App-V Sequencer, see Sequencer Command-Line Parameters.
Use the value descriptions in the following table to help you determine the actual text you will use in the preceding command.
Specifies the Windows Installer or a batch file that will be used to install an application so that it can be sequenced.
Specify the package root directory.
Specifies the path and file name of the SPRJ file that will be created.
Press Enter .
You can learn more about MDOP in the TechNet Library, search for troubleshooting on the TechNet Wiki, or follow us on Facebook or Twitter.