tis-dia 0.97.2.2-1

  • package : tis-dia
  • version : 0.97.2.2-1
  • description : alternative opensource à Visio.
  • maintainer : Tranquil IT Systems, Jérémie MOTTE
  • date : 2014-06-05 21:03:52
  • signer :
  • signature_date :
  • min_os_version :
  • min_wapt_version :

setup.py

# -*- coding: utf-8 -*-
# -----------------------------------------------------------------------
#    This file is part of WAPT
#    Copyright (C) 2014  Tranquil IT Systems http://www.tranquil.it
#    WAPT aims to help Windows systems administrators to deploy
#    setup and update applications on users PC.
#
#    WAPT is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#
#    WAPT is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with WAPT.  If not, see <http://www.gnu.org/licenses/>.
#
# -----------------------------------------------------------------------
from setuphelpers import *
import time
uninstallkey = []
uninstallstring = []

def install():
    global uninstallstring

    uninstallstring = [ ]
    print('installing DIA for Windows')
    run(r'"dia-setup-0.97.2-2-unsigned.exe" /S')

def uninstall():
    run('"%s" /S' % os.path.join(programfiles32,'Dia','dia-0.97.2-uninstall.exe'))
    while(isrunning('Au_.exe')):
        time.sleep(1)
    dia_dir = os.path.join(programfiles32,'Dia')
    if os.path.exists(dia_dir):
        remove_tree(dia_dir)
    

manifest

[
 [
  "dia-setup-0.97.2-2-unsigned.exe", 
  "bf774bf6902e390d2a4ade45dde41f905c60ceeb"
 ], 
 [
  "setup.py", 
  "993385722de7fc920d6e1ebfa8ff28a0929e922f"
 ], 
 [
  "WAPT\\control", 
  "1feb53825f1cd802825b65f2764f35b794be59f8"
 ], 
 [
  "WAPT\\icon.png", 
  "81a5a25956f8d2472c4cb2cd328ce25348c31919"
 ], 
 [
  "WAPT\\wapt.psproj", 
  "4e85d7af350c7aa022303492501577e1436625bd"
 ]
]