Show-ADTInstallationPrompt
PackageDeployment Module Help |
Package Deployment Module |
Show-ADTInstallationPrompt Cmdlet |
Version 4.0.0.5 |
Show-ADTInstallationPrompt
Synopsis
Displays a custom installation prompt with the toolkit branding and optional buttons.
Syntax
Show-ADTInstallationPrompt [[-Title] <String>] [[-Message] <String>] [[-MessageAlignment] <String>] [[-ButtonRightText] <String>] [[-ButtonLeftText] <String>] [[-ButtonMiddleText] <String>] [[-Icon] <String>] [-NoWait] [-PersistPrompt] [[-MinimizeWindows] <Boolean>] [[-Timeout] <Int32>] [[-ExitOnTimeout] <Boolean>] [[-TopMost] <Boolean>] [[-ResultVariable] <String>] [[-Context] <String>] [<CommonParameters>]
Description
Any combination of Left, Middle or Right buttons can be displayed. The return value of the button clicked by the user is the button text specified.
Parameters
-Title <String> |
||||||
Title of the prompt. Default: the application installation name. |
||||||
|
-Message <String> |
||||||
Message text to be included in the prompt. |
||||||
|
-MessageAlignment <String> |
||||||
Alignment of the message text. Options: Left, Center, Right. Default: Center. |
||||||
|
-ButtonRightText <String> |
||||||
Show a button on the right of the prompt with the specified text. |
||||||
|
-ButtonLeftText <String> |
||||||
Show a button on the left of the prompt with the specified text. |
||||||
|
-ButtonMiddleText <String> |
||||||
Show a button in the middle of the prompt with the specified text. |
||||||
|
-Icon <String> |
||||||
Show a system icon in the prompt. Options: Application, Asterisk, Error, Exclamation, Hand, Information, None, Question, Shield, Warning, WinLogo. Default: None |
||||||
|
-NoWait <SwitchParameter> |
||||||
Specifies whether to show the prompt asynchronously (i.e. allow the script to continue without waiting for a response). Default: $false. |
||||||
|
-PersistPrompt <SwitchParameter> |
||||||
Specify whether to make the prompt persist in the center of the screen every couple of seconds, specified in the AppDeployToolkitConfig.xml. The user will have no option but to respond to the prompt - resistance is futile! |
||||||
|
-MinimizeWindows <Boolean> |
||||||
Specifies whether to minimize other windows when displaying prompt. Default: $false. |
||||||
|
-Timeout <Int32> |
||||||
Specifies the time period in seconds after which the prompt should timeout. Default: UI timeout value set in the config XML file. |
||||||
|
-ExitOnTimeout <Boolean> |
||||||
Specifies whether to exit the script if the UI times out. Default: $true. |
||||||
|
-Topmost <Boolean> |
||||||
Specifies whether the progress window should be topmost. Default: $true. |
||||||
|
-ResultVariable <String> |
||||||
Name of the variable in which the result is saved. |
||||||
|
-Context <String> |
||||||
User: Execution under user account; logging in HKEY_CURRENT_USER, i.e. for the user. |
||||||
|
<CommonParameters> |
For more information about common parameters, type "Get-Help about_CommonParameters". |