From 4fe7076b5f9818fc0936a1617ffd657fbcf8e24b Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Tue, 12 Apr 2016 12:27:33 +0200 Subject: [PATCH] Update Chocolatey scripts to support the new MSI package refs #11449 --- tools/chocolateyInstall.ps1 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 -- 2.40.0