tools/chocolateyinstall.ps1
|
$ErrorActionPreference = 'Stop' $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" $url = '' $url64 = '' $packageArgs = @{ packageName = $env:ChocolateyPackageName unzipLocation = $toolsDir fileType = 'EXE_MSI_OR_MSU' url = $url url64bit = $url64 softwareName = 'test*' checksum = '' checksumType = 'sha256' checksum64 = '' checksumType64= 'sha256' silentArgs = "/qn /norestart /l*v `"$($env:TEMP)\$($packageName).$($env:chocolateyPackageVersion).MsiInstall.log`"" validExitCodes= @(0, 3010, 1641) } Install-ChocolateyPackage @packageArgs |