tis-fastcopy icon

FastCopy

Paquet d’installation silencieuse pour FastCopy

5.9.0-20

  • package: tis-fastcopy
  • name: FastCopy
  • version: 5.9.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.91 Mo
  • installed_size: 4.77 Mo
  • homepage : https://fastcopy.jp/

package           : tis-fastcopy
version           : 5.9.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      : 34f71545-8fa3-4b8f-96f7-c9b733387d25
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-05-28T08:08:29.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         : pnKQBLVmIOx3fZ/Hza7+3kQeVpc6WjKTHpASFOZtuWhos1PK2BwnR9GISeFlhCDI+6YlF1i3iwMvBe/W5WsT6qFFBJCI5HrdHBE9q3naH1bVBfpa8LEgchVO1IN8KS9EzCW3yYO2im00z1uUOZtNTmTgQ8YK+rRgRATpFDuqMr/2unKRYBNqTXvvqQA6otFgpTRaLXCUhznbRW9ivFOdVJEhwnHq2GkqrcgqfpAR7CqpOpPmTR4Xm8Aq7Yl5sYqDg407V3yphXPLmVOy462agl+xtQDAm2z1idfrUwh7CMRpUxMuVz5uNk95p1uR2LutINW/aZV7sKSLdWGcWcSunA==

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

e0daf618bd4113fe9e4c56eb8faf7111d61b9661756b758d3770ef8c8a09a8e2 : FastCopy5.9.0_installer.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
23407850906b24f5117e04ca58289ca2d2c30b8003565f344835641a4b66fb49 : WAPT/control
e285faa094f4641ebe21c082ed18276e610e0a316ef4b7fc26744731c63df6e2 : WAPT/icon.png
61a9f358e0e9c32977b5b75f3ced99f90814d0dca5f0d94001baff665fb8ccfc : luti.json
e90a37532f33e48ba17c6bd63ede2b9f1d59021e9019efd45dda083952824c3e : setup.py
0c99347a893a9c828474c44faf5a30ebd9c74201bb30b15a18bcae8f6b896f75 : update_package.py