Additional Considerations When Upgrading an App-V Sequenced Application Package Using the Command Line

SuccessFailureOne advantage of the Microsoft Application Virtualization (App-V) Sequencer is the capability of running via the command line. This allows for automating the sequencing of applications which do not require any special customizations in their guidelines or "recipes" for sequencing. The upgrading of a package can also be automated using the command line sequencer.

The documentation for upgrading a package can be found here:

In addition to the above reference, here are some other tips you might find helpful:

UPGRADE and OUTPUTFILE Must be Different

The command line sequencer will not update a package if the source path specified in the /UPGRADE switch is the same as the path in the /OUTPUTFILE switch. This will throw a sharing violation error.

DECODEPATH must be specified

Remember the Upgrade option is the same as a "Package Upgrade" or "Opening a Package for Upgrade" in the GUI version. This means the package has to be decoded into the mount\VFS path.

OUTPUTFILE location needs to be on a separate drive as one specified in the DECODEPATH option.


If the update is anything other than a standard MSI, it is recommended to contain it with a batch file or script. The command line sequencer should be able to grab everything even if it is a simple file copy or registry import.

Hope this helps,

Steve Thomas | Senior Support Escalation Engineer

The App-V Team blog:
The WSUS Support Team blog:
The SCMDM Support Team blog:
The ConfigMgr Support Team blog:
The OpsMgr Support Team blog:
The SCVMM Team blog:
The MED-V Team blog:
The DPM Team blog:
The OOB Support Team blog:
The Opalis Team blog:

clip_image001 clip_image002

Comments (0)

Skip to main content