$ErrorActionPreference = 'Stop'; $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" $packageArgs = @{ packageName = $env:ChocolateyPackageName unzipLocation = $toolsDir fileType = 'EXE' File = '\\ucs\software\CricutDesignSpace-Install-v8.60.67.exe' softwareName = 'cricutdesignspace*' checksum = '78b04935a1be4cef0e9f690a75b53c86c5783d8491760a5dada709544cf25d0c' checksumType = 'sha256' silentArgs = '/S' validExitCodes= @(0) } Install-ChocolateyPackage @packageArgs