Skip to content

Instantly share code, notes, and snippets.

@mwrock
Last active March 27, 2017 16:09
Show Gist options
  • Save mwrock/376780e46b80067c2cf76f674deb9700 to your computer and use it in GitHub Desktop.
Save mwrock/376780e46b80067c2cf76f674deb9700 to your computer and use it in GitHub Desktop.
$packageArgs = @{
packageName = 'fiddler4'
fileType = 'EXE'
url = 'https://www.telerik.com/docs/default-source/fiddler/fiddlersetup.exe'
checksum = 'E3836DFB9F18F25A6A5B544CC35CFE2712F94C96425665298621C74971479B8F'
checksumType = 'sha256'
silentArgs = '/S'
validExitCodes = @(0)
softwareName = 'fiddler*'
}
Install-ChocolateyPackage @packageArgs
@mwrock
Copy link
Author

mwrock commented Mar 27, 2017

$ErrorActionPreference = 'Stop'

$packageArgs = @{
packageName = 'fiddler4'
fileType = 'EXE'
url = 'https://www.telerik.com/docs/default-source/fiddler/fiddlersetup.exe'
checksum = 'E3836DFB9F18F25A6A5B544CC35CFE2712F94C96425665298621C74971479B8F'
checksumType = 'sha256'
silentArgs = '/S'
validExitCodes = @(0)
softwareName = 'fiddler*'
}
Install-ChocolateyPackage @packageArgs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment