Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

New-AppvPackageAccelerator

Generates a package accelerator.

Syntax

FromInstaller (Default)

New-AppvPackageAccelerator
 [-InputPackagePath] <String>
 [-Installer] <String>
 [-Path] <String>
 [-AcceleratorDescriptionFile <String>]
 [<CommonParameters>]

FromInstalledMedia

New-AppvPackageAccelerator
 [-InputPackagePath] <String>
 [-InstalledFilesPath] <String>
 [-Path] <String>
 [-AcceleratorDescriptionFile <String>]
 [<CommonParameters>]

Description

The New-AppvPackageAccelerator cmdlet generates a package accelerator object. It accepts an existing Application Virtualization (App-V) 5.0 package file along with the appropriately installed files or installation media. The cmdlet then generates a package accelerator file.

Examples

Example 1: Create a package accelerator

PS C:\> New-AppvPackageAccelerator -AppvPackageFilePath "C:\MyPackages\Package1\Package1.appv" -Installer "C:\MyPackages\Package1" -OutputPath "C:\Output\packages\Package1.cab"

This command creates a package accelerator using an installer folder containing, for example, MSI installers.

Example 2: Create a package accelerator with instruction sheet

PS C:\> New-AppvPackageAccelerator -AppvPackageFilePath "C:\MyPackages\Package1\Package1.appv" -InstalledFilesPath "C:\Program Files\Package1InstallFolder" -OutputPath "C:\Output\packages\Package1.cab" -AcceleratorDescriptionFilePath "C:\MyPackages\Package1\Package1Description.rtf"

This command creates a package accelerator and inserts an instruction sheet on how to accelerate package.

Parameters

-AcceleratorDescriptionFile

Specifies the package accelerator description file.

Parameter properties

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

Parameter sets

-InputPackagePath

Specifies the path to the App-V package used as input to generate the accelerator from.

Parameter properties

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

Parameter sets

-InstalledFilesPath

Specifies the path to the folder containing the directory where the package is installed to, to generate an accelerator for.

Parameter properties

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

Parameter sets

-Installer

Specifies the path to the folder of the application installer to generate an accelerator from. The installer must be of the format msi, or cab, or zip. If you do not have an installer of this format, use the InstalledFilesPath parameter instead.

Parameter properties

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

Parameter sets

-Path

Specifies the full path to the .cab package accelerator output file.

Parameter properties

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

Parameter sets

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.

Related Links


Feedback

Was this page helpful?