build: choco: initial chocolatey package implementation

This commit is contained in:
Bill Zissimopoulos
2017-03-09 22:14:50 -08:00
parent 7c574da261
commit 709ead9e06
4 changed files with 74 additions and 1 deletions

View File

@ -0,0 +1,14 @@
$ErrorActionPreference = 'Stop';
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$fileLocation = @(Get-ChildItem $toolsDir -filter winfsp-*.msi)[0].FullName
$packageArgs = @{
packageName = 'winfsp'
fileType = 'msi'
file = $fileLocation
silentArgs = "/qn /norestart INSTALLLEVEL=1000"
validExitCodes = @(0, 3010, 1641)
}
Install-ChocolateyInstallPackage @packageArgs