PackageDeployment Module Help

Package Deployment Module

Exit-Package Cmdlet

Version 4.0.0.5

Exit-Package

Synopsis

Terminates the Installation Package

Syntax

Exit-Package [[-Status] <String>] [[-Message] <String>] [-ContinueOnError] [<CommonParameters>]

Description

Terminates the current installation package. If you use the ExitProcEx command for a package that was called, for example, with the RunEScript command, only the execution of the child package is terminated. The control is returned to the calling package.
This command only controls the Installer, a classification (e.g. execute via service) has no significance for this command.

Parameters

-ContinueOnError <SwitchParameter>

Continues script execution in spite of errors in the respective command

Required

False

Position

Named

Accepts pipeline input

False

-Message <String>

This the text that appears in the log depending on the option you selected above.

Required

False

Position

1

Accepts pipeline input

False

-Status <String>

Done: The installation of the package is logged as executed.
Undone: The installation of the package is not logged.
UndoneContinueParentScript: The installation is logged; the installation of the Software Set is continued. This is only the case if the command is executed in a Software Set's component.
Failed: The installation of the package is logged as failed

Required

False

Position

0

Accepts pipeline input

False

<CommonParameters>

For more information about common parameters, type "Get-Help about_CommonParameters".