tis-windscribe icon

Windscribe

Silent install package for Windscribe

2.15.8-1

  • package: tis-windscribe
  • name: Windscribe
  • version: 2.15.8-1
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • licence: proprietary_free,wapt_private
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 36.49 Mo

package           : tis-windscribe
version           : 2.15.8-1
architecture      : x64
section           : base
priority          : optional
name              : Windscribe
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
description       : Windscribe for Windows offers features that no other VPN does, and you can use them completely free, even with your own VPN servers or other VPN providers!
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 2.5
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Windscribe pour Windows offre des fonctionnalités qu'aucun autre VPN ne propose, et vous pouvez les utiliser complètement gratuitement, même avec vos propres serveurs VPN ou d'autres fournisseurs de VPN !
description_pl    : Windscribe dla Windows oferuje funkcje, których nie ma żadna inna sieć VPN i można z nich korzystać całkowicie za darmo, nawet z własnymi serwerami VPN lub innymi dostawcami VPN!
description_de    : Windscribe für Windows bietet Funktionen, die kein anderes VPN bietet, und Sie können sie völlig kostenlos nutzen, sogar mit Ihren eigenen VPN-Servern oder anderen VPN-Anbietern!
description_es    : Windscribe para Windows ofrece características que ninguna otra VPN ofrece, y puede utilizarlas completamente gratis, ¡incluso con sus propios servidores VPN u otros proveedores VPN!
description_pt    : Windscribe para Windows oferece caraterísticas que nenhuma outra VPN tem, e pode usá-las completamente grátis, mesmo com os seus próprios servidores VPN ou outros fornecedores de VPN!
description_it    : Windscribe per Windows offre funzionalità che nessun'altra VPN offre, e si possono utilizzare in modo completamente gratuito, anche con i propri server VPN o con altri provider VPN!
description_nl    : Windscribe voor Windows biedt functies die geen enkele andere VPN heeft, en je kunt ze helemaal gratis gebruiken, zelfs met je eigen VPN-servers of andere VPN-providers!
description_ru    : Windscribe для Windows предлагает функции, которых нет ни у одного другого VPN, и вы можете использовать их совершенно бесплатно, даже с вашими собственными VPN-серверами или другими VPN-провайдерами!
audit_schedule    : 
editor            : 
keywords          : 
licence           : proprietary_free,wapt_private
homepage          : 
package_uuid      : 78acb77b-61b9-4858-9231-b780939fc643
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : 1a68d5b548a806da78380da4363389d7116d660417a046dff2ec2f72d1746c8e
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-05-28T11:18:20.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         : zFI7tSZ9OqwmTC6OOscpIaQ4JYgJYhM6hUpJ2PQ1qOlHqt7Z1JW1Ew23BvJHVMwdEWdvVusOYXTwxGyF9+QbEuuQwNV53y3tBSyJiiikxsEgE7aEZnct+QPCCZ9QmwhWahcoK7aX7UDRNqIM1p27LPXQvJ6OK41g80//Z4Mo+dDBof8V6XmEk9JbbhyupHKbKba3W6nh/Q0mwrHcbeF69Zvq8necmE3qegDf94Bbjn2m9B0B83pMBu9uXBTIBAulhv5iWyKBH3ivPjUNcluM9/AnHb+OmWna+pahZGdhYr8l+XZ1hhlU/n9kqeIeSko7RGGCJZ8H+ASY+/6bAOe8zA==

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

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()

"""
# 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('Windscribe_*.exe')[0]
    # Installing the software
   
    install_exe_if_needed(bin_name,
        silentflags='-silent -no-auto-start',
        key='{fa690e90-ddb0-4f0c-b3f1-136c084e5fc7}_is1',
        min_version=control.get_software_version(),
    )

    uninstallkey.clear()


def uninstall():
    # Force uninstalling the software
    for to_uninstall in installed_softwares(name="Windscribe"):
        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"]) + " /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-"
            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 Windscribe Director might already be partially uninstalled
            print("Windscribe Director might have already been uninstalled.")
            print("Removing Windscribe Director from the list of installed programs.")

        if uninstall_key_exists(to_uninstall["key"]):
            unregister_uninstall(to_uninstall["key"], win64app=to_uninstall["win64"])

       


# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import glob
import msilib
import waptlicences



def update_package():
    # Declaring local variables
    package_updated = False
    
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()

  
    data = requests.head('https://windscribe.com/install/desktop/windows',allow_redirects=True,proxies=proxies)
    download_url = data.url 
    version = download_url.split('/')[-2]
    latest_bin = download_url.split("/")[-1]
    

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

    # Check signature bin
    expected_issuer = 'Windscribe Limited'
    sign_name = waptlicences.check_exe_signing_certificate(latest_bin)[0]
    if sign_name != expected_issuer:
        error('Bad issuer %s != %s ' % (sign_name,expected_issuer))


    # Deleting outdated binaries
    for f in glob.glob('*.exe'):
        if f != latest_bin:
            remove_file(f)

           
    version = get_version_from_binary(latest_bin)
    # Mettre à jour le package
    control.set_software_version(version)
    control.save_control_to_wapt()    
        

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
562f1c3fff6973e8f703c14f20226c77addd3ab258fe5928096aaac0775762e3 : WAPT/control
1a68d5b548a806da78380da4363389d7116d660417a046dff2ec2f72d1746c8e : WAPT/icon.png
7a92be65624e341a86602fc5a59644ca01e8c8af29ba8b39d7381afdbd5db387 : Windscribe_2.15.8_amd64.exe
c28c95d913d20759b1c7f1334ae4a3cd2f2d19a474262746f7523a8c3cbf29f1 : luti.json
7bf1d7b7a128f4c9a5d9d2cf4ca1c3c9b53dd708b17f501e6439021a59570ae7 : setup.py
7b28230858944d861dd5cb0fa124fe203893cdcea7cc45107fa48c165f11d3f3 : update_package.py