Class Name | com.midvision.rapiddeploy.orchestration.tasks.win.AppCommandToolTask |
Category | Windows |
AppCmd command-line Tool. |
Name | Type | Default Value | Optional | Description |
---|---|---|---|---|
basePath | java.lang.String | %SystemRoot%\\System32\\inetsrv | false | Command base path for AppCmd command-line tool. |
command | java.lang.String | false | Command value for AppCmd command-line tool. | |
failOnError | java.lang.Boolean | true | false | This task will not fail the deployment on error if set to false. |
identifier | java.lang.String | false | Identifier value for AppCmd command-line tool. | |
objectType | java.lang.String | false | value for AppCmd command-line tool. | |
outputParameter | java.lang.String | ${controlOutput} | false | The name of the output parameter, which can pass the return value from the task. The task output will be the output of the command. Define a unique parameter name starting with '${', ending with '}' for the whole orchestration (latter tasks can override the parameter value if the same parameter name is specified). You can refer to this parameter in any task below in the tasklist, as an input parameter ${controlOutput}. |
outputResult | java.lang.String | ${outputResult} | false | The name of the output parameter, which holds the text string output from the task. The outputResult will be true if the control command succeeds. The outputResult will be false otherwise. Define a unique parameter name starting with '${', ending with '}' for the whole orchestration (later tasks can override the parameter value if the same parameter name is specified). You can refer to this parameter in any task below in the tasklist, as an input parameter ${outputResult}. |
parameters | java.lang.String | false | Parameters value for AppCmd command-line tool. | |
skipOnFailure | java.lang.String | Previous Task Name | true | Skip current task based on the name of the previous task whether has failed or not. |
Class Name | com.midvision.rapiddeploy.orchestration.tasks.win.ServiceControlTask |
Category | Windows |
Control a Windows Service. |
Name | Type | Default Value | Optional | Description |
---|---|---|---|---|
failOnError | java.lang.Boolean | true | false | This task will not fail the deployment on error if set to false. |
mode | java.util.List | start | false | The control operation to perform. Start and stop elevated perform the operation with elevated rights. |
modeParams | java.lang.String | param1=value1 param2=value2 | true | Params used by the command before service name separated by spaces. e.g. start=boot error=disabled |
outputParameter | java.lang.String | ${controlOutput} | false | The name of the output parameter, which can pass the return value from the task. The task output will be the output of the command. Define a unique parameter name starting with '${', ending with '}' for the whole orchestration (latter tasks can override the parameter value if the same parameter name is specified). You can refer to this parameter in any task below in the tasklist, as an input parameter ${controlOutput}. |
outputResult | java.lang.String | ${outputResult} | false | The name of the output parameter, which holds the text string output from the task. The outputResult will be true if the control command succeeds. The outputResult will be false otherwise. Define a unique parameter name starting with '${', ending with '}' for the whole orchestration (later tasks can override the parameter value if the same parameter name is specified). You can refer to this parameter in any task below in the tasklist, as an input parameter ${outputResult}. |
serviceName | java.lang.String | false | The name of the Windows Service. | |
skipOnFailure | java.lang.String | Previous Task Name | true | Skip current task based on the name of the previous task whether has failed or not. |
Class Name | com.midvision.rapiddeploy.orchestration.tasks.win.DISMCommandToolTask |
Category | Windows |
Deployment Image Servicing And Management (DISM) command-line Tool. |
Name | Type | Default Value | Optional | Description |
---|---|---|---|---|
DISMArguments | java.lang.String | false | Arguments value for DISM command-line tool. | |
DISMCommand | java.lang.String | false | Command value for DISM command-line tool. | |
DISMOptions | java.lang.String | false | Options value for DISM command-line tool. | |
failOnError | java.lang.Boolean | true | false | This task will not fail the deployment on error if set to false. |
outputParameter | java.lang.String | ${controlOutput} | false | The name of the output parameter, which can pass the return value from the task. The task output will be the output of the command. Define a unique parameter name starting with '${', ending with '}' for the whole orchestration (latter tasks can override the parameter value if the same parameter name is specified). You can refer to this parameter in any task below in the tasklist, as an input parameter ${controlOutput}. |
outputResult | java.lang.String | ${outputResult} | false | The name of the output parameter, which holds the text string output from the task. The outputResult will be true if the control command succeeds. The outputResult will be false otherwise. Define a unique parameter name starting with '${', ending with '}' for the whole orchestration (later tasks can override the parameter value if the same parameter name is specified). You can refer to this parameter in any task below in the tasklist, as an input parameter ${outputResult}. |
skipOnFailure | java.lang.String | Previous Task Name | true | Skip current task based on the name of the previous task whether has failed or not. |
userStartCommand | java.lang.Boolean | false | true | Use START windows command. |
Class Name | com.midvision.rapiddeploy.orchestration.tasks.binary.installers.MsiInstallerTask |
Category | Windows |
Name | Type | Default Value | Optional | Description |
---|---|---|---|---|
failOnError | java.lang.Boolean | true | false | This task will not fail the deployment on error if set to false. |
installerFileRegEx | java.lang.String | .*\.[Mm][Ss][Ii]$ | true | The regular expression to filter the files within deployment package and look up the installer one. |
installPath | java.lang.String | false | The path to the binary installation. | |
mode | java.lang.Boolean | install | true | The install mode. One of [install|uninstall]. Default value: [install] |
skipOnFailure | java.lang.String | Previous Task Name | true | Skip current task based on the name of the previous task whether has failed or not. |
Class Name | com.midvision.rapiddeploy.orchestration.tasks.win.ManageFirewallProgramTask |
Category | Windows |
Name | Type | Default Value | Optional | Description |
---|---|---|---|---|
enable | java.lang.Boolean | true | false | Enable program (set false to disable). |
failOnError | java.lang.Boolean | true | false | This task will not fail the deployment on error if set to false. |
programName | java.lang.String | false | The name of the program. | |
programPath | java.lang.String | false | The path of the program. | |
skipOnFailure | java.lang.String | Previous Task Name | true | Skip current task based on the name of the previous task whether has failed or not. |
Class Name | com.midvision.rapiddeploy.orchestration.tasks.win.ManageFirewallPortTask |
Category | Windows |
Name | Type | Default Value | Optional | Description |
---|---|---|---|---|
addresses | java.lang.String | false | Comma seperated list of addresses (ip/mask e.g.:"157.60.0.1,172.16.0.0/16,LocalSubnet") | |
enable | java.lang.Boolean | true | false | Enable port (set false to disable). |
failOnError | java.lang.Boolean | true | false | This task will not fail the deployment on error if set to false. |
port | java.lang.Integer | 80 | false | 1-65535 |
portName | java.lang.String | true | The port name. | |
profile | java.util.List | true | CURRENT | DOMAIN | STANDARD | ALL | |
protocol | java.util.List | false | TCP | UDP | ALL | |
scope | java.util.List | true | ALL | SUBNET | CUSTOM | |
skipOnFailure | java.lang.String | Previous Task Name | true | Skip current task based on the name of the previous task whether has failed or not. |
Class Name | com.midvision.rapiddeploy.orchestration.tasks.win.PowerShellTask |
Category | Windows |
Task to run a Windows PowerShell command. |
Set-ExecutionPolicy RemoteSignedTo run a powershell script as the command parameter, you need to quote the script as in the following example:
"'C:/path/to/script.ps1'"or if it is in the deployment archive:
"'${ARCHIVE_ROOT}/path/to/script.ps1'"
Name | Type | Default Value | Optional | Description |
---|---|---|---|---|
command | java.lang.String | get-help * | false | The command to run through PowerShell. A list of commands can be found using: 'PowerShell get-help * '. Any environment variables specified will be requoted. |
failOnError | java.lang.Boolean | true | false | This task will not fail the deployment on error if set to false. |
skipOnFailure | java.lang.String | Previous Task Name | true | Skip current task based on the name of the previous task whether has failed or not. |
Class Name | com.midvision.rapiddeploy.orchestration.tasks.win.RegEditTask |
Category | Windows |
Query Or Edit the Windows Registry. |
Name | Type | Default Value | Optional | Description |
---|---|---|---|---|
failOnError | java.lang.Boolean | true | false | This task will not fail the deployment on error if set to false. |
key | java.lang.String | false | The key path.E.g. SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion If the path does not exist, it is created. | |
mode | java.util.List | HKEY_LOCAL_MACHINE | false | The Registry to edit. Either the user or the system registry. |
name | java.lang.String | false | The registry entry name to query or set. E.g ProductName | |
outputParameter | java.lang.String | ${registryValue} | false | The name of the output parameter, which can pass the return value from the task. The task output will be the value of the queried or edited registry key. Define a unique parameter name starting with '${', ending with '}' for the whole orchestration (latter tasks can override the parameter value if the same parameter name is specified). You can refer to this parameter in any task below in the tasklist, as an input parameter ${registryValue}. |
skipOnFailure | java.lang.String | Previous Task Name | true | Skip current task based on the name of the previous task whether has failed or not. |
value | java.lang.String | false | The value to set, or if left blank, the existing value will be retrieved to the outputParameter. |
Class Name | com.midvision.rapiddeploy.orchestration.tasks.win.RegDeleteTask |
Category | Windows |
Delete a Key or Key Entry in Windows Registry. |
Name | Type | Default Value | Optional | Description |
---|---|---|---|---|
failOnError | java.lang.Boolean | true | false | This task will not fail the deployment on error if set to false. |
key | java.lang.String | false | The key path.E.g. SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion | |
mode | java.util.List | HKEY_LOCAL_MACHINE | false | The Registry to edit. Either the user or the system registry. |
name | java.lang.String | false | The registry entry name to Delete. E.g ProductName. If unset, the key is deleted. | |
skipOnFailure | java.lang.String | Previous Task Name | true | Skip current task based on the name of the previous task whether has failed or not. |
Class Name | com.midvision.rapiddeploy.orchestration.tasks.win.RegKeyReadTask |
Category | Windows |
Query Registry Key. |
Name | Type | Default Value | Optional | Description |
---|---|---|---|---|
failOnError | java.lang.Boolean | true | false | This task will not fail the deployment on error if set to false. |
key | java.lang.String | false | The key path.E.g. SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion. | |
mode | java.util.List | HKEY_LOCAL_MACHINE | false | The Registry to edit. Either the user or the system registry. |
outputParameter | java.lang.String | ${registryKeyEntries} | false | The name of the output parameter, which can pass the return value from the task. The task output will be the a JSON string of the queried registry key name/value(s). Define a unique parameter name starting with '${', ending with '}' for the whole orchestration (latter tasks can override the parameter value if the same parameter name is specified). You can refer to this parameter in any task below in the tasklist, as an input parameter ${registryKeyEntries}. |
skipOnFailure | java.lang.String | Previous Task Name | true | Skip current task based on the name of the previous task whether has failed or not. |
Class Name | com.midvision.rapiddeploy.orchestration.tasks.win.SetEnvironmentVariablesTask |
Category | Windows |
JAVA_HOMEand set "value" to the corresponding value, e.g.
/usr/java/java_1.6.1
PATHset the "value" for this entry to
$PATH:NEW_VAL_1:NEW_VAL_2 ...
JAVA_HOME=c:/java/java_1.6.1 JAVA_VENDOR=Sun
Name | Type | Default Value | Optional | Description |
---|---|---|---|---|
commandArgs | java.lang.String | true | The command arguments to use. A list can be found with: 'SETX /?'. | |
envPropertyFilePath | java.lang.String | true | The path identifying the property file containing environment variables to set | |
failOnError | java.lang.Boolean | true | false | This task will not fail the deployment on error if set to false. |
setFromEnvironmentFile | java.lang.Boolean | true | false | Use the environment file identified by envPropertyFilePath. This file should contain environment variable key/value pairs to permanently set. |
skipOnFailure | java.lang.String | Previous Task Name | true | Skip current task based on the name of the previous task whether has failed or not. |
Class Name | com.midvision.rapiddeploy.orchestration.tasks.win.ShutdownTask |
Category | Windows |
Name | Type | Default Value | Optional | Description |
---|---|---|---|---|
failOnError | java.lang.Boolean | true | false | This task will not fail the deployment on error if set to false. |
force | java.lang.Boolean | false | true | Force shutdown |
reboot | java.lang.Boolean | true | false | Restarts the system after being shutdown with the reboot command. |
skipOnFailure | java.lang.String | Previous Task Name | true | Skip current task based on the name of the previous task whether has failed or not. |