Kopano DeskApp and OL Extension (both nightly/community editions)

This commit is contained in:
2017-08-01 21:42:32 +02:00
parent 2e2150715e
commit bf9f23ca26
8 changed files with 133 additions and 0 deletions

View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>kopano-deskapp-nightly</id>
<version>1.3.18</version>
<title>Kopano DeskApp</title>
<authors>Kopano</authors>
<owners>foo.li systeme + software</owners>
<licenseUrl>https://www.gnu.org/licenses/gpl.txt</licenseUrl>
<projectUrl>https://download.kopano.io/community/deskapp:/Windows/</projectUrl>
<iconUrl>https://raw.githubusercontent.com/peterbeck/chocolatey/master/icons/kopano-deskapp.png</iconUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<description>From collaboration and sharing with Files or Web Meetings to the standard groupware tools; WebApp has a lot of great features to offer. Making the best use of these features would be even easier if it could be integrated with your day-to-day office applications. This is where DeskApp comes in.
DeskApp is designed to be the bridge between WebApp and the desktop. DeskApp adds features a web application in a browser cant, such as being set as the default email client, integrate with the file system to send any file as an attachment. Or even with the operating system so you can send emails from any office application.</description>
<summary>Kopano DeskApp</summary>
<releaseNotes>initial package</releaseNotes>
<copyright>2017 Kopano</copyright>
<language />
<tags>groupware kopano deskapp nightly</tags>
<dependencies>
<dependency id="vcredist2015" version="14.0.24215.20170201" />
</dependencies>
</metadata>
</package>

View File

@ -0,0 +1,35 @@
# Kopano DeskApp
# 2017 foo.li systeme + software
# https://www.gnu.org/licenses/gpl.txt
$packageName = 'kopano-deskapp-nightly'
$packageSearch = 'Kopano DeskApp'
$installerType = 'msi'
$silentArgs = '/qb'
$version = '1.3.18'
$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 = '7A985E70BFA1C0E38ABAE078325AFD9F210F84D6'
$checksumType = 'sha1'
$checksum64 = 'C36DDEE5B6A83490921584F8B9BD7D0866752BED'
$checksumType64 = $checksumType
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 }
if ($app -and ([version]$app.DisplayVersion -ge [version]$version)) {
Write-Output $(
'Kopano DeskApp ' + $version + ' or greater is already installed. ' +
'No need to download and install again. Otherwise uninstall first.'
)
} else {
Install-ChocolateyPackage $packageName $installerType $silentArgs $url $url64 `
-checksum $checksum -checksumType $checksumType `
-checksum64 $checksum64 -checksumType64 $checksumType64
}
} catch {
throw $_.Exception
}