tis-remove-windows-appx

1.0.0-6
Remove undesired Windows pre-installed apps
946 downloads
Download
default icon

  Description 

  • package : tis-remove-windows-appx
  • version : 1.0.0-6
  • architecture : all
  • categories : Security
  • maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ
  • description : Remove undesired Windows pre-installed apps
  • locale :
  • target_os : windows
  • min_wapt_version : 1.8
  • sources :
  • installed_size :
  • impacted_process :
  • description_fr :
  • description_pl :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor :
  • licence :
  • signature_date : 2020-09-14T10:18:45.648667

  Setup.py 

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

uninstallkey = []

apps = [
    ### 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.Xbox*',
    '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',

    ### Apps which cannot be removed using Remove-AppxPackage
    #'Microsoft.BioEnrollment',
    #'Microsoft.MicrosoftEdge',
    'Microsoft.Windows.Cortana',
    'Microsoft.WindowsFeedback',
    'Windows.ContactSupport'
    ]


def install():
    print("Removing undesired Windows Store applications...")
    for app in apps:
        print("If needed, removing: %s" % app)
        #print('Get-AppxPackage -Name "%s" -AllUsers | Remove-AppxPackage' % app)
        run_powershell('Get-AppxPackage -Name "%s" -AllUsers | Remove-AppxPackage' % app)
        #print('Get-AppXProvisionedPackage -Online | where DisplayName -EQ "%s" | Remove-AppxProvisionedPackage -Online' % app)
        run_powershell('Get-AppXProvisionedPackage -Online | where DisplayName -EQ "%s" | Remove-AppxProvisionedPackage -Online' % app)


def session_setup():
    print("Removing undesired Windows Store applications...")
    for app in apps:
        print("If needed, removing: %s" % app)
        #print('Get-AppxPackage -Name "%s" | Remove-AppxPackage' % app)
        run_powershell('Get-AppxPackage -Name "%s" | Remove-AppxPackage' % app)


def update_package():
    # Initializing variables
    version = control.get_software_version()

    # Incrementing version of the package
    control.version = '%s-%s'%(version,int(control.version.split('-')[-1])+1)
    control.save_control_to_wapt()
    print('Changing version to: %s in WAPT\\control' % control.version)



										

  Changelog 



No changelog.txt.
									
  manifest.sha256