tis-fastcopy icon

FastCopy

Paquet d’installation silencieuse pour FastCopy

5.10.0-20

  • package: tis-fastcopy
  • name: FastCopy
  • version: 5.10.0-20
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Kenan KILICARSLAN,Pierre COSSON,Jimmy PELÉ
  • editor: H.Shirouzu & FastCopy Lab, LLC.
  • licence: proprietary_restricted,wapt_public
  • locale: all
  • target_os: windows
  • impacted_process: FastCopy,FcHash,fcp
  • architecture: x64
  • signature_date:
  • size: 4.75 Mo
  • installed_size: 4.77 Mo
  • homepage : https://fastcopy.jp/

package           : tis-fastcopy
version           : 5.10.0-20
architecture      : x64
section           : base
priority          : optional
name              : FastCopy
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Kenan KILICARSLAN,Pierre COSSON,Jimmy PELÉ
description       : FastCopy is a copy/backup software
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : https://fastcopy.jp/
installed_size    : 4769169
impacted_process  : FastCopy,FcHash,fcp
description_fr    : FastCopy est un logiciel de copie/sauvegarde
description_pl    : FastCopy to oprogramowanie do kopiowania/tworzenia kopii zapasowych
description_de    : FastCopy ist eine Kopier-/Backup-Software
description_es    : FastCopy es un programa de copia de seguridad
description_pt    : FastCopy é um software de cópia/backup
description_it    : FastCopy è un software di copia/backup
description_nl    : FastCopy is een kopieer-/back-upsoftware
description_ru    : FastCopy - это программа для копирования/резервного копирования
audit_schedule    : 
editor            : H.Shirouzu & FastCopy Lab, LLC.
keywords          : 
licence           : proprietary_restricted,wapt_public
homepage          : https://fastcopy.jp/
package_uuid      : c0df8c6f-29e1-4129-a760-93cbbaa4c4cb
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://fastcopy.jp/help/fastcopy_eng.htm#history
min_os_version    : 
max_os_version    : 
icon_sha256sum    : e285faa094f4641ebe21c082ed18276e610e0a316ef4b7fc26744731c63df6e2
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-07-17T16:05:45.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         : xsqURtGbtJkqumjIrpOrlATms/eDLC1YpLzBvaaGhtyrIeaWHzWwnAO4Lz29g3OdbpjxAyK3AKFtOu5c+IUD+XxcCrYfo/KXwLBbJNr27gCz6lY6CFNTnWKEEb7/RuAnMueS99isIALiK7InuoCpZABK2aigU+J8Z87rbLRDZ2o8I/Y4Y2ELS8l68KOCqzD6ezzxAYGWKgUHa1ZZILXcm9QOGqIqs/HphkG1EYahVBD41wWK7KadttJCobGz3yagBVso98j6NknbjjSX0t20fml6zWS4okryXZmhoN98houvuCmBZerVRvdZqWEwrJmkOW1G1zFoMYXQoKtHXa3RtA==

# -*- coding: utf-8 -*-
from setuphelpers import *


old_app_dir = makepath(programfiles, "FastCopy")
old_app_uninstaller = makepath(old_app_dir, "setup.exe")
app_dir = makepath(programfiles32, "FastCopy")
app_uninstaller = makepath(app_dir, "setup.exe")
silentflags = f'/SILENT /DIR="{app_dir}" /NOAPP /AGREE_LICENSE'


def install():
    bin_name = glob.glob("FastCopy*.exe")[0]
    if isfile(old_app_uninstaller):
        run(rf'"{old_app_uninstaller}" /SILENT /r')
        if isdir(old_app_dir):
            remove_tree(old_app_dir)

    install_exe_if_needed(
        bin_name,
        silentflags=silentflags,
    )


def uninstall():
    # if isfile(app_uninstaller):
    #     run(rf'"{app_uninstaller}" /SILENT /r') # FastCopy: Setup path not found
    #     if isdir(app_dir):
    #         remove_tree(app_dir)
    if isdir(app_dir):
        remove_tree(app_dir)
    remove_desktop_shortcut("FastCopy")
    remove_programs_menu_shortcut("FastCopy")
    # Since it was a user install
    try:
        remove_user_desktop_shortcut("FastCopy")
    except:
        pass
    try:
        remove_user_programs_menu_shortcut("FastCopy")
    except:
        pass

# -*- coding: utf-8 -*-
from setuphelpers import *


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
    url = "https://fastcopy.jp/"

    # Getting latest version from official website
    download_html = wgets(url, proxies=proxies).splitlines()
    for line in download_html:
        if "FastCopy ver" in line:
            version = line.split(" ")[-1]
        if "_installer.exe" in line:
            download_url = url + line.split("/", 1)[1].split('"', 1)[0]
            latest_bin = download_url.split("/")[-1]

    # 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)

    # Checking version from file
    version_from_file = get_version_from_binary(latest_bin)
    if not version_from_file.startswith(version) and version_from_file != "":
        print("Changing version to the version number of the binary (from: %s to: %s)" % (version, version_from_file))
        os.rename(latest_bin, latest_bin.replace(version, version_from_file))
        version = version_from_file
    else:
        print("Binary file version corresponds to online version")

    # 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))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating or not update-package-sources
    return package_updated

96566818527bd980f44fa1650f9e236cdedc623d3788ab94d3ed423951e37d9c : FastCopy5.10.0_installer.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
1805cf307aaff13471de5f71923c2808adcb12f992dd575e77996a7b090ed087 : WAPT/control
e285faa094f4641ebe21c082ed18276e610e0a316ef4b7fc26744731c63df6e2 : WAPT/icon.png
674d239cb74879bef6d24f53a9d74b020a4d2bbc47bcf35318d08ba54185dc59 : luti.json
e90a37532f33e48ba17c6bd63ede2b9f1d59021e9019efd45dda083952824c3e : setup.py
0c99347a893a9c828474c44faf5a30ebd9c74201bb30b15a18bcae8f6b896f75 : update_package.py