
- package: tis-input-director
- name: Input Director
- version: 2.3.0.0-1
- categories: System and network
- maintainer: WAPT Team,Tranquil IT,Amel FRADJ,
- licence: opensource_free,wapt_private
- target_os: windows
- architecture: all
- signature_date:
- size: 87.18 Mo
package : tis-input-director
version : 2.3.0.0-1
architecture : all
section : base
priority : optional
name : Input Director
categories : System and network
maintainer : WAPT Team,Tranquil IT,Amel FRADJ,
description : nput Director is a Windows application that lets you control multiple Windows systems using the keyboard/mouse connected to one computer. It's designed for people who have two (or more) computers side by side, and need to switch regularly between them
depends :
conflicts :
maturity : PROD
locale :
target_os : windows
min_wapt_version : 2.3
sources :
installed_size :
impacted_process :
description_fr : nput Director est une application Windows qui vous permet de contrôler plusieurs systèmes Windows à l'aide du clavier/de la souris connectés à un ordinateur. Elle est conçue pour les personnes qui ont deux (ou plusieurs) ordinateurs côte à côte et qui doivent régulièrement passer d'un système à l'autre
description_pl : nput Director to aplikacja Windows, która pozwala kontrolować wiele systemów Windows za pomocą klawiatury/myszy podłączonej do jednego komputera. Jest przeznaczona dla osób, które mają dwa (lub więcej) komputery obok siebie i które regularnie muszą przełączać się z jednego systemu na drugi
description_de : nput Director ist eine Windows-Anwendung, mit der Sie mehrere Windows-Systeme mithilfe der an einen Computer angeschlossenen Tastatur/Maus steuern können. Sie ist für Personen gedacht, die zwei (oder mehr) Computer nebeneinander haben und regelmäßig zwischen den Systemen wechseln müssen
description_es : nput Director es una aplicación de Windows que le permite controlar varios sistemas Windows utilizando el teclado/ratón conectado a un ordenador. Está diseñado para personas que tienen dos (o más) ordenadores uno al lado del otro y que regularmente necesitan cambiar de un sistema a otro
description_pt : O nput Diretor é uma aplicação do Windows que lhe permite controlar vários sistemas Windows utilizando o teclado/rato ligado a um computador. Foi concebida para pessoas que têm dois (ou mais) computadores lado a lado e que precisam de mudar regularmente de um sistema para outro
description_it : nput Director è un'applicazione Windows che consente di controllare più sistemi Windows utilizzando la tastiera/mouse collegata a un computer. È stata progettata per le persone che hanno due (o più) computer affiancati e che hanno regolarmente bisogno di passare da un sistema all'altro
description_nl : nput Director is een Windows-toepassing waarmee je meerdere Windows-systemen kunt bedienen via het toetsenbord/muis dat op één computer is aangesloten. Het is ontworpen voor mensen die twee (of meer) computers naast elkaar hebben staan en die regelmatig van het ene systeem naar het andere moeten overschakelen
description_ru : nput Director - это приложение для Windows, позволяющее управлять несколькими системами Windows с помощью клавиатуры/мыши, подключенных к одному компьютеру. Оно предназначено для тех, кто имеет два (или более) компьютера рядом друг с другом и кому регулярно приходится переключаться с одной системы на другую
audit_schedule :
editor :
keywords :
licence : opensource_free,wapt_private
homepage :
package_uuid : 39f62943-b8b2-46a1-87a8-c6b2b00866c1
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 66937b1ddd733e8b8f85dc218a8163436cf361fc70f9eb104df8c3802a6b1df7
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2024-09-11T10:43:32.000000
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
signature : s2JxZdvQF91CssZ6sstbzcKYMUqVDWTwDkYHuLioBHXRXNQmDj1jV0pPnCL+soZh1A3PYHsSIjSwShfU05DjxK5Q+ZFHuv8NkrA3CQ9SP934BqTTaNWfl/KiFizZqFIwiWX67+woMczQoaExsna9iEFFfHGp9eB7H5NkEm9Rvv47zHmoPjKglKJOHDw+bKYM+IDrvpe+LeCwdV4MqS7OVlvd3tTNJyTDzdPnUZBxQgjHGazmkyEcIKAcgyyDuVulqXu0fjkNh2qquAkbbSouUYfW/or0rWBj/ABj2tVuHcjQjIfqYL40cPYU0xq1eQ65K5Yp3egP5SGRIgK5sALV+g==
# -*- coding: utf-8 -*-
from setuphelpers import *
r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
{
"key":"Input Director",
"name":"Input Director v2.2 ",
"version":"2.2",
"install_date":"",
"install_location":"\"C:\\Program Files\\Input Director\"",
"uninstall_string":"\"C:\\Program Files\\Input Director\\uninstall.exe\"",
"publisher":"Imperative Software Pty Ltd",
"system_component":0,
"win64":false
}
"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
def install():
# Declaring local variables
bin_name = glob.glob("InputDirector.*.exe")[0]
# Installing the software
install_exe_if_needed(
bin_name,
silentflags="/S /allusers",
key="Input Director",
min_version=control.get_software_version(),
)
uninstallkey.clear()
def uninstall():
# Force uninstalling the software
for to_uninstall in installed_softwares(name="Input Director"):
print("Removing: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
killalltasks(ensure_list(control.impacted_process))
try:
# Adding silent flags to the uninstall command
uninstall_command = uninstall_cmd(to_uninstall["key"]) + " /S /allusers"
run(uninstall_command)
wait_uninstallkey_absent(to_uninstall["key"], max_loop=60)
except Exception as e:
print(f"Error during uninstallation: {e}")
# Handling the case where Input Director might already be partially uninstalled
print("Input Director might have already been uninstalled.")
print("Removing Input Director from the list of installed programs.")
if uninstall_key_exists(to_uninstall["key"]):
unregister_uninstall(to_uninstall["key"], win64app=to_uninstall["win64"])
# Clean up any remaining files
if isdir(to_uninstall["install_location"]):
print(f"Removing remaining files in {to_uninstall['install_location']}")
remove_tree(to_uninstall["install_location"])
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import glob
import zipfile
import re
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies_from_wapt_console()
if not proxies:
proxies = get_proxies()
url_base = "https://www.inputdirector.com/downloads.html"
response = requests.get(url_base,allow_redirects=True, proxies=proxies)
# Extract the correct div using bs_find_all
divs = bs_find_all(response.text, "ul", proxies=proxies)
zip_file = None
for div in divs:
if zip_file:
break
links = div.find_all('a', href=True)
for link in links:
if link['href'].endswith('.zip'):
href = link['href']
zip_file = href
download_url ="https://www.inputdirector.com/" + zip_file
latest_bin = zip_file.split('/')[-1]
# Utiliser une expression régulière pour extraire la version
match = re.search(r'v?(\d+\.\d+)', latest_bin)
if match:
version = match.group(1)
break
# Downloading latest binaries
print("Download URL is: %s" % download_url)
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
package_updated = True
else:
print("Binary is present: %s" % latest_bin)
# Extracting the .exe file from the .zip archive
with zipfile.ZipFile(latest_bin, "r") as zip_ref:
zip_ref.extractall()
exe_file = None
for file in zip_ref.namelist():
if file.endswith(".exe"):
exe_file = file
print(f"Extracted {exe_file}")
break
version = get_version_from_binary(exe_file)
# Mettre à jour le package
control.set_software_version(version)
control.save_control_to_wapt()
9d1772b57eea9213b66b60be4b8db89634bb339a25a7ddd88d2d5192ea3132c3 : InputDirector.v2.3.build173.Domain.Setup.exe
51316c7993058fb7973f2a24523aabe7da66c08e89511486fc924f030c9af538 : InputDirector.v2.3.zip
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
6ec651d28454b36c946ffc055d06fc15f7d34901bb134f3ac80fed78ce28b9d1 : WAPT/control
66937b1ddd733e8b8f85dc218a8163436cf361fc70f9eb104df8c3802a6b1df7 : WAPT/icon.png
0d5eb5fae13cc0bd8bedb2b3a122c2b2e67bc4cf0e28b55254c63b891d04c37e : luti.json
6fb5ae15d538bd704ce5600470258a070f9b71d643948b23c7434ccb3fe5b88f : setup.py
0f2a0698207dbf695db034e448793aa0bee5a47d0667571b6f6a882a1244e5fb : update_package.py