$ErrorActionPreference = 'Stop'; $packageArgs = @{ packageName = '[[PackageName]]' unzipLocation = $toolsDir fileType = 'MSI' url = '[[Url]]' url64bit = '[[Url64]]' # 64bit URL here or remove - if installer is both, use $url silentArgs = "/qn /norestart" validExitCodes= @(0, 3010, 1641) # optional, highly recommended softwareName = '[[PackageName]]*' #part or all of the Display Name as you see it in Programs and Features. It should be enough to be unique checksum = '[[Checksum]]' checksumType = '[[ChecksumType]]' #default is md5, can also be sha1 checksum64 = '[[Checksum64]]' checksumType64= '[[ChecksumType64]]' #default is checksumType } Install-ChocolateyPackage @packageArgs