2019-11-17 22:42:40 +00:00
|
|
|
|
$ErrorActionPreference = 'Stop'; # stop on all errors
|
2019-10-03 03:26:53 +00:00
|
|
|
|
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
|
|
|
|
|
$fileLocation = Join-Path $toolsDir 'Setup-Trelby-2.2.exe'
|
|
|
|
|
$packageArgs = @{
|
|
|
|
|
packageName = $env:ChocolateyPackageName
|
|
|
|
|
unzipLocation = $toolsDir
|
|
|
|
|
fileType = 'EXE'
|
|
|
|
|
file = $fileLocation
|
|
|
|
|
|
2019-10-07 17:37:00 +00:00
|
|
|
|
softwareName = 'Trelby*'
|
2019-10-03 03:26:53 +00:00
|
|
|
|
checksum = '1D8A55160B2814D76672D9FD45A07D00236CEC242550B068B2BB558B48E217B'
|
|
|
|
|
checksumType = 'sha256'
|
|
|
|
|
silentArgs = '/S' # NSIS
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Install-ChocolateyInstallPackage @packageArgs
|