From: Gunnar Beutner Date: Tue, 12 Apr 2016 10:27:33 +0000 (+0200) Subject: Update Chocolatey scripts to support the new MSI package X-Git-Tag: v2.5.0~410 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4fe7076b5f9818fc0936a1617ffd657fbcf8e24b;p=icinga2 Update Chocolatey scripts to support the new MSI package refs #11449 --- diff --git a/tools/chocolateyInstall.ps1 b/tools/chocolateyInstall.ps1 index bec387eca..9aab98bb7 100755 --- a/tools/chocolateyInstall.ps1 +++ b/tools/chocolateyInstall.ps1 @@ -1,7 +1,8 @@ $packageName = 'icinga2' -$installerType = 'exe' -$url = 'http://packages.icinga.org/windows/Icinga2-v2.4.4.exe' -$silentArgs = '/S' +$installerType = 'msi' +$url32 = 'http://packages.icinga.org/windows/Icinga2-snapshot-x86.msi' +$url64 = 'http://packages.icinga.org/windows/Icinga2-snapshot-x86_64.msi' +$silentArgs = '/silent' $validExitCodes = @(0) -Install-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "$url" -validExitCodes $validExitCodes +Install-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "$url32" "$url64" -validExitCodes $validExitCodes