WinSCP
Paquet d’installation silencieuse pour WinSCP
6.5.4-3
System and network
System and network
- package: tis-winscp
- name: WinSCP
- version: 6.5.4-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.65 Mo
- installed_size: 92.79 Mo
- homepage : https://winscp.net
package : tis-winscp
version : 6.5.4-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 : 72c963a4-8fc5-4e3e-895e-e7a5ca82e145
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-10-21T15:09: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 : uaCx2CUhbK4DydGsdIeSYFGrJglX8x0ykvYrAmmgngeTh1V1IKxyUjaJ0iTDqgX48zmLRTiQyyIHLNWTC19oRA1Hm3I6gBrmoh+KadXZ9FeO/R80s8yNFueunfPudFSxtMvYLkvbjrCfuIDcu5u6TZ/AVPSko/ReBTwofC0md74s0cm+YoGAFqYFtdUVEv4y9VvpuKUAi+vO1uCUh25DtBoYpnl0fmNo7Xp2ojEiHShNx6xJmC3evbxFiWNKo8J4sxvNuJS1hjIF8C3qkYh2M8wGKOFMvpvT4GBKAyl337hEdVBHDz2k1WM4Rvo/upj7VK9EC+GWtDbhLgwbQVh5Rg==
# -*- 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
ee733bbebf268f22c2b113517a1f39ac6786b6b3be1f6ecdbc757412a9fb0e45 : WAPT/control
a59323e95e48c3999c5cd1aae045d11bbdc9725bc05e6b885d2dd9b50f992b45 : WAPT/icon.png
95f7935b63115b7eb4631a3be5e56f78d2ad7eca8525e8b6be8761d4be3fe130 : WinSCP-6.5.4-Setup.exe
0552611bdf728bb4b2afd51b33493a203e1d43838f23d730c6a4794829b1798e : luti.json
592c4c6c263b16df7209ea29db31c14fdfa924e88b9b0f50fe1666d378d26881 : setup.py
79018ee9b396d3911ebbf9949b7565a1a9cd1a444a84f47afb2738d72bb99d50 : update_package.py
https://winscp.net/docs/history