Skip to content

Commit

Permalink
AU: 1 updated - superputty.install
Browse files Browse the repository at this point in the history
  • Loading branch information
mkevenaar committed Dec 8, 2018
1 parent 3d97bd2 commit 8fb508c
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions automatic/superputty.install/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
$ErrorActionPreference = 'Stop';

$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url = 'https://github.com/jimradford/superputty/releases/download/1.4.0.9/SuperPuttySetup-1.4.0.9.msi'
$checksum = '1298e59665d02387c6f13b87507b07feaf03e705e95de60bc5841e61bcc7ae27'
$checksumType = 'sha256'

$packageArgs = @{
packageName = $env:ChocolateyPackageName
unzipLocation = $toolsDir
fileType = 'msi'
url = $url
checksum = $checksum
checksumType = $checksumType
softwareName = 'SuperPuTTY*'
silentArgs = "/quiet /qn /norestart /l*v `"$($env:TEMP)\$($packageName).$($env:chocolateyPackageVersion).MsiInstall.log`""
validExitCodes = @(0, 3010, 1641)
}

Install-ChocolateyPackage @packageArgs
$ErrorActionPreference = 'Stop';

$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url = 'https://github.com/jimradford/superputty/releases/download/1.4.0.9/SuperPuttySetup-1.4.0.9.msi'
$checksum = '1298e59665d02387c6f13b87507b07feaf03e705e95de60bc5841e61bcc7ae27'
$checksumType = 'sha256'

$packageArgs = @{
packageName = $env:ChocolateyPackageName
unzipLocation = $toolsDir
fileType = 'msi'
url = $url
checksum = $checksum
checksumType = $checksumType
softwareName = 'SuperPuTTY*'
silentArgs = "/quiet /qn /norestart /l*v `"$($env:TEMP)\$($packageName).$($env:chocolateyPackageVersion).MsiInstall.log`""
validExitCodes = @(0, 3010, 1641)
}

Install-ChocolateyPackage @packageArgs

0 comments on commit 8fb508c

Please sign in to comment.