tis-onlyoffice-desktop

5.4.2.30-2
ONLYOFFICE (formerly TeamLab) is an open source office suite
32642 downloads
Download
default icon

  Description 

  • package : tis-onlyoffice-desktop
  • version : 5.4.2.30-2
  • architecture : x64
  • categories : Office
  • maintainer : Tranquil IT,Simon Fonteneau,Jimmy PELÉ
  • description : ONLYOFFICE (formerly TeamLab) is an open source office suite
  • locale : all
  • target_os : windows
  • min_wapt_version : 1.5
  • sources : https://www.onlyoffice.com/download-desktop.aspx
  • installed_size : 594579456
  • impacted_process : DesktopEditors.exe,editors.exe
  • description_fr : ONLYOFFICE (anciennement Teamlab Office) est une suite bureautique libre
  • description_pl :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor : Ascensio System SIA
  • licence : GPLv3
  • signature_date : 2020-02-27T21:38:18.548554
  • Homepage : https://www.onlyoffice.com/

  Setup.py 

# -*- coding: utf-8 -*-
from setuphelpers import *

uninstallkey = []
name_installer = 'DesktopEditors_x64.exe'

def install():
    print('installing %s' % control.asrequirement())
    diskfreespacebefore = get_disk_free_space(programfiles)
    versionsoft = control['version'].split('-',1)[0]

    for onlyoffice in installed_softwares('ONLYOFFICE Desktop Editors_is1'):
        if programfiles32 in onlyoffice['uninstall_string']:
            run(uninstall_cmd(onlyoffice['key']))

    install_exe_if_needed(name_installer,silentflags='/VERYSILENT',key='ONLYOFFICE Desktop Editors_is1',min_version=versionsoft)
    remove_desktop_shortcut('ONLYOFFICE Desktop Editors')
    diskfreespaceafter = get_disk_free_space(programfiles)
    difffreespace = diskfreespacebefore - diskfreespaceafter
    print(ur"Disk space required for installation : " + str(difffreespace))

def update_package():
    print('Update package content from upstream binary sources')

    # Get Proxy informations from WAPT settings
    proxies = {}
    if isfile(makepath(application_data(),'waptconsole','waptconsole.ini')):
        proxywapt = inifile_readstring(makepath(user_local_appdata(),'waptconsole','waptconsole.ini'),'global','http_proxy')
        if proxywapt :
            proxies = {'http':proxywapt,'https':proxywapt}
            
    for line in wgets('https://www.onlyoffice.com/fr/download-desktop.aspx',proxies=proxies).splitlines() :
        if 'Version actuelle' in line:
            lastest_version = line.replace('                            Version actuelle : ','')
            break

    if Version(get_file_properties(name_installer)['ProductVersion']) < Version(lastest_version):
        remove_file(name_installer)

    if not isfile(name_installer):
        wget('http://download.onlyoffice.com/install/desktop/editors/windows/distrib/onlyoffice/%s' % name_installer,name_installer,proxies=proxies)


    from waptpackage import PackageEntry
    pe = PackageEntry()
    pe.load_control_from_wapt(os.getcwd())
    pe.version = get_file_properties(name_installer)['ProductVersion']+'-0'
    pe.save_control_to_wapt(os.getcwd())


if __name__ == '__main__':
    update_package()


										

  Changelog 



https://helpcenter.onlyoffice.com/server/document/changelog.aspx
									
  manifest.sha256