Update-AppvSequencerPackage

Upgrades virtual application packages.

Syntax

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.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-InputPackagePath

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

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Installer

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

Type:String[]
Position:4
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-InstallerOptions

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

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

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

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Path

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

Type:String
Aliases:OutputPath
Position:2
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-TemplateFilePath

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

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False