2019-10-07 17:42:43 +00:00
|
|
|
|
$ErrorActionPreference = 'Stop'; # stop on all errors
|
2019-10-07 17:22:22 +00:00
|
|
|
|
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
|
2020-12-14 18:11:57 +00:00
|
|
|
|
$fileLocation = Join-Path $toolsDir 'TripleA_2.5.22294_windows-32bit.exe'
|
|
|
|
|
$fileLocation64 = Join-Path $toolsDir 'TripleA_2.5.22294_windows-64bit.exe'
|
2019-10-07 17:22:22 +00:00
|
|
|
|
$packageArgs = @{
|
|
|
|
|
packageName = $env:ChocolateyPackageName
|
|
|
|
|
unzipLocation = $toolsDir
|
2019-10-07 17:42:43 +00:00
|
|
|
|
fileType = 'EXE'
|
2019-10-07 17:22:22 +00:00
|
|
|
|
file = $fileLocation
|
|
|
|
|
file64 = $fileLocation64
|
2019-10-07 17:42:43 +00:00
|
|
|
|
softwareName = 'TripleA*'
|
2020-12-14 18:11:57 +00:00
|
|
|
|
checksum = '1b8c3d87f6c16b0c1b4bdbe415972b9be4846a44f0dc89d46fab005dfd02bedd'
|
|
|
|
|
checksumType = 'sha256'
|
|
|
|
|
checksum64 = '0eddc4e13bff3a1bfcad6a1d5f2429557552076d0c70f5fcd1aaf8f1cf889dea'
|
|
|
|
|
checksumType64= 'sha256'
|
2019-10-07 17:22:22 +00:00
|
|
|
|
silentArgs = '-q' # Install4j
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-07 17:42:43 +00:00
|
|
|
|
Install-ChocolateyInstallPackage @packageArgs
|