$toolsDir = Split-Path -Parent $MyInvocation.MyCommand.Definition $packageArgs = @{ packageName = $env:ChocolateyPackageName FileType = 'exe' SilentArgs = '/S' File64 = Join-Path $toolsDir 'VCarveProMakerspaceEditionV11008_Setup.exe' Checksum64 = '8f7476e8f68f00d07335ffef4369f3dce827ceb236ace1f8211137fb9542ba99' ChecksumType64 = 'sha256' ValidExitCodes = @(0, 1223) } Install-ChocolateyInstallPackage @packageArgs