chocolatey-packages/triplea/tools/chocolateyinstall.ps1

20 lines
766 B
PowerShell
Raw Normal View History

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)"
$fileLocation = Join-Path $toolsDir 'TripleA_1.9.0.0.13066_windows-32bit.exe'
$fileLocation64 = Join-Path $toolsDir 'TripleA_1.9.0.0.13066_windows-64bit.exe'
$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*'
2019-10-07 17:22:22 +00:00
checksum = '98698a6fb02dca79ce6e1e2427d7e847'
2019-10-07 17:42:43 +00:00
checksumType = 'md5'
2019-10-07 17:22:22 +00:00
checksum64 = 'ed5aaf4a012adeb03aeb282a222880b7'
2019-10-07 17:42:43 +00:00
checksumType64= 'md5'
2019-10-07 17:22:22 +00:00
silentArgs = '-q' # Install4j
}
2019-10-07 17:42:43 +00:00
Install-ChocolateyInstallPackage @packageArgs