tis-tclock2010 2.0.1.95-0

  • package : tis-tclock2010
  • version : 2.0.1.95-0
  • description : replace clock in systray and show date + time
  • maintainer : Administrateur
  • date : 2017-07-20 11:24:21
  • signer : TRANQUIL IT SYSTEMS
  • signature_date : 20170720-112421
  • min_os_version :
  • min_wapt_version :

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"
    

manifest

[["tclock2010/Win32/tClock.dll", "e97c2bfb6df9b18138a0bf5f4220aa1e4996c172"], ["WAPT/certificate.crt", "0db563dc9077b268ca07ba834322d0fc5e21f8e5"], ["tclock2010/Waves/Timer.wav", "fa218046c29aaae7532c725199d792fbc83964e6"], ["WAPT/wapt.psproj", "24f55f83184740fb5f074e8601cffff08f20ead2"], ["tclock2010/Waves/Blip.wav", "6db736ae76405f4f278e4902e1132ca6d51ef688"], ["tclock2010/Waves/Cuckoo.wav", "cdefea8f6c2b1e8f71f45f1912b5adcf3e45bad0"], ["tclock2010/x64/tClock.dll", "a4118037b61bf122e949a1d63821e40c632f7c58"], ["tclock2010/Waves/Alarm.wav", "8b6dbbce2c5a19ebbf23147248569b67e8c9bfd7"], ["tclock2010/Waves/Clock.wav", "f184b0cc544f9868bd2b9ecbd5aa944727f8159e"], ["tclock2010/Waves/Sync.wav", "cdae5c9b2fc32465eef435be0a8fd6c41b54a640"], ["tclock2010/Win32/Clock.exe", "273649ab4a56eb3ed7f1db35591c9a2e574cd54c"], ["tclock2010/x64/Clock.exe", "0999191803a9982952c7c7fd40acfee162b3bda3"], ["tclock2010/Waves/Buzzer.wav", "19cbece86aff8561fa1070044cd51a4099124618"], ["tclock2010/Waves/ClockChimes.wav", "3c3a45c5476706caa256e01836d90d08c8b91e1c"], ["setup.py", "6f35a5f80a0861b196b4e4db6eab9664409c6275"], ["tclock2010/Waves/Demo.pcb", "f35eac291e8af39af2edb4a29671b473801e70e0"], ["WAPT/control", "6349e407796654780d2ca06bd0b8ac86a1929942"]]