@petemounce @laszlocsomor 
 Woah woah woah, regex find and replace in powershell? What have I let myself in for. Are different drives really necessary? :p

Yeah, sure. I'll get that done.
 Help us Obi-Wan, you're the only PS expert! :)
 Done.

I think you don't need to match $2 if you're outputting it unaltered.
 That's true. I like this pattern more since it's more explicit, but I don't feel strongly.
 ok

Windows, chocolatey: support drive letters other than C: in chocolatey package.
At least in `chocolateyinstall.ps1`, line 53, and maybe other places
scripts/packages/chocolatey/tools/chocolateyinstall.ps1
scripts/packages/chocolatey/tools/chocolateyinstall.ps1
diff --git a/scripts/packages/chocolatey/tools/chocolateyinstall.ps1 b/scripts/packages/chocolatey/tools/chocolateyinstall.ps1
index 9afd433d8ef29e..fbd3cc32b0c653 100644
--- a/scripts/packages/chocolatey/tools/chocolateyinstall.ps1
+++ b/scripts/packages/chocolatey/tools/chocolateyinstall.ps1
@@ -2,13 +2,14 @@ $ErrorActionPreference = 'Stop'; # stop on all errors
 $packageName = 'bazel'
 
 $toolsDir = Split-Path -parent $MyInvocation.MyCommand.Definition
-$p = ((gc "$toolsDir\params.json") -join "`n") | convertfrom-json
+$json = gc "$toolsDir\params.json"
+$p = (($json) -join "`n") | convertfrom-json
 
 $packageDir = Split-Path -parent $toolsDir
 $binRoot = (Get-ToolsLocation) -replace "\\", "/"
 
 write-host "Read params from json"
-write-host $p
+write-host (convertto-json $p)
 
 Install-ChocolateyZipPackage -PackageName "$packageName" `
   -Url "$($p.package.uri)" `
@@ -50,7 +51,7 @@ if ($packageParameters)
 }
 Install-ChocolateyPath -PathToInstall "$msys2Path\usr\bin" -PathType "Machine"
 
-$addToMsysPath = ($packageDir -replace 'c:\\','/c/') -replace '\\','/'
+$addToMsysPath = ($packageDir -replace '^([a-zA-Z]):\\(.*)','/$1/$2') -replace '\\','/'
 write-host @"
 bazel installed to $packageDir
 
