diff --git a/Tasks/chocolatey/chocolatey.ps1 b/Tasks/chocolatey/chocolatey.ps1 index 8a081d2..1538266 100644 --- a/Tasks/chocolatey/chocolatey.ps1 +++ b/Tasks/chocolatey/chocolatey.ps1 @@ -144,7 +144,7 @@ try { $chocolateyArguments.Add("--package-parameters=`"'$installParams'`"") > $null } - $chocolateyArguments.Insert(0, $installPackageId) > $null + $chocolateyArguments.InsertRange(0, ($installPackageId).Split(' ')) > $null $commandName = "install" } "pack" @@ -330,7 +330,7 @@ try { $chocolateyArguments.Add("--package-parameters=`"'$upgradeParams'`"") > $null } - $chocolateyArguments.Insert(0, $upgradePackageId) > $null + $chocolateyArguments.InsertRange(0, ($upgradePackageId).Split(' ')) > $null $commandName = "upgrade" } } diff --git a/Tasks/chocolatey/task.json b/Tasks/chocolatey/task.json index 353beaf..d60f7fc 100644 --- a/Tasks/chocolatey/task.json +++ b/Tasks/chocolatey/task.json @@ -269,7 +269,7 @@ "label": "The id of the package(s) that are to be installed.", "defaultValue": "", "required": true, - "helpMarkDown": "For example, windirstat.", + "helpMarkDown": "For example, `windirstat`, or `jre8 urlrewrite`.", "groupName": "installOptions" }, { @@ -580,7 +580,7 @@ "label": "The id of the package(s) that are to be installed.", "defaultValue": "", "required": true, - "helpMarkDown": "For example, windirstat.", + "helpMarkDown": "For example, `windirstat`, or `jre8 urlrewrite`.", "groupName": "upgradeOptions" }, {