Nechápu proč řešíte nějaké odstraňování ProvisionedAppx v RS6. RS6 jsem nezkoušel, ale je celkem možné, že bude fungovat stejně blbě jako odstraňování ProvisionedAppx v online windowse jako ted přes PS, tedy tak, že ji jen odregistruje. Vám se zdá tak brutálně těžké kompletně odstranit nepotřebné ProvisionedAppx z instalačky před instalací nebo upgradem? Mně ne.
Kontrola ProvisionedAppx:
pushd "%~dp0"
DISM /Image:mount /Get-ProvisionedAppxPackages >ProvisionedAppxPack.txt
pause
Odstranění všeho co nepotřebuju v namountovaném RS5 (vše krom store a *Extensions):
pushd "%~dp0"
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.BingWeather_4.25.12127.0_neutral_~_8wekyb3d8bbwe
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.DesktopAppInstaller_2018.720.2137.0_neutral_~_8wekyb3d8bbwe
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.GetHelp_10.1706.10441.0_neutral_~_8wekyb3d8bbwe
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.Getstarted_6.13.11581.0_neutral_~_8wekyb3d8bbwe
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.Messaging_2018.727.1430.0_neutral_~_8wekyb3d8bbwe
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.Microsoft3DViewer_4.1808.15012.0_neutral_~_8wekyb3d8bbwe
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.MicrosoftOfficeHub_2017.1219.520.0_neutral_~_8wekyb3d8bbwe
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.MicrosoftSolitaireCollection_4.1.5252.0_neutral_~_8wekyb3d8bbwe
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.MicrosoftStickyNotes_2.0.13.0_neutral_~_8wekyb3d8bbwe
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.MixedReality.Portal_2000.18081.1242.0_neutral_~_8wekyb3d8bbwe
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.MSPaint_4.1807.12027.0_neutral_~_8wekyb3d8bbwe
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.Office.OneNote_16001.10228.20003.0_neutral_~_8wekyb3d8bbwe
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.OneConnect_5.1807.1991.0_neutral_~_8wekyb3d8bbwe
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.People_2018.516.2011.0_neutral_~_8wekyb3d8bbwe
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.Print3D_3.0.1521.0_neutral_~_8wekyb3d8bbwe
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.ScreenSketch_2018.731.48.0_neutral_~_8wekyb3d8bbwe
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.SkypeApp_14.26.95.0_neutral_~_kzf8qxf38zg5c
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.StorePurchaseApp_11805.1001.813.0_neutral_~_8wekyb3d8bbwe
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.Wallet_2.2.18179.0_neutral_~_8wekyb3d8bbwe
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.Windows.Photos_2018.18051.21218.0_neutral_~_8wekyb3d8bbwe
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.WindowsAlarms_2018.516.2059.0_neutral_~_8wekyb3d8bbwe
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.WindowsCalculator_2018.501.612.0_neutral_~_8wekyb3d8bbwe
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.WindowsCamera_2018.425.120.0_neutral_~_8wekyb3d8bbwe
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:microsoft.windowscommunicationsapps_2015.9330.21365.0_neutral_~_8wekyb3d8bbwe
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.WindowsFeedbackHub_2018.822.2.0_neutral_~_8wekyb3d8bbwe
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.WindowsMaps_2018.523.2143.0_neutral_~_8wekyb3d8bbwe
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.WindowsSoundRecorder_2018.713.2154.0_neutral_~_8wekyb3d8bbwe
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.Xbox.TCUI_1.11.28003.0_neutral_~_8wekyb3d8bbwe
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.XboxApp_41.41.18001.0_neutral_~_8wekyb3d8bbwe
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.XboxGameOverlay_1.32.17005.0_neutral_~_8wekyb3d8bbwe
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.XboxGamingOverlay_2.20.22001.0_neutral_~_8wekyb3d8bbwe
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.XboxIdentityProvider_12.44.20001.0_neutral_~_8wekyb3d8bbwe
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.XboxSpeechToTextOverlay_1.17.29001.0_neutral_~_8wekyb3d8bbwe
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.YourPhone_2018.727.2137.0_neutral_~_8wekyb3d8bbwe
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.ZuneMusic_2019.18052.20211.0_neutral_~_8wekyb3d8bbwe
DISM /Image:mount /Remove-ProvisionedAppxPackage /Packagename:Microsoft.ZuneVideo_2019.18052.20211.0_neutral_~_8wekyb3d8bbwe
pause
... jo a člověk si ten skript opravdu nemusí pamatovat, stačí jej mít uložěný a jen jej upravit až vyjde další verze.
To platí i pro další vhodné úpravy instalačky (například instalace balíčku klasické kalkulačky, nastavení asociace obrázků na prohlížeč fotografií, nastavení audia na wmp, nastavení videa na mpc-hc atd).