- package: tis-regshot
- name: Regshot
- version: 1.9.0-3
- categories: System and network
- maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ,Simon FONTENEAU
- editor: The Regshot Team
- licence: LGPLv2
- locale: all
- target_os: windows
- impacted_process: Regshot-x64-ANSI.exe,Regshot-x64-Unicode.exe,Regshot-x86-ANSI.exe,Regshot-x86-Unicode.exe
- architecture: all
- signature_date:
- size: 308.93 Ko
- installed_size: 598.02 Ko
- homepage : https://sourceforge.net/projects/regshot/
package : tis-regshot
version : 1.9.0-3
architecture : all
section : base
priority : optional
name : Regshot
categories : System and network
maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Simon FONTENEAU
description : Regshot is an open-source (LGPL) registry compare utility that allows you to quickly take a snapshot of your registry and then compare it with a second one - done after doing system changes or installing a new software product.
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 1.7
sources : https://sourceforge.net/projects/regshot/files/regshot/
installed_size : 598016
impacted_process : Regshot-x64-ANSI.exe,Regshot-x64-Unicode.exe,Regshot-x86-ANSI.exe,Regshot-x86-Unicode.exe
description_fr : Regshot est un utilitaire de comparaison de registre à source ouverte (LGPL) qui vous permet de prendre rapidement un instantané de votre registre, puis de le comparer à un second - effectué après avoir modifié le système ou installé un nouveau logiciel.
description_pl : Regshot to narzędzie do porównywania rejestru typu open-source (LGPL), które umożliwia szybkie wykonanie migawki rejestru, a następnie porównanie go z drugim - wykonanym po wprowadzeniu zmian w systemie lub zainstalowaniu nowego oprogramowania.
description_de : Regshot ist ein Open-Source-Dienstprogramm (LGPL) zum Vergleichen der Registrierung, mit dem Sie schnell einen Schnappschuss Ihrer Registrierung erstellen und ihn dann mit einem zweiten vergleichen können - nach Systemänderungen oder der Installation eines neuen Softwareprodukts.
description_es : Regshot es una utilidad de comparación de registros de código abierto (LGPL) que le permite tomar rápidamente una instantánea de su registro y luego compararlo con un segundo, hecho después de hacer cambios en el sistema o instalar un nuevo producto de software.
description_pt :
description_it :
description_nl :
description_ru :
audit_schedule :
editor : The Regshot Team
keywords : registry,compare,snapshot,regshot,reg,shot
licence : LGPLv2
homepage : https://sourceforge.net/projects/regshot/
package_uuid : 5844ea2f-9e6b-4091-9130-37469bc0bb51
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 3c827fe90963a24246c041dc00114562d1af838e8c0a3c52743edfd3a13f23e6
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : wDqA6IzSATVSsrFZ6RD6m8cuXgk6rvwKQBhkGUhwyf2J4JheyMRkNALu1EKZ7B92A6thOzPu4xS+vTuqjNEnWi0CqCnlnnQGpQbeu8D0zQuE1I3Dbxxmn6s7a03GWBzS7AShyuVSPrILGiHiIc4pKQL9MUEow8JQ0NsSMxVxsKK4QUzHS5ex6Ddw4cv+LG/OmyDg03Mu73dUHEjx8TJ3E3c76WOIkXzbUj7e8luy3NYx/TpUXE6biGGT2FgfVdKGhwRuMn30e0OMunxTkmHwNQRjZVyzZkK+vJOKAUgXPOayKxDvrnfVEZlf7a2X54InjcdsCNUiefB6X4B5JWZ0qA==
signature_date : 2021-10-25T16:43:27.728727
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,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,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
# -*- coding: utf-8 -*-
from setuphelpers import *
import platform
import json
# Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
bin_name_x64 = 'Regshot-x64-Unicode.exe'
bin_name_x86 = 'Regshot-x86-Unicode.exe'
app_name = 'Regshot'
app_path = makepath(programfiles32,app_name)
app_bin_path_x64 = makepath(app_path,bin_name_x64)
app_bin_path_x86 = makepath(app_path,bin_name_x86)
def install():
# Installing the package
if isdir(app_path):
remove_tree(app_path)
copytree2(app_name,app_path)
else:
copytree2(app_name,app_path)
if iswin64():
#create_desktop_shortcut(app_name,app_bin_path_x64)
create_programs_menu_shortcut(app_name,app_bin_path_x64)
else:
#create_desktop_shortcut(app_name,app_bin_path_x86)
create_programs_menu_shortcut(app_name,app_bin_path_x86)
def uninstall():
remove_tree(app_path)
#remove_desktop_shortcut(app_name)
remove_programs_menu_shortcut(app_name)
def update_package():
# Declaring local variables
result = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
if isdir('Regshot'):
remove_tree('Regshot')
windows_release = json.loads(wgets('https://sourceforge.net/projects/regshot/best_release.json', proxies=proxies))['platform_releases']['windows']
filename = windows_release['filename'].split('/')[-1]
url_release = windows_release['url']
""" url_release = 'https://sourceforge.net/projects/regshot/files/regshot/1.9.1-beta/Regshot-1.9.1-beta_r321.7z/download'
filename = url_release.split('/')[-2] """
if not isfile(filename):
wget(url_release,filename, proxies=proxies)
path7z = makepath(programfiles,'7-Zip','7z.exe')
run('"%s" e %s -o%s' % (path7z,filename,app_name))
if isfile(filename):
remove_file(filename)
version = get_file_properties(makepath(app_name,bin_name_x86))['ProductVersion'].split(' ')[0]
# Changing version of the package
if Version(version) > Version(control.get_software_version()):
print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
result = True
control.version = '%s-%s' % (Version(version), control.version.split('-', 1)[-1])
#control.set_software_version(version)
control.save_control_to_wapt()
# Deleting outdated binaries
remove_outdated_binaries(version)
# Validating update-package-sources
return result
def get_proxies():
r"""Return system proxy with the urllib python library
>>> get_proxies()
{'http': 'http://srvproxy.ad.domain.lan:8080',
'https': 'http://srvproxy.ad.domain.lan:8080'}
"""
if platform.python_version_tuple()[0] == '3':
from urllib.request import getproxies
else:
from urllib import getproxies
return getproxies()
def get_proxies_from_wapt_console():
r"""Return proxy information from the current user WAPT console
>>> get_proxies_from_wapt_console()
{'http': 'http://srvproxy.ad.domain.lan:8080',
'https': 'http://srvproxy.ad.domain.lan:8080'}
"""
proxies = {}
if platform.system() == 'Windows':
waptconsole_ini_path = makepath(user_local_appdata(), 'waptconsole', 'waptconsole.ini')
else:
waptconsole_ini_path = makepath(user_home_directory(), '.config', 'waptconsole', 'waptconsole.ini')
if isfile(waptconsole_ini_path):
proxy_wapt = inifile_readstring(waptconsole_ini_path, 'global', 'http_proxy')
if proxy_wapt:
proxies = {'http': proxy_wapt, 'https': proxy_wapt}
return proxies
4ac2560bbda8ec833060d7a7c9eb81316f88083d25b9b43c4bd4eee83acb4999 : Regshot/History.txt
a32778185b14ab299fe0fb946327fb2a7b35a5012290cd7396d0b72af809b580 : Regshot/language.ini
1e7e6bae5a5bde32f1ae5a7c37a082d1ab03cf89354f7f936ac40be9e39a6531 : Regshot/License.txt
ba5eebcb5a599fa68b001f0bfa03440c1ae353d55c7b1b2e6aecde96f71d8a25 : Regshot/ReadMe.txt
d41b926d62c3a99fae12bb0116f2cdf5f382a883d508bb7feb7734c09682004c : Regshot/Regshot-x64-ANSI.exe
299702f56210ab1860ad4b6ad7611e22abcb048114a52f15a04c896bd33cd2d9 : Regshot/Regshot-x64-Unicode.exe
28408f9f79c5f9fd8c7d6101fc30073ec5a0378bdcd76f680328113a2920fe0a : Regshot/Regshot-x86-ANSI.exe
d4cba517118ff995bcafa3538fbdaee99212fe1fbc2147c0c6dc440e991b6ec9 : Regshot/Regshot-x86-Unicode.exe
51e5be25a6243e0d20343a6f64412544c9ce65d6f2d95bd0257d4cf0766d857c : Regshot/regshot.ini
3fbe42019a3f4bbf862c97fc81a9662829382db84d19de3135b10c5c553b015b : setup.py
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
3c827fe90963a24246c041dc00114562d1af838e8c0a3c52743edfd3a13f23e6 : WAPT/icon.png
71dabe88468a0aad3b35328c665b7e35e15d18133bfdec3fbd896c3026dd6e69 : WAPT/control