tis-pgadmin

1.22.1-1
pgAdmin III 1.22. Uninstall older pgadminIII version and pgadminIV. If intalled on winXP, it installs pgadmin 18.1, the last supported version on that OS
3816 downloads
Download

  Description 

  • package : tis-pgadmin
  • version : 1.22.1-1
  • architecture : all
  • categories :
  • maintainer : Hubert TOUVET, Amelie LE JEUNE
  • description : pgAdmin III 1.22. Uninstall older pgadminIII version and pgadminIV. If intalled on winXP, it installs pgadmin 18.1, the last supported version on that OS
  • locale :
  • target_os :
  • min_os_version :
  • max_os_version :
  • min_wapt_version :
  • sources :
  • installed_size :
  • impacted_process :
  • description_fr :
  • description_pl :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor :
  • licence :
  • signature_date : 2020-02-27T21:39:30.334081

  Setup.py 

# -*- coding: utf-8 -*-
from setuphelpers import *
import platform
uninstallkey = []

def install():
    print('installing PG Admin')

    all_pgadmin = installed_softwares('pgadmin')
    if all_pgadmin:
        for pgadmin in all_pgadmin:
            if pgadmin['version'] < '1.22' :
                print "Uninstall %s (%s)" % (pgadmin['name'],pgadmin['version'])
                run(WAPT.uninstall_cmd(pgadmin['key']))


    if platform.win32_ver()[0].lower()=='xp':
        print ("os version is winXP, installing last supported version pgadmin 18.1")
        install_msi_if_needed('pgadmin3-18.1.msi',min_version='1.20')
    else:
        run('pgadmin3.msi /qn')

										

  Changelog 


No changelog
  manifest.sha256 
[["pgadmin3.msi","6f14980355e8f06014eb881d59e4a95ec29a5a5be92b687dfad524203e7c972f"],["setup.py","e8e7cc01a477050c0fc861f8526402d68847a079340d9be1dbe0ed3647b746fa"],["WAPT/certificate.crt","a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf"],["WAPT/wapt.psproj","45a68291c1ae0cf603ab5ae59705963c21aeec576b9852bd9cd5b2d808628a60"],["WAPT/control","aa5480fc24c46a7056ef70bd0a7d854a25d520feeac5ad88b122f412f05d9f6f"]]