Kopano DeskApp and OL Extension (both nightly/community editions)
This commit is contained in:
parent
2e2150715e
commit
bf9f23ca26
25
packages/kopano-deskapp-nightly/kopano-deskapp-nightly.nuspec
Executable file
25
packages/kopano-deskapp-nightly/kopano-deskapp-nightly.nuspec
Executable 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 can’t, 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>
|
35
packages/kopano-deskapp-nightly/tools/chocolateyinstall.ps1
Executable file
35
packages/kopano-deskapp-nightly/tools/chocolateyinstall.ps1
Executable 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
|
||||
}
|
1
packages/kopano-ol-extension-nightly/[Content_Types].xml
Executable file
1
packages/kopano-ol-extension-nightly/[Content_Types].xml
Executable file
@ -0,0 +1 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml" /><Default Extension="nuspec" ContentType="application/octet" /><Default Extension="ps1" ContentType="application/octet" /><Default Extension="psmdcp" ContentType="application/vnd.openxmlformats-package.core-properties+xml" /></Types>
|
1
packages/kopano-ol-extension-nightly/_rels/.rels
Executable file
1
packages/kopano-ol-extension-nightly/_rels/.rels
Executable file
@ -0,0 +1 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Type="http://schemas.microsoft.com/packaging/2010/07/manifest" Target="/kopano-ol-extension-nightly.nuspec" Id="Rdbe6e18314e141eb" /><Relationship Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="/package/services/metadata/core-properties/272377ebb6b5492483752e4d852607f4.psmdcp" Id="Re8a5ca1ca2a849d3" /></Relationships>
|
1
packages/kopano-ol-extension-nightly/kopano-ol-extension-nightly
Symbolic link
1
packages/kopano-ol-extension-nightly/kopano-ol-extension-nightly
Symbolic link
@ -0,0 +1 @@
|
||||
src/kopano/kopano-ol-extension-nightly
|
20
packages/kopano-ol-extension-nightly/kopano-ol-extension-nightly.nuspec
Executable file
20
packages/kopano-ol-extension-nightly/kopano-ol-extension-nightly.nuspec
Executable file
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>kopano-ol-extension-nightly</id>
|
||||
<version>1.5.214</version>
|
||||
<title>Kopano Outlook Extension</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/olextension:/</projectUrl>
|
||||
<iconUrl>https://raw.githubusercontent.com/peterbeck/chocolatey/master/icons/kopano-ol-extension.png</iconUrl>
|
||||
<requireLicenseAcceptance>true</requireLicenseAcceptance>
|
||||
<description>Kopano Outlook Extension (nightly)</description>
|
||||
<summary>Kopano OL Extension Nightly (unsupported)</summary>
|
||||
<releaseNotes>initial nightly packaging</releaseNotes>
|
||||
<copyright>2017 Kopano</copyright>
|
||||
<language />
|
||||
<tags>groupware kopano outlook-extension nightly</tags>
|
||||
</metadata>
|
||||
</package>
|
@ -0,0 +1 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><coreProperties xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.openxmlformats.org/package/2006/metadata/core-properties"><dc:creator>Kopano</dc:creator><dc:description>Kopano Outlook Extension (nightly)</dc:description><dc:identifier>kopano-ol-extension-nightly</dc:identifier><version>1.5.214</version><dc:language /><keywords>groupware kopano outlook-extension nightly</keywords><dc:title>Kopano Outlook Extension</dc:title><dc:subject>NuGet Package Explorer</dc:subject></coreProperties>
|
49
packages/kopano-ol-extension-nightly/tools/chocolateyinstall.ps1
Executable file
49
packages/kopano-ol-extension-nightly/tools/chocolateyinstall.ps1
Executable file
@ -0,0 +1,49 @@
|
||||
# Kopano Outlook Extension
|
||||
# 2017 foo.li systeme + software
|
||||
# https://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
$packageName = 'kopano-ol-extension-nightly'
|
||||
$packageSearch = 'Kopano OL Extension'
|
||||
$installerType = 'msi'
|
||||
$silentArgs = '/qb'
|
||||
$version = '1.5.217'
|
||||
$intvers = '1.5-217'
|
||||
$url = 'https://download.kopano.io/community/olextension:/KopanoOLExtension-' + $intvers + '-32bit.msi'
|
||||
$url64 = 'https://download.kopano.io/community/olextension:/KopanoOLExtension-' + $intvers + '-64bit.msi'
|
||||
$checksum = '66F7CD2075EC5993CABB4B903E8A9E73EE450B08'
|
||||
$checksumType = 'sha1'
|
||||
$checksum64 = 'CF4587BEF7DC3F6E5B779467F61494C67AEF032F'
|
||||
$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-Host -ForegroundColor DarkYellow $(
|
||||
"Kopano OL Extension " + $version + " or greater is already installed. `n" +
|
||||
"No need to download and install again. Otherwise uninstall first."
|
||||
)
|
||||
} else {
|
||||
#check for outlook
|
||||
#https://www.reddit.com/r/PowerShell/comments/47lhdt/simple_script_to_check_if_outlook_is_installed/
|
||||
#if (Get-ItemProperty HKLM:\SOFTWARE\Classes\Outlook.Application -ErrorAction SilentlyContinue) {
|
||||
# Write-Output "Outlook found"
|
||||
#} else {
|
||||
# Write-Output "Outlook could not be found"
|
||||
# throw $_.Exception
|
||||
#}
|
||||
if (get-wmiobject Win32_Product |where {$_.Name -like "*Outlook*" -and $_.Version -ge "15"}) {
|
||||
Write-Output "Outlook 2013 (or higher) seems to be present"
|
||||
Install-ChocolateyPackage $packageName $installerType $silentArgs $url $url64 `
|
||||
-checksum $checksum -checksumType $checksumType `
|
||||
-checksum64 $checksum64 -checksumType64 $checksumType64
|
||||
} else {
|
||||
Write-Output "unsupported (or no) Outlook Version detected"
|
||||
throw $_.Exception
|
||||
}
|
||||
}
|
||||
} catch {
|
||||
throw $_.Exception
|
||||
}
|
Loading…
Reference in New Issue
Block a user