tis-regshot
1.9.0.281-0
Regshot util to make diff on registry and filesystem
1319 downloads

Description
- package : tis-regshot
- version : 1.9.0.281-0
- architecture : all
- categories :
- maintainer : TIS <technique@tranquil-it-systems.fr>
- description : Regshot util to make diff on registry and filesystem
- 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-27T15:11:55.073570
Setup.py
#!/usr/bin/python
# -*- coding: utf-8 -*-
# -----------------------------------------------------------------------
# This file is part of WAPT
# Copyright (C) 2013 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 *
def install():
print('Installing regshot')
if iswin64():
source_file = os.path.join('x64','regshot.exe')
destdir = os.path.join(programfiles64,'regshot')
else:
source_file = os.path.join('x86','regshot.exe')
destdir= os.path.join(programfiles32,'regshot')
if os.path.exists(destdir)==False:
os.makedirs(destdir)
exefile= os.path.join(destdir,'regshot.exe')
filecopyto(source_file, destdir,)
create_programs_menu_shortcut('Regshot',exefile)
print "Registering uninstall"
def uninstall():
print "Remove start link"
remove_file(makepath(start_menu(1),'regshot.lnk'))
if iswin64:
destdir = os.path.join(programfiles64,'regshot')
else:
destdir= os.path.join(programfiles32,'regshot')
print "Remove directory content %s" % destdir
remove_tree(destdir)
print "Uninstall successsful"
[["x64/regshot.exe","299702f56210ab1860ad4b6ad7611e22abcb048114a52f15a04c896bd33cd2d9"],["WAPT/certificate.crt","a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf"],["WAPT/wapt.psproj","fdd9db03cb28a75c9b2af4f5154e55cce7feaa098404f37d3fe5c6cdfb483729"],["x86/regshot.exe","d4cba517118ff995bcafa3538fbdaee99212fe1fbc2147c0c6dc440e991b6ec9"],["setup.py","e8a8f5ffd7d5b0126f19d04bad46ac13e09405a20cd08fee0448a3b73c7f0edc"],["WAPT/control","cc91a5774ee2a667cce5ac7a9a4104f4d1577b94cd3f6a75fff63ee128127a0e"]]