Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

  1. On the computer that is running the App-V Sequencer, open the command prompt by selecting Start , Run , and then type cmd . Click OK .

  2. 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 .

  3. At the command prompt, type the following command, replacing the text in quotation marks with your values:

    SFTSequencer /INSTALLPACKAGE:“pathtoMSI” /INSTALLPATH:“pathtopackageroot” /OUTPUTFILE:“pathtodestinationSPRJ”

    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


    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.

  4. Press Enter .

See Also

You can learn more about MDOP in the TechNet Library, search for troubleshooting on the TechNet Wiki, or follow us on Facebook or Twitter.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft