mirror of
https://github.com/MillironX/chocolatey-packages.git
synced 2024-11-22 22:09:55 +00:00
17 lines
No EOL
658 B
PowerShell
17 lines
No EOL
658 B
PowerShell
$ErrorActionPreference = 'Stop'; # stop on all errors
|
|
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
|
|
$url = 'https://e-sword.net/files/e-sword_1300_setup.exe' # download url, HTTPS preferred
|
|
|
|
$packageArgs = @{
|
|
packageName = $env:ChocolateyPackageName
|
|
unzipLocation = $toolsDir
|
|
fileType = 'EXE'
|
|
url = $url
|
|
softwareName = 'e-Sword'
|
|
checksum = 'd09b481a3acf7afed3cf517ff6904420'
|
|
checksumType = 'md5'
|
|
validExitCodes= @(0, 3010, 1641)
|
|
silentArgs = '/s /v"/qn"'
|
|
}
|
|
|
|
Install-ChocolateyPackage @packageArgs # https://chocolatey.org/docs/helpers-install-chocolatey-package |