New-AppvSequencerPackage

Letzte Aktualisierung: Dezember 2014

Betrifft: Application Virtualization 5.0, Application Virtualization 5.0 SP1, Application Virtualization 5.0 SP2, Application Virtualization 5.0 SP3

New-AppvSequencerPackage

Creates a new App-V package.

Syntax

Parameter Set: ByInstallerFullLoad
New-AppvSequencerPackage [-Name] <System.String> [-Path] <System.String> [-Installer] <System.String> [[-PrimaryVirtualApplicationDirectory] <System.String> ] [-FullLoad] [-TemplateFilePath <System.String> ] [ <CommonParameters>]

Parameter Set: ByPackageAcceleratorInstalledFiles
New-AppvSequencerPackage [-Name] <System.String> [-Path] <System.String> [-AcceleratorFilePath] <String> [-InstalledFilesPath] <String> [ <CommonParameters>]

Parameter Set: ByPackageAcceleratorInstallMedia
New-AppvSequencerPackage [-Name] <System.String> [-Path] <System.String> [-AcceleratorFilePath] <String> [-InstallMediaPath] <String> [ <CommonParameters>]




Detaillierte Beschreibung

The New-AppvSequencerPackage cmdlet creates a new Microsoft Application Virtualization (App-V) package, either using an installer, an App-V accelerator, or an accelerator with an installed application. The cmdlet accepts a template file, as well as the option to force the package to be fully streamed to the computer before running the package.

Parameter

-AcceleratorFilePath<String>

Specifies the path to the accelerator file for this package. If the accelerator is not signed or is not accepted by the Sequencer, an error is returned.


Aliasse

none

Erforderlich?

true

Position?

3

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-FullLoad

Indicates that the package is required to be fully downloaded before being launched.


Aliasse

none

Erforderlich?

false

Position?

named

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-InstalledFilesPath<String>

Speicife the location of the already installed files used to create a new App-V package with the aid of an App-V Accelerator.


Aliasse

none

Erforderlich?

true

Position?

4

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-Installer<System.String>

Specifies a collection of MSIs, setup executables, or other executables needed to be run to create the App-V package.


Aliasse

none

Erforderlich?

true

Position?

3

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-InstallMediaPath<String>

Specifies the location of the installation media that the Sequencer points to and generates an accelerator.


Aliasse

none

Erforderlich?

true

Position?

4

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-Name<System.String>

Specifies the name of the App-V package. This is also the name of all files outputted by the sequencing process.


Aliasse

none

Erforderlich?

true

Position?

1

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-Path<System.String>

Specifies the folder where the package is saved.


Aliasse

OutputPath

Erforderlich?

true

Position?

2

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-PrimaryVirtualApplicationDirectory<System.String>

Specifies the location where the application is being installed. This must be a path on the local computer.


Aliasse

none

Erforderlich?

false

Position?

4

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-TemplateFilePath<System.String>

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


Aliasse

none

Erforderlich?

false

Position?

named

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

<CommonParameters>

Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable. Weitere Informationen finden Sie unter about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).

Eingaben

Der Eingabetyp ist der Typ der Objekte, die über die Pipeline an das Cmdlet übergeben werden können.

Ausgaben

Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.

  • Null

Beispiele

Example 1: Create a package

This command creates a package for the application MyApp.


PS C:\> New-AppvSequencerPackage -Name "MyPackage" -OutputPath "C:\MyPackage" -PrimaryVirtualApplicationDirectory "C:\Program Files\MyApp" -Installer "C:\installers\MyApp\setup.exe"

Example 2: Create a package that must be fully downloaded

This command creates a package that must be fully downloaded for the application MyApp.


PS C:\> New-AppvSequencerPackage -Name MyPackage2 -OutputPath C:\MyPackages -PrimaryVirtualApplicationDirectory "C:\Program Files\MyApp -Installer C:\installers\MyApp\setup.exe -FullLoad

Example 3: Create a package using a pre-generated accelerator

This command creates a new package MyApp using a pre-generated package accelerator.


PS C:\> New-AppvSequencerPackage -Name "MyPackage" -OutputPath "C:\MyPackages" -AcceleratorFilePath "C:\MyAccelerators\MyAccelerator.cab" -PrimaryVirtualApplicationDirectory "C:\MyApp\" -InstalledMediaPath "C:\Installers\PreReq\" -Installer "C:\Installers\MyApp\setup.exe"

Example 4: Create a package using a template file

This command creates a new MyApp package using a template file.


PS C:\> New-AppvSequencerPackage -Name "MyPackage" -TemplateFilePath "C:\template.appvt" -OutputPath "C:\Packages\MyPackage" -PrimaryVirtualApplicationDirectory "C:\Program Files\MyApp" -Installer "C:\Installers\MyApp\setup.exe"

Verwandte Themen

Community-Beiträge

HINZUFÜGEN
Anzeigen: