chocolateyinstall.ps1 668 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 = 'https://d13itkw33a7sus.cloudfront.net/dist/1P/win4/1Password-4.6.0.604.exe'
  9. softwareName = '1Password*'
  10. checksum = '3c6f9f51f5a4c44ceced089cdee8c840f18d96f652b4fe95e16d166859767076'
  11. checksumType = 'sha256'
  12. silentArgs = '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-'
  13. validExitCodes= @(0)
  14. }
  15. Install-ChocolateyPackage @packageArgs