How to Sequence a New Application by Using the Command Line
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.
Important 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.
Value | Description |
---|---|
pathtoMSI |
Specifies the Windows Installer or a batch file that will be used to install an application so that it can be sequenced. |
pathtopackageroot |
Specify the package root directory. |
pathtodestinationSPRJ |
Specifies the path and file name of the SPRJ file that will be created. |
- Press Enter.
Related topics
How to Create or Upgrade Virtual Applications Using the App-V Sequencer