From 7ac0f7cdcd742cded141a2d0b08164ae853ed1a7 Mon Sep 17 00:00:00 2001 From: lili Date: Tue, 2 Apr 2019 13:10:40 +0200 Subject: ps1s added --- tools/chocolateyinstall.ps1 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tools/chocolateyinstall.ps1 (limited to 'tools/chocolateyinstall.ps1') diff --git a/tools/chocolateyinstall.ps1 b/tools/chocolateyinstall.ps1 new file mode 100644 index 0000000..a8c6b95 --- /dev/null +++ b/tools/chocolateyinstall.ps1 @@ -0,0 +1,21 @@ + +$ErrorActionPreference = 'Stop'; +$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" +$url = 'https://github.com/benibela/xidel/releases/download/Xidel_0.9.8/xidel-0.9.8.win32.zip' + +$packageArgs = @{ + packageName = $env:ChocolateyPackageName + unzipLocation = $toolsDir + fileType = 'exe' + url = $url + url64 = $url + softwareName = 'xidel*' + + checksum = '96854C2BE1E3755F56FABB8F00D1FE567108461B9FAB139039219A1B7C17E382' + checksumType = 'sha256' + + silentArgs = "/qn /norestart /l*v `"$($env:TEMP)\$($packageName).$($env:chocolateyPackageVersion).MsiInstall.log`"" + validExitCodes= @(0, 3010, 1641) +} + +Install-ChocolateyZipPackage @packageArgs \ No newline at end of file -- cgit v1.2.3-54-g00ecf