mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-15 04:24:01 +01:00
43 lines
704 B
PowerShell
43 lines
704 B
PowerShell
|
|
$ErrorActionPreference = 'Stop';
|
|
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
|
|
$url = ''
|
|
$url64 = ''
|
|
|
|
$packageArgs = @{
|
|
packageName = $env:ChocolateyPackageName
|
|
unzipLocation = $toolsDir
|
|
fileType = 'EXE'
|
|
url = $url
|
|
url64bit = $url64
|
|
|
|
softwareName = 'powershell-scripts*'
|
|
|
|
checksum = ''
|
|
checksumType = 'sha256'
|
|
checksum64 = ''
|
|
checksumType64= 'sha256'
|
|
|
|
silentArgs = "/qn /norestart /l*v `"$($env:TEMP)\$($packageName).$($env:chocolateyPackageVersion).MsiInstall.log`""
|
|
validExitCodes= @(0, 3010, 1641)
|
|
}
|
|
|
|
Install-ChocolateyPackage @packageArgs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|