chocolateyinstall.ps1 560 B

1234567891011121314151617
  1. $ErrorActionPreference = 'Stop';
  2. $packageName= '1password' # arbitrary name for the package, used in messages
  3. $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
  4. $packageArgs = @{
  5. packageName = $packageName
  6. unzipLocation = $toolsDir
  7. fileType = 'exe'
  8. url = '{{DownloadUrl}}'
  9. softwareName = '1Password*'
  10. checksum = '{{Checksum}}'
  11. checksumType = 'sha256'
  12. silentArgs = '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-'
  13. validExitCodes= @(0)
  14. }
  15. Install-ChocolateyPackage @packageArgs