tis-gow 0.8-3

  • package : tis-gow
  • version : 0.8-3
  • description : Gnu on Windows, cp ls grep wget vi etc... all on windows!
  • maintainer : Administrateur
  • date : 2017-07-20 11:20:49
  • signer : TRANQUIL IT SYSTEMS
  • signature_date : 20170720-112049
  • min_os_version :
  • min_wapt_version :

setup.py

# -*- coding: utf-8 -*-
from setuphelpers import *
import time
# registry key(s) where WAPT will find how to remove the application(s)
uninstallkey = ['Gow']

# command(s) to launch to remove the application(s)
uninstallstring = []

# list of required parameters names (string) which can be used during install
required_params = []

def install():
    # if you want to modify the keys depending on environment (win32/win64... params..)
    global uninstallkey
    global uninstallstring

    old_gow = installed_softwares('Gow')
    if old_gow and old_gow[0]['key'] == 'Gow':
        print "Remove old Gow"
        try:
            run(WAPT.uninstall_cmd(old_gow[0]['key']))
        except:
            unregister_uninstall(old_gow[0]['key'])
        count = 0
        while installed_softwares('Gow'):
            time.sleep(4)
            count= count+ 1
            if count>4: break
    print('installing tis-gow-0.8.0')
    run(r'"Gow-0.8.0.exe" /S')
    print "adding unzip"

    copytree2('unzip',r'%s\gow\bin'% programfiles32)
    

manifest

[["unzip/zipinfo.exe", "c0399fe8002c6de8cdca8f499118824455e055e8"], ["WAPT/icon.png", "9ddeee2e8b505ba2bf453e906501266dba79ffad"], ["WAPT/certificate.crt", "0db563dc9077b268ca07ba834322d0fc5e21f8e5"], ["unzip/unzipsfx.exe", "a100efcd514c269c94ea92061a046be21c0044a2"], ["%s/gow/bin/SFXWiz32.exe", "3f0e4cc8e751360457632044dcc55d95468cb0d2"], ["unzip/funzip.exe", "45292b434e713992d426950da210483f917b15bb"], ["unzip/unzip.exe", "0fd9a61bf9a361f87661de295e70a9c6795fe6a1"], ["%s/gow/bin/unzip.exe", "0fd9a61bf9a361f87661de295e70a9c6795fe6a1"], ["%s/gow/bin/zipinfo.exe", "c0399fe8002c6de8cdca8f499118824455e055e8"], ["Gow-0.8.0.exe", "4ba1250be4f5dd14aff5f58bf24030252aee3893"], ["unzip/unzip32.dll", "399a9dbc016e463be268afc4ce6ed4e6c02295a7"], ["%s/gow/bin/unzip32.dll", "399a9dbc016e463be268afc4ce6ed4e6c02295a7"], ["unzip/uzexampl.exe", "7a45cf56c581146013c7991f381e22f9bdb8c34c"], ["%s/gow/bin/funzip.exe", "45292b434e713992d426950da210483f917b15bb"], ["%s/gow/bin/unzipsfx.exe", "a100efcd514c269c94ea92061a046be21c0044a2"], ["setup.py", "2f756ed375f3a1b98e90498493dee454678c17be"], ["WAPT/wapt.psproj", "d140401965341ede69880cd6342c5db7040324b2"], ["%s/gow/bin/uzexampl.exe", "7a45cf56c581146013c7991f381e22f9bdb8c34c"], ["WAPT/control", "c54dc30c9af1462eb94c053a4edbc382df881fc1"], ["unzip/SFXWiz32.exe", "3f0e4cc8e751360457632044dcc55d95468cb0d2"]]