Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Commit

Permalink
Support for delayed startup type (#22)
Browse files Browse the repository at this point in the history
* Added --delayed startup option to InstallTopshelfService task
  • Loading branch information
mikanyg authored and jabbera committed Dec 26, 2017
1 parent f8c9826 commit d10b27b
Showing 1 changed file with 25 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
"Minor": "{{tokens.Minor}}",
"Patch": "{{tokens.Patch}}"
},
"minimumAgentVersion": "1.95.0",
"minimumAgentVersion": "1.95.0",
"inputs": [
{
"name": "TopshelfExePaths",
"type": "multiLine",
"label": "Topshelf Exe Paths",
"defaultValue": "",
"required": true,
"helpMarkDown": "Full path to topshelf executables. (Comma separated list)"
"helpMarkDown": "Full path to topshelf executables. (Comma separated list)"
},
{
"name": "EnvironmentName",
Expand All @@ -49,7 +49,7 @@
"required": true,
"helpMarkDown": "Password for administrator login for the target machines. <br>It can accept variable defined in Build/Release definitions as '$(passwordVariable)'. <br>You may mark variable type as 'secret' to secure it. "
},
{
{
"name": "protocol",
"type": "radio",
"label": "Protocol",
Expand Down Expand Up @@ -78,7 +78,7 @@
"required": false,
"helpMarkDown": "Setting it to true will run the PowerShell scripts in parallel on the target machines."
},
{
{
"name": "specialUser",
"type": "radio",
"label": "Special User",
Expand All @@ -97,7 +97,7 @@
"type": "string",
"label": "Service Username",
"defaultValue": "",
"visibleRule": "specialUser = custom",
"visibleRule": "specialUser = custom",
"required": false,
"helpMarkDown": "Username to run the service as."
},
Expand All @@ -106,7 +106,7 @@
"type": "string",
"label": "Service Password",
"defaultValue": "",
"visibleRule": "specialUser = custom",
"visibleRule": "specialUser = custom",
"required": false,
"helpMarkDown": "Password for the service account"
},
Expand All @@ -118,44 +118,45 @@
"required": false,
"helpMarkDown": "An instance name if neccessary."
},
{
{
"name": "ServiceName",
"type": "string",
"label": "Service Name",
"defaultValue": "",
"required": false,
"helpMarkDown": "An service name if neccessary."
},
{
{
"name": "DisplayName",
"type": "string",
"label": "Display Name",
"defaultValue": "",
"required": false,
"helpMarkDown": "An display name if neccessary."
},
{
{
"name": "Description",
"type": "string",
"label": "Service Description",
"defaultValue": "",
"required": false,
"helpMarkDown": "An service description if neccessary."
},
{
"name": "StartupType",
"type": "radio",
"label": "Service Startup Type",
"required": false,
"defaultValue": "default",
"options": {
"default": "Default",
"manual": "Manual",
"autostart": "Automatic",
"disabled": "Disabled"
},
"helpMarkDown": "Select the startup type for the service."
},
{
"name": "StartupType",
"type": "radio",
"label": "Service Startup Type",
"required": false,
"defaultValue": "default",
"options": {
"default": "Default",
"manual": "Manual",
"autostart": "Automatic",
"delayed": "Automatic (Delayed)",
"disabled": "Disabled"
},
"helpMarkDown": "Select the startup type for the service."
},
{
"name": "UninstallFirst",
"type": "boolean",
Expand All @@ -169,7 +170,7 @@
"type": "boolean",
"label": "Before uninstall kill all mmc\\taskmgr",
"defaultValue": "false",
"visibleRule": "UninstallFirst = true",
"visibleRule": "UninstallFirst = true",
"required": true,
"helpMarkDown": "Check to make the task kill all open instances of mmc and taskmgr in an attempt to avoid the dreaded: The specified service has been marked for deletion. See: http://stackoverflow.com/questions/20561990/how-to-solve-the-specified-service-has-been-marked-for-deletion-error"
}
Expand Down

0 comments on commit d10b27b

Please sign in to comment.