Page 1 of 1

[SOLVED] tis-remove-windows-appx and session setup

Published: May 18, 2022 - 1:58 PM
by smandel
Good morning,

Is it possible to hide the session setup window for this package or in general?
Since the execution of this script is quite lengthy, a user could close the window.

Personally, I use this list of apps to remove; it seems more complete to me (Win10/Win11):

Code: Select all

apps = [
    # default Windows 10 apps
    "Microsoft.549981C3F5F10", #Cortana
    "Microsoft.3DBuilder",
    "Microsoft.Appconnector",
    "Microsoft.BingFinance",
    "Microsoft.BingNews",
    "Microsoft.BingSports",
    "Microsoft.BingTranslator",
    "Microsoft.BingWeather",
    #"Microsoft.FreshPaint",
    "Microsoft.GamingServices",
    "Microsoft.Microsoft3DViewer",
    "Microsoft.MicrosoftOfficeHub",
    "Microsoft.MicrosoftPowerBIForWindows",
    "Microsoft.MicrosoftSolitaireCollection",
    #"Microsoft.MicrosoftStickyNotes",
    "Microsoft.MinecraftUWP",
    "Microsoft.NetworkSpeedTest",
    "Microsoft.Office.OneNote",
    "Microsoft.People",
    "Microsoft.Print3D",
    "Microsoft.SkypeApp",
    "Microsoft.Wallet",
    #"Microsoft.Windows.Photos",
    "Microsoft.WindowsAlarms",
    #"Microsoft.WindowsCalculator",
    "Microsoft.WindowsCamera",
    "microsoft.windowscommunicationsapps",
    "Microsoft.WindowsMaps",
    "Microsoft.WindowsPhone",
    "Microsoft.WindowsSoundRecorder",
    "Microsoft.WindowsStore",
    "*windowsstore*",
    "Microsoft.Xbox.TCUI",
    "Microsoft.XboxApp",
    "Microsoft.XboxGameOverlay",
    "Microsoft.XboxGamingOverlay",
    "Microsoft.XboxSpeechToTextOverlay",
    "Microsoft.YourPhone",
    "Microsoft.ZuneMusic",
    "Microsoft.ZuneVideo",
    "Microsoft.OneDriveSync",
    "Microsoft.WindowsStore",
    "Microsoft.MicrosoftSolitaireCollection",
    "Microsoft.MicrosoftOfficeHub",
    "MicrosoftTeams",
    "Microsoft.GamingApp",

    # Threshold 2 apps
    "Microsoft.CommsPhone",
    "Microsoft.ConnectivityStore",
    "Microsoft.GetHelp",
    "Microsoft.Getstarted",
    "Microsoft.Messaging",
    "Microsoft.Office.Sway",
    "Microsoft.OneConnect",
    "Microsoft.WindowsFeedbackHub",

    # Creators Update apps
    "Microsoft.Microsoft3DViewer",
    #"Microsoft.MSPaint",

    #Redstone apps
    "Microsoft.BingFoodAndDrink",
    "Microsoft.BingHealthAndFitness",
    "Microsoft.BingTravel",
    "Microsoft.WindowsReadingList",

    # Redstone 5 apps
    "Microsoft.MixedReality.Portal",
    "Microsoft.ScreenSketch",
    "Microsoft.XboxGamingOverlay",
    "Microsoft.YourPhone",

    # non-Microsoft
    "2FE3CB00.PicsArt-PhotoStudio",
    "46928bounde.EclipseManager",
    "4DF9E0F8.Netflix",
    "613EBCEA.PolarrPhotoEditorAcademicEdition",
    "6Wunderkinder.Wunderlist",
    "7EE7776C.LinkedInforWindows",
    "89006A2E.AutodeskSketchBook",
    "9E2F88E3.Twitter",
    "A278AB0D.DisneyMagicKingdoms",
    "A278AB0D.MarchofEmpires",
    "ActiproSoftwareLLC.562882FEEB491", # next one is for the Code Writer from Actipro Software LLC
    "CAF9E577.Plex",
    "ClearChannelRadioDigital.iHeartRadio",
    "D52A8D61.FarmVille2CountryEscape",
    "D5EA27B7.Duolingo-LearnLanguagesforFree",
    "DB6EA5DB.CyberLinkMediaSuiteEssentials",
    "DolbyLaboratories.DolbyAccess",
    "DolbyLaboratories.DolbyAccess",
    "Drawboard.DrawboardPDF",
    "Facebook.Facebook",
    "Fitbit.FitbitCoach",
    "Flipboard.Flipboard",
    "GAMELOFTSA.Asphalt8Airborne",
    "KeeperSecurityInc.Keeper",
    "NORDCURRENT.COOKINGFEVER",
    "PandoraMediaInc.29680B314EFC2",
    "Playtika.CaesarsSlotsFreeCasino",
    "ShazamEntertainmentLtd.Shazam",
    "SlingTVLLC.SlingTV",
    "SpotifyAB.SpotifyMusic",
    #"TheNewYorkTimes.NYTCrossword",
    "ThumbmunkeysLtd.PhototasticCollage",
    "TuneIn.TuneInRadio",
    "WinZipComputing.WinZipUniversal",
    "XINGAG.XING",
    "flaregamesGmbH.RoyalRevolt2",
    "king.com.*",
    "king.com.BubbleWitch3Saga",
    "king.com.CandyCrushSaga",
    "king.com.CandyCrushSodaSaga",
    "Clipchamp.Clipchamp",
    "AmazonVideo.PrimeVideo",

    # apps which other apps depend on
    "Microsoft.Advertising.Xaml",
]
THANKS !

Re: tis-remove-windows-appx and session setup

Published: May 24, 2022 - 10:27
by smandel
Please?

Thank you.

Re: tis-remove-windows-appx and session setup

Published: May 24, 2022 - 10:45 AM
by dcardon
Short answer: no.

Long answer: it's not useless to see what's happening in the window, and there are cases where it's useful to be able to close it if there's a problem with the script. So it shouldn't be hidden completely. The cmd window is a bit silly and doesn't allow you to explain its purpose itself, and we would need a Lazarus/Free Pascal wrapper to indicate that it's a session configuration window and that it shouldn't be closed (and to explain the consequences if it is closed anyway).

We have an internal ticket for this, but it's not a priority at the moment.

Regards,

Denis

Re: [SOLVED] tis-remove-windows-appx and session setup

Published: May 24, 2022 - 10:58 AM
by smandel
Thank you for the answer 👍