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

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
smandel
Messages: 111
Registration: May 5, 2022 - 11:30

May 18, 2022 - 1:58 PM

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 !
smandel
Messages: 111
Registration: May 5, 2022 - 11:30

May 24, 2022 - 10:27

Please?

Thank you.
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

May 24, 2022 - 10:45

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
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
smandel
Messages: 111
Registration: May 5, 2022 - 11:30

May 24, 2022 - 10:58

Thank you for the answer 👍
Locked