WinSCP
Paquet d’installation silencieuse pour WinSCP
6.5.5-3
System and network
System and network
- package: tis-winscp
- name: WinSCP
- version: 6.5.5-3
- categories: System and network
- maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ,Jordan ARNAUD,Amel FRADJ
- editor: Martin Prikryl
- licence: opensource_free,wapt_public
- locale: all
- target_os: windows
- impacted_process: winscp
- architecture: all
- signature_date:
- size: 11.66 Mo
- installed_size: 92.79 Mo
- homepage : https://winscp.net
package : tis-winscp
version : 6.5.5-3
architecture : all
section : base
priority : optional
name : WinSCP
categories : System and network
maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Jordan ARNAUD,Amel FRADJ
description : WinSCP is a SFTP client and FTP for Microsoft Windows
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.3
sources : https://winscp.net/eng/download.php
installed_size : 92794880
impacted_process : winscp
description_fr : WinSCP est un client SFTP et FTP pour Microsoft Windows
description_pl : WinSCP to klient SFTP i FTP dla Microsoft Windows
description_de : WinSCP ist ein SFTP-Client und FTP für Microsoft Windows
description_es : WinSCP es un cliente SFTP y FTP para Microsoft Windows
description_pt : WinSCP é um cliente SFTP e FTP para Microsoft Windows
description_it : WinSCP è un client SFTP e FTP per Microsoft Windows
description_nl : WinSCP is een SFTP-client en FTP voor Microsoft Windows
description_ru : WinSCP - это клиент SFTP и FTP для Microsoft Windows
audit_schedule :
editor : Martin Prikryl
keywords : winscp,win,scp
licence : opensource_free,wapt_public
homepage : https://winscp.net
package_uuid : 87d189d5-83c8-4a4d-8ee0-c89cf941866b
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version : 5.1
max_os_version :
icon_sha256sum : a59323e95e48c3999c5cd1aae045d11bbdc9725bc05e6b885d2dd9b50f992b45
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2025-11-24T14:00:28.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 : JKQAXJovsAnJdbOH7+3XIHnQDNq0TyyBXcnlMAY+2gsXmCWa4g/w5F979e8DsOLDDCRmziWdm+sgV4v/YpK8Rj5sTfyWVaYnldktKzRvRP8lTK5uZ+igQmM1NjOm8s7a/Nnh3eEggmd4YAweItN+MZr8sKgJN/aexWR4ZUj1Wlxpk8C4mHOl36LhSSk8PEgMy17gnaa63GoMn6/JV4EyukVZRWYRWAlaAnbBCvfJqyqpwl+5sz/cN2Y5VVe3ZhEj3KQaywhiorhGok8R8fg9nN+wfjfa6ePDivoO6bek+qKUnxiRCbusevVUu4VX68xyfTlHebpm0lAcobBwWrSHPw==
# -*- coding: utf-8 -*-
from setuphelpers import *
current_lang = get_language()
winscp_path = makepath(programfiles32, "WinSCP")
winscp_ini = rf"""[Setup]
Lang={current_lang}
Dir={winscp_path}
Group=WinSCP
NoIcons=0
SetupType=full
Components=main,shellext,pageant,puttygen,transl,transl\eng,transl\fr
Tasks=desktopicon,desktopicon\user,sendtohook,urlhandler
[Configuration\Interface\Updates]
Period=0"""
app_uninstallstring = makepath(winscp_path, "unins000.exe")
app_uninstallkey = "winscp3_is1"
def install():
# Adapting the configuration file depending on running system
open("winscp.ini", "w").write(winscp_ini)
uninstall_msi_version()
# Installing the package
install_exe_if_needed(
f"WinSCP-{control.get_software_version()}-Setup.exe",
silentflags="/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /LOADINF=winscp.ini",
key="winscp3_is1",
min_version=control.get_software_version(),
)
# Adding QuietUninstallString
quiet_uninstall_string = rf'"{app_uninstallstring}" /SILENT /NORESTART'
register_uninstall(app_uninstallkey, quiet_uninstall_string=quiet_uninstall_string)
def uninstall_msi_version():
killalltasks(ensure_list(control.impacted_process))
for to_uninstall in installed_softwares(control.name):
if to_uninstall['uninstall_string'].lower().startswith("msiexec"): # Verify if it's an MSI installation
print("MSI version of WinSCP found: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
run(uninstall_cmd(to_uninstall['key']))
wait_uninstallkey_absent(to_uninstall["key"])
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import waptlicences
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
app_name = control.name
base_url = "https://winscp.net/eng/download.php"
# Getting latest version from official sources
print(f"URL used is: {base_url}")
for link in bs_find_all(base_url, "a", proxies=proxies):
href = link.get('href', '')
if ("WinSCP-" and "-Setup.exe") in href:
url = "https://winscp.net" + href
latest_bin = url.rsplit("/")[-2]
latest_bin_extension = latest_bin.rsplit(".")[-1]
version = latest_bin.split("-")[1]
break
for link in bs_find_all(url, "a", proxies=proxies):
if latest_bin in link['href']:
download_url = link['href']
break
# Downloading latest binaries
print("Latest %s version is: %s" % (app_name, version))
print("Download URL is: %s" % download_url)
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
else:
print("Binary is present: %s" % latest_bin)
expected_issuer = "Martin Prikryl"
sign_name = waptlicences.check_exe_signing_certificate(latest_bin)[0]
if sign_name != expected_issuer:
error(f'Bad issuer {sign_name} != {expected_issuer}')
# 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)))
package_updated = True
else:
print("Software version up-to-date (%s)" % Version(version))
#nettoyer les fichiers temporaires
for f in glob.glob(f'*.{latest_bin_extension}'):
if f != latest_bin:
remove_file(f)
control.set_software_version(get_version_from_binary(latest_bin))
control.save_control_to_wapt()
return package_updated
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
adde08ddea22f7b14681c49fb54479fcdfa92de93c4604fc10d0ce14f97aefed : WAPT/changelog.txt
8a03cfc5848ffce947187bdd13cc999edfdc3d085444f9780207a0488e8fa811 : WAPT/control
a59323e95e48c3999c5cd1aae045d11bbdc9725bc05e6b885d2dd9b50f992b45 : WAPT/icon.png
8c223402d933df4430f2c6e3cad17ed1db17710abfd13d62acc707ea480a092f : WinSCP-6.5.5-Setup.exe
e7b34fcbb58e896d8fbede5e0480abd816c69644cc2bdc681d4907c4d06f0f0a : luti.json
592c4c6c263b16df7209ea29db31c14fdfa924e88b9b0f50fe1666d378d26881 : setup.py
79018ee9b396d3911ebbf9949b7565a1a9cd1a444a84f47afb2738d72bb99d50 : update_package.py
https://winscp.net/docs/history