]> granicus.if.org Git - icinga2/commitdiff
Update Chocolatey scripts to support the new MSI package
authorGunnar Beutner <gunnar.beutner@netways.de>
Tue, 12 Apr 2016 10:27:33 +0000 (12:27 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Tue, 12 Apr 2016 10:27:33 +0000 (12:27 +0200)
refs #11449

tools/chocolateyInstall.ps1

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