tis-quickassist

2022.825.2016.0-0
Quick Assist is an app in Windows 10 and Windows 11 that enables you to receive or provide assistance with your PC over a remote connection. The current built-in Quick Assist app is reaching end of service.
0 downloads
Download
View on luti logo
tis-quickassist icon

  Description 

  • package : tis-quickassist
  • version : 2022.825.2016.0-0
  • architecture : x64
  • categories : System and network
  • maintainer : WAPT Team,Tranquil IT,Pierre Cosson
  • description : Quick Assist is an app in Windows 10 and Windows 11 that enables you to receive or provide assistance with your PC over a remote connection. The current built-in Quick Assist app is reaching end of service.
  • locale : all
  • target_os : windows
  • min_wapt_version : 2.1
  • sources : https://apps.microsoft.com/store/detail/assistance-rapide/9P7BP5VNWKX5?hl=fr-ci&gl=CI
  • installed_size : 2023424
  • impacted_process : QuickAssist
  • description_fr :
  • description_pl :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor : Microsoft
  • licence : Proprietary
  • signature_date : 2022-09-07T13:02:02.934835
  • Homepage : https://insider.office.com/fr/blog/remote-assistance-with-quick-assist-is-changing

  Setup.py 

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

# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
bin_contains = "MicrosoftCorporationII.QuickAssist"
appx_package = "MicrosoftCorporationII.QuickAssist"
appx_dir = makepath(programfiles, "WindowsAppsInstallers")
file_extension = "appxbundle"


def install():
    # Declaring local variables
    package_version = control.get_software_version()
    bin_name = glob.glob("*%s*.%s" % (bin_contains, file_extension))[0]
    bin_path = makepath(appx_dir, bin_name)

    # Checking minimum Windows version
    if windows_version() >= WindowsVersions.Windows10v1809:
        # Copying the software
        if not isdir(appx_dir):
            mkdirs(appx_dir)
        else:
            for appx_file in glob.glob("%s/*%s*.%s" % (appx_dir, bin_contains, file_extension)):
                if not package_version in appx_file:
                    remove_file(appx_file)
        if not isfile(bin_path):
            print("Copying: %s to: %s" % (bin_name, appx_dir))
            filecopyto(bin_name, appx_dir)
    else:
        error(
            "This Windows version (%s) need to be upgraded to minimum version (%s) to use this package"
            % (windows_version(), WindowsVersions.Windows10v1809)
        )


def uninstall():
    # Declaring local variables
    package_version = control.get_software_version()
    bin_path = glob.glob(makepath(appx_dir, "*%s*.%s" % (bin_contains, file_extension)))[0]

    # Uninstalling the package
    remove_appx(appx_package)
    if isfile(bin_path):
        remove_file(bin_path)
    if isdir(appx_dir) and dir_is_empty(appx_dir):
        print("Removing: %s since he is empty" % (appx_dir))
        remove_tree(appx_dir)


def session_setup():
    # Declaring local variables
    package_version = control.get_software_version()
    app_name = control.name
    bin_path = glob.glob(makepath(appx_dir, "*%s*.%s" % (bin_contains, file_extension)))[0]
    bin_name = bin_path.split("\\")[-1]

    # Installing the software in user env
    appx_version = get_powershell_str("Get-AppxPackage -Name %s" % appx_package, "Version")
    if not appx_version or appx_version < package_version or force:
        print("Installing: %s" % bin_name)
        run_powershell('Add-AppxPackage -Path "%s"' % bin_path)
    else:
        print("%s is installed in correct version (%s)" % (app_name, appx_version))


def remove_appx(package, default_user=True):
    r"""Uninstall and remove Windows AppX package from the computer in machine and user environnement

    Args:
        package (str): package name, asterisk character (*) can be used as joker
        default_user (bool): Remove from image that will be installed for each new user

    .. versionadded:: 2.2

    """
    if running_as_admin() or running_as_system():
        run_powershell('Get-AppxPackage "%s" -AllUsers | Remove-AppxPackage -AllUsers' % package)
        if default_user:
            run_powershell(
                'Get-AppXProvisionedPackage -Online | Where-Object DisplayName -Like "%s" | Remove-AppxProvisionedPackage -Online -AllUsers' % package
            )
    else:
        run_powershell('Get-AppxPackage "%s" | Remove-AppxPackage' % package)


def get_powershell_str(powershell_cmd, value=None):
    r"""Get a value as string from the output of a powershell command
    WARNING: Adding -AllUsers parameter may be necessary to make sure WAPT is enable to get the request value

    Args:
        powershell_cmd (str): Powershell command
        value (str)         : Value to get as string

    .. versionadded:: 2.2

    """
    if value:
        return str(run_powershell("%s | Select-Object -ExpandProperty %s | Write-Host -NoNewline" % (powershell_cmd, value), output_format="text"))
    else:
        return str(run_powershell("%s | Write-Host -NoNewline" % powershell_cmd, output_format="text"))

										

  Changelog 



No changelog.txt.
									
  manifest.sha256