Update Chocolatey scripts to support the new MSI package

refs #11449
This commit is contained in:
Gunnar Beutner 2016-04-12 12:27:33 +02:00
parent df61b4940e
commit 4fe7076b5f
1 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,8 @@
$packageName = 'icinga2' $packageName = 'icinga2'
$installerType = 'exe' $installerType = 'msi'
$url = 'http://packages.icinga.org/windows/Icinga2-v2.4.4.exe' $url32 = 'http://packages.icinga.org/windows/Icinga2-snapshot-x86.msi'
$silentArgs = '/S' $url64 = 'http://packages.icinga.org/windows/Icinga2-snapshot-x86_64.msi'
$silentArgs = '/silent'
$validExitCodes = @(0) $validExitCodes = @(0)
Install-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "$url" -validExitCodes $validExitCodes Install-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "$url32" "$url64" -validExitCodes $validExitCodes