Skip to content

Instantly share code, notes, and snippets.

@lefte
Created January 27, 2018 04:36
Show Gist options
  • Save lefte/9b2183ea5fd9234a9ae6cc6a376c9467 to your computer and use it in GitHub Desktop.
Save lefte/9b2183ea5fd9234a9ae6cc6a376c9467 to your computer and use it in GitHub Desktop.
Chocolatey HeidiSQL 9.5.0.5196 Install PS1
$ErrorActionPreference = 'Stop';
$packageName= 'HeidiSQL'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url = 'https://www.heidisql.com/installers/HeidiSQL_9.5.0.5196_Setup.exe'
$packageArgs = @{
packageName = $packageName
unzipLocation = $toolsDir
fileType = 'exe'
url = $url
silentArgs = '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' # Inno Setup
validExitCodes= @(0)
# optional, highly recommended
softwareName = 'HeidiSQL*' #part or all of the Display Name as you see it in Programs and Features. It should be enough to be unique
checksum = 'caa50f02f0abd1cac5c0566aa1e87b51464388c2'
checksumType = 'sha1' #default is md5, can also be sha1
checksum64 = ''
checksumType64= '' #default is checksumType
}
Install-ChocolateyPackage @packageArgs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment