Kopano DeskApp nightly 2.1.16, closes #5079

This commit is contained in:
2019-01-27 00:07:06 +01:00
parent 8eaa7a0502
commit 03c3d2f159
2 changed files with 15 additions and 9 deletions

View File

@ -1,20 +1,20 @@
# Kopano DeskApp
# 2017-2018 foo.li systeme + software
# 2017-2019 foo.li systeme + software
# https://www.gnu.org/licenses/gpl.txt
$packageName = 'kopano-deskapp-nightly'
$packageSearch = 'Kopano DeskApp'
$installerType = 'msi'
$silentArgs = '/qb'
$version = '2.1.7'
$version = '2.1.16'
$url = 'https://download.kopano.io/community/deskapp:/Windows/kopano-deskapp-' + $version + '-x86.msi'
$url64 = 'https://download.kopano.io/community/deskapp:/Windows/kopano-deskapp-' + $version + '-x64.msi'
$checksum = '0D3392628D81FC0A2DDAE49CD7BA115A43C8C454'
$checksum = 'c9e4fa3fb75281b651d9eb1ccd0da2c7a2da406f'
$checksumType = 'sha1'
$checksum64 = 'BBB68A7F727BD91BE14B410387DE23E39B9AAB2A'
$checksum64 = 'afd22d4c5e385306c693512e0293b48fef7986db'
$checksumType64 = $checksumType
try {
try {
$app = Get-ItemProperty -Path @('HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*',
'HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*') `
-ErrorAction:SilentlyContinue | Where-Object { $_.DisplayName -like $packageSearch }
@ -28,7 +28,7 @@ try {
Install-ChocolateyPackage $packageName $installerType $silentArgs $url $url64 `
-checksum $checksum -checksumType $checksumType `
-checksum64 $checksum64 -checksumType64 $checksumType64
}
}
} catch {
throw $_.Exception
}