tis-tclock2010

2.0.1.95-0
replace clock in systray and show date + time
1184 downloads
Download

  Description 

  • package : tis-tclock2010
  • version : 2.0.1.95-0
  • architecture : all
  • categories :
  • maintainer : Administrateur
  • description : replace clock in systray and show date + time
  • locale :
  • target_os :
  • 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:41:59.741141

  Setup.py 

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

# registry key(s) where WAPT will find how to remove the application(s)
uninstallkey = []

destdir = makepath(programfiles32,'tclock2010')
default_startup_menu = startup(common=1)
if iswin64():
    exefile = makepath(destdir,'x64','Clock.exe')
else:
    exefile = makepath(destdir,'Win32','Clock.exe')
link_file_name = os.path.join(default_startup_menu,"tclock2010.lnk")

def install():
    print('Installing tclock2010')
    copytree2('tclock2010',destdir,onreplace=default_overwrite_older)
    import winshell
    winshell.CreateShortcut(link_file_name,exefile)
    print "Registering uninstall"
    register_windows_uninstall(control)

def uninstall():
    killalltasks('Clock.exe')
    print "Remove directory content %s" % destdir
    remove_tree(destdir)
    print "Remove start link"
    remove_file(link_file_name)
    print "Unregister app from registry"
    unregister_uninstall(control.package,False)
    print "Uninstall successsful"
										

  Changelog 



No changelog.txt.
									
  manifest.sha256