tis-remove-windows-appx-template icon

Remove Windows AppX

Silent install package for Remove Windows AppX

2-16

  • package: tis-remove-windows-appx-template
  • name: Remove Windows AppX
  • version: 2-16
  • categories: Security
  • maintainer: WAPT Team,Tranquil IT,Joffrey Le Piquet, Jordan Arnaud
  • locale: all
  • target_os: windows
  • architecture: all
  • signature_date:
  • size: 6.63 Ko

package           : tis-remove-windows-appx-template
version           : 2-16
architecture      : all
section           : base
priority          : optional
name              : Remove Windows AppX
categories        : Security
maintainer        : WAPT Team,Tranquil IT,Joffrey Le Piquet, Jordan Arnaud
description       : Removes unwanted preinstalled Windows UWP apps
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Supprime les applications Windows UWP préinstallées indésirables
description_pl    : Usuwa niechciane preinstalowane aplikacje Windows UWP
description_de    : Entfernt unerwünschte vorinstallierte Windows UWP-Anwendungen
description_es    : Elimina las aplicaciones Windows UWP preinstaladas no deseadas
description_pt    : Remove aplicações Windows UWP pré-instaladas indesejadas
description_it    : Rimuove le app UWP di Windows preinstallate non desiderate
description_nl    : Verwijdert ongewenste vooraf geïnstalleerde Windows UWP-apps
description_ru    : Удаление ненужных предустановленных приложений Windows UWP
audit_schedule    : 
editor            : 
keywords          : remove,appxpackage,appxprovisionedpackage,remove-appxpackage,remove-appxprovisionedpackage
licence           : 
homepage          : 
package_uuid      : c51e1fb5-174e-40a9-af7c-2f20103e6b1e
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : 9420721210f5d9c50c9e35c9fdbf0a088b30e165df8311c5f2176ce60e122475
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2024-11-26T21:02:16.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         : CIhGQtpFJfs9jVvQOehmqivfYVHwOv8Oa2zDm6QSpKCFJ75xxe09k9HsPbNtAr56BoWmn5MrK7Y3HTS4bwXotujGi76uqrWLUFp6eexpuCjqEZnPjDwTosgL+ZlboSdcVL3pnnXZFuW2/Je+lT0Q23wXKiDJ8S6ygnw9YZQUHiRbCR4ng37qhz+En4KvTvIAfeEB4jWa0RkLPywIUWDBF6+KMuiGMO3uRpRrZ90+chkSqDuowBcIdjzFTHg8flo8Hxgmo0tG2Wok6qmp+Din0aY2aZqVf23vhMjsHFgWuUqqWrM43QSHqhsr5CDQ5mo81ILdYm93WFfWnD+CidC45A==

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

to_uninstall_apps = [
    ### Windows 11 default apps
    # "Clipchamp.Clipchamp",
    # "Microsoft.BingNews",
    # "Microsoft.Paint",
    # "Microsoft.PowerAutomateDesktop",
    # "Microsoft.StorePurchaseApp",
    # "Microsoft.Todos",
    # "Microsoft.WindowsNotepad",
    # "Microsoft.WindowsTerminal",
    # "MicrosoftCorporationII.QuickAssist",
    # "MicrosoftTeams",
    # "MicrosoftWindows.Client.WebExperience",
    # "Microsoft.OneDriveSync",
    # "Microsoft.OutlookForWindows",
    # "Microsoft.Windows.DevHome",
    # "Microsoft.Windows.DevHomeAzureExtension",
    # "Microsoft.Windows.DevHomeGitHubExtension",
    ### Windows 10 default apps
    # "Microsoft.3DBuilder",
    # "Microsoft.Print3D",
    # "Microsoft.Microsoft3DViewer",
    # "Microsoft.MixedReality.Portal",
    # "Microsoft.YourPhone",
    # "Microsoft.WindowsFeedbackHub",
    # "Microsoft.Windows.Cortana",
    # "Microsoft.GetHelp",
    #'Microsoft.Appconnector',
    # "Microsoft.BingFinance",
    # "Microsoft.BingNews",
    # "Microsoft.BingSports",
    # "Microsoft.BingWeather",
    # "Microsoft.FreshPaint",
    # "Microsoft.MSPaint",
    # "Microsoft.Getstarted",
    # "Microsoft.MicrosoftOfficeHub",
    # "Microsoft.MicrosoftSolitaireCollection",
    # 'Microsoft.MicrosoftStickyNotes',
    # 'Microsoft.Office.OneNote',
    # "Microsoft.OneConnect",
    # "Microsoft.People",
    # "Microsoft.SkypeApp",
    # "Microsoft.Windows.Photos",
    # "Microsoft.WindowsAlarms",
    # "Microsoft.WindowsCalculator",
    # "Microsoft.WindowsCamera",
    # "Microsoft.WindowsMaps",
    # "Microsoft.WindowsPhone",
    # "Microsoft.WindowsSoundRecorder",
    # "Microsoft.WindowsStore",
    #"Microsoft.GamingApp",
    # "Microsoft.XboxApp",
    # "Microsoft.Xbox.TCUI",
    # "Microsoft.XboxGameOverlay",
    # "Microsoft.XboxGamingOverlay",
    # "Microsoft.XboxIdentityProvider",
    # "Microsoft.XboxSpeechToTextOverlay",
    #"Microsoft.ZuneMusic",
    #"Microsoft.ZuneVideo",
    # "microsoft.windowscommunicationsapps",
    #"Microsoft.MinecraftUWP",
    #"Microsoft.MixedReality.Portal",
    # "Microsoft.ScreenSketch"
    ### Threshold 2 apps
    # "Microsoft.CommsPhone",
    #'Microsoft.ConnectivityStore',
    # "Microsoft.Messaging",
    #'Microsoft.Office.Sway',
    ### Redstone apps
    #"Microsoft.BingFoodAndDrink",
    #"Microsoft.BingTravel",
    #"Microsoft.BingHealthAndFitness",
    # "Microsoft.WindowsReadingList",
    ### non-Microsoft
    #"9E2F88E3.Twitter",
    #"Flipboard.Flipboard",
    # "ShazamEntertainmentLtd.Shazam",
    # "king.com.*",
    # "ClearChannelRadioDigital.iHeartRadio",
    #"4DF9E0F8.Netflix",
    # "6Wunderkinder.Wunderlist",
    # "Drawboard.DrawboardPDF",
    # "2FE3CB00.PicsArt-PhotoStudio",
    #"D52A8D61.FarmVille2CountryEscape",
    # "TuneIn.TuneInRadio",
    #"TheNewYorkTimes.NYTCrossword",
    # "828B5831.HiddenCityMysteryofShadow",
    # "Microsoft.Advertising.Xaml",
    #"SpotifyAB.SpotifyMusic",
    # "7EE7776C.LinkedInforWindows"
    ### Apps which cannot be removed using Remove-AppxPackage
    #'Microsoft.BioEnrollment',
    # "Microsoft.MicrosoftEdge",
    # "Microsoft.MicrosoftEdge.Stable",
    # "Microsoft.MicrosoftEdgeDevToolsClient",
    # "Windows.ContactSupport",
    # "Microsoft.XboxGameCallableUI",
    # "Microsoft.SecHealthUI",
    # "Microsoft.Windows.CallingShellApp",
    # "Microsoft.Services.Store.Engagement",
    # "MicrosoftWindows.UndockedDevKit",
]

def install() :
    if not params.get("install_with_luti", False):
        error('WARNING: This package requires customization before use. Please modify the "to_uninstall_apps" list to include the applications you want to remove, after modification you can remove line 108 and 109 from setup.exe.Example: Uncomment "Microsoft.Paint" in the list below to remove Microsoft Paint.')

    print("Removing: Unwanted Microsoft Store applications...")
    installed_appx_packages = run_powershell("Get-AppxPackage -AllUsers")
    
    for app in installed_appx_packages :
        if app['Name'] in to_uninstall_apps :
            try :
                print("Removing : %s" % app['Name'])
                run_powershell("Remove-AppxPackage -AllUsers -Package %s" % app['PackageFullName'])
            except :
                print("Unable to remove : %s" % app['Name'])
    print("Done")


## To remove appx installed on current user 
# def session_setup():
#     print("Removing: Unwanted Microsoft Store applications...")
#     installed_appx_packages = run_powershell("Get-AppxPackage")
    
#     for app in installed_appx_packages :
#         if app['Name'] in to_uninstall_apps :
#             try :
#                 print("Removing : %s" % app['Name'])
#                 run_powershell("Remove-AppxPackage -Package %s" % app['PackageFullName'])
#             except :
#                 print("Unable to remove : %s" % app['Name'])

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
1dedc47ebec9190893a5965f2a69bc4695c43ee8df73b57f30405c3f0a0406e8 : WAPT/control
9420721210f5d9c50c9e35c9fdbf0a088b30e165df8311c5f2176ce60e122475 : WAPT/icon.png
73e6f288e4f918a3a8b6af1519167d8b73b036fa5c1d84673ee54c067a517fda : luti.json
635441b9aab09b8667435713b5f972848e8616670a5391402660cc33b7da7dde : setup.py