tis-firebirdclient 2.5.7.27050-2

  • package : tis-firebirdclient
  • version : 2.5.7.27050-2
  • architecture : all
  • locale :
  • description : Firebird database SQL client
  • maintainer : Hubert TOUVET
  • date : 2018-02-27 18:59:24
  • min_wapt_version :
  • min_os_version :
  • max_os_version :
  • impacted_process :

setup.py

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

uninstallkey=[]

def install():
    # if you want to modify the keys depending on environment (win32/win64... params..)
    print('installing Firebird DB client components')
    if service_installed('FirebirdServerDefaultInstance') or service_installed('FirebirdServerDefaultInstance'):
        error('Firebird server installed, keeping it to avoid breaking a Server.')

    # for Server.
    if service_installed('FirebirdServerDefaultInstance') and service_is_running('FirebirdServerDefaultInstance'):
        print "Stopping Firebird server"
        service_stop('FirebirdServerDefaultInstance')
    if service_installed('FirebirdServerDefaultInstance') and service_is_running('FirebirdGuardianDefaultInstance'):
        print "Stopping Firebird guardian"
        service_stop('FirebirdGuardianDefaultInstance')

    # for old msi style install
    old = installed_softwares('FBDBServer')
    if old:
        for soft in old:
            if Version(soft['version']) < Version('2.5.7.27050'):
                run(uninstall_cmd(soft['key']))

    args = []
    args.append('/VERYSILENT /SUPPRESSMSGBOXES')
    args.append('/NORESTART')
    # client only
    args.append('/COMPONENTS="ClientComponent"')
    args.append('/NOCPL')
    args.append('/COPYFBCLIENT')
    #args.append('/MERGETASKS=CopyFbClientToSysTask')
    install_exe_if_needed('Firebird-2.5.7.27050_0_Win32.exe',' '.join(args),key='FBDBServer_2_5_is1',min_version='2.5.7.27050',killbefore=['flamerobin.exe'])

    if service_installed('FirebirdServerDefaultInstance') and not service_is_running('FirebirdServerDefaultInstance'):
        print "Starting Firebird server"
        service_start('FirebirdServerDefaultInstance')
    if service_installed('FirebirdServerDefaultInstance') and not service_is_running('FirebirdGuardianDefaultInstance'):
        print "Starting Firebird guardian"
        service_start('FirebirdGuardianDefaultInstance')


    

Changelog

No changelog
    

manifest.sha256

WAPT/icon.png a5ff5ab2391e5fa9f441b9bc658720e00e7f38df9fd5cef5b905d85311717327
WAPT/certificate.crt 79e5388683c0b6cb03f4f81e4e58e3a11463b2b6cf169dd9c453098027dcfaa4
WAPT/wapt.psproj f9f6105e60e666cc2df22a221c74df31bed648099d3e59ee94eda0bf9d03296c
setup.py a94e059bbcc90893d85939c1ac6a6d9caee98b260dd1c03f1c529cb687402dc4
WAPT/control 6e65ca7967769f7d4f068e16373a0d11c5ea7c1a1fcf81037615bafefb419f89
Firebird-2.5.7.27050_0_Win32.exe 55630f9fe9a66892d76173cf59392dfd4e070be071aba20dada65c481692b6e5