From 34a17f2a3f45436700b636c5e979fe6bcaf6891b Mon Sep 17 00:00:00 2001 From: David Gardiner Date: Mon, 5 Jun 2023 15:42:40 +0930 Subject: [PATCH] (GH-532) Use 'choco install' instead of cinst - Update bootstrapper.ps1 --- BuildScripts/bootstrapper.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BuildScripts/bootstrapper.ps1 b/BuildScripts/bootstrapper.ps1 index d63ee29f..625fcec1 100644 --- a/BuildScripts/bootstrapper.ps1 +++ b/BuildScripts/bootstrapper.ps1 @@ -45,11 +45,11 @@ function Get-Boxstarter { $chocoVersion = "2.9.17" try { New-Object -TypeName Version -ArgumentList $chocoVersion.split('-')[0] | Out-Null - $command = "cinst Boxstarter -y" + $command = "choco install Boxstarter -y" } catch{ # if there is no -v then its an older version with no -y - $command = "cinst Boxstarter" + $command = "choco install Boxstarter" } $command += " --version $version" Invoke-Expression $command