Edit

Share via


Update-AppvSequencerPackage

Upgrades virtual application packages.

Syntax

Default (Default)

Update-AppvSequencerPackage
    [-FullLoad]
    [-InputPackagePath] <String>
    [-Installer] <String[]>
    [-InstallerOptions <String[]>]
    [-Name] <String>
    [-Path] <String>
    [-TemplateFilePath <String>]
    [<CommonParameters>]

Description

The Update-AppvSequencerPackage cmdlet upgrades virtual application packages. It takes as an input the original package, the upgrade installer, and an output path. The cmdlet returns a package that is upgraded.

Examples

Example 1: Update an application

PS C:\> Update-AppvSequencerPackage -AppvPackageFilePath "C:\Packages\MyPackage.appv" -Installer "C:\PackageInstall\PackageUpgrade.exe" -OutputPath "C:\UpgradedPackages"

This command updates an application, changing the output path.

Example 2: Update an application and require package to be fully loaded

PS C:\> Update-AppvSequencerPackage -AppvPackageFilePath "C:\Packages\MyPackage.appv" -Installer "C:\PackageInstall\PackageUpgrade.exe" -OutputPath "C:\UpgradedPackages" -FullLoad

This command updates an application, and sets the package to be fully loaded.

Parameters

-FullLoad

Indicates that the cmdlet forces the package to be fully downloaded onto the computer before it can be launched.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-InputPackagePath

Specifies the path of the existing Microsoft Application Virtualization (App-V) package to upgrade.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Installer

Specifies the installer used to upgrade the App-V package.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:4
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-InstallerOptions

Specifies an array of Installer Command-Line Options as parameter values, such as /quiet, /passive, or /norestart.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Name

Specifies the friendly name of the package given during Sequencing time. This value is obtained from the package manifest.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Path

Specifies the path of the folder where the updated package is to be saved.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:OutputPath

Parameter sets

(All)
Position:2
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-TemplateFilePath

Specifies the path to the App-V package template file to be used for this package.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.