Created
October 24, 2018 09:57
-
-
Save chrisvasey/4d234445890be6af1a995bf55e88431d to your computer and use it in GitHub Desktop.
zhool with choco
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ErrorActionPreference = 'Stop'; # stop on all errors | |
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" | |
$fileLocation = Join-Path $toolsDir '/source/zhool.exe' | |
$url = '' | |
$url64 = '' | |
$packageArgs = @{ | |
packageName = $env:ChocolateyPackageName | |
unzipLocation = $toolsDir | |
fileType = 'exe' #only one of these: exe, msi, msu | |
# url = $url | |
# url64bit = $url64 | |
file = $fileLocation | |
softwareName = 'zhool*' #part or all of the Display Name as you see it in Programs and Features. It should be enough to be unique | |
checksum = '' | |
checksumType = 'sha256' #default is md5, can also be sha1, sha256 or sha512 | |
checksum64 = '' | |
checksumType64= 'sha256' #default is checksumType | |
validExitCodes= @(0, 3010, 1641) | |
# OTHERS | |
silentArgs = '/q' # NSIS | |
} | |
Install-ChocolateyInstallPackage @packageArgs # |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment