@abbodi1406 At appx downloading i get an error, log: Code: 2022-03-22 16:26:08.249502 [INFO] [DefaultBtProgressInfoFile.cc:415] The segment file UUPs/IPA_MinecraftEducationEdition_Microsoft.MinecraftEducationEdition_1.14.52.0_x64_8wekyb3d8bbwe.appx.aria2 does not exist. 2022-03-22 16:26:08.249502 [INFO] [DefaultBtProgressInfoFile.cc:415] The segment file UUPs/IPA_MinecraftEducationEdition_Microsoft.MinecraftEducationEdition_1.14.52.0_x64_8wekyb3d8bbwe.appx.aria2 does not exist. 2022-03-22 16:26:08.249502 [INFO] [DefaultBtProgressInfoFile.cc:415] The segment file UUPs/IPA_MinecraftEducationEdition_Microsoft.MinecraftEducationEdition_1.14.52.0_x64_8wekyb3d8bbwe.appx.aria2 does not exist. 2022-03-22 16:26:08.249502 [INFO] [DefaultBtProgressInfoFile.cc:415] The segment file UUPs/IPA_MinecraftEducationEdition_Microsoft.MinecraftEducationEdition_1.14.52.0_x64_8wekyb3d8bbwe.appx.aria2 does not exist. 2022-03-22 16:26:08.249502 [INFO] [RequestGroup.cc:245] File has already been downloaded but hash check has not been done yet. 2022-03-22 16:26:08.607047 [NOTICE] [CheckIntegrityCommand.cc:76] Verification finished successfully. file=UUPs/IPA_ExcelTeam_ExcelTeam_x64.appx 2022-03-22 16:26:08.608753 [INFO] [RequestGroup.cc:1246] Applying Last-Modified time: Wed, 02 Feb 2022 19:29:28 GMT 2022-03-22 16:26:08.609752 [INFO] [RequestGroup.cc:1249] Last-Modified attrs of 1 files were updated. 2022-03-22 16:26:08.609752 [NOTICE] [RequestGroup.cc:1214] Download complete: UUPs/IPA_ExcelTeam_ExcelTeam_x64.appx 2022-03-22 16:26:08.609752 [INFO] [DefaultBtProgressInfoFile.cc:415] The segment file UUPs/IPA_ExcelTeam_ExcelTeam_x64.appx.aria2 does not exist. 2022-03-22 16:26:08.609752 [INFO] [CheckIntegrityDispatcherCommand.cc:57] CUID#3 - Dispatching CheckIntegrityCommand CUID#6557. 2022-03-22 16:26:09.067379 [NOTICE] [CheckIntegrityCommand.cc:76] Verification finished successfully. file=UUPs/IPA_Outlook_outlookim_x64.appx 2022-03-22 16:26:09.071342 [INFO] [RequestGroup.cc:1246] Applying Last-Modified time: Wed, 02 Feb 2022 19:21:38 GMT 2022-03-22 16:26:09.071342 [INFO] [RequestGroup.cc:1249] Last-Modified attrs of 1 files were updated. 2022-03-22 16:26:09.071342 [NOTICE] [RequestGroup.cc:1214] Download complete: UUPs/IPA_Outlook_outlookim_x64.appx 2022-03-22 16:26:09.071342 [INFO] [DefaultBtProgressInfoFile.cc:415] The segment file UUPs/IPA_Outlook_outlookim_x64.appx.aria2 does not exist. 2022-03-22 16:26:09.071342 [INFO] [CheckIntegrityDispatcherCommand.cc:57] CUID#3 - Dispatching CheckIntegrityCommand CUID#6558. 2022-03-22 16:26:09.655737 [NOTICE] [CheckIntegrityCommand.cc:76] Verification finished successfully. file=UUPs/IPA_Skype_Microsoft.SkypeApp_kzf8qxf38zg5c.appxbundle 2022-03-22 16:26:09.669303 [INFO] [RequestGroup.cc:1246] Applying Last-Modified time: Wed, 02 Feb 2022 19:29:28 GMT 2022-03-22 16:26:09.669303 [INFO] [RequestGroup.cc:1249] Last-Modified attrs of 1 files were updated. 2022-03-22 16:26:09.669303 [NOTICE] [RequestGroup.cc:1214] Download complete: UUPs/IPA_Skype_Microsoft.SkypeApp_kzf8qxf38zg5c.appxbundle 2022-03-22 16:26:09.669303 [INFO] [DefaultBtProgressInfoFile.cc:415] The segment file UUPs/IPA_Skype_Microsoft.SkypeApp_kzf8qxf38zg5c.appxbundle.aria2 does not exist. 2022-03-22 16:26:09.669303 [INFO] [CheckIntegrityDispatcherCommand.cc:57] CUID#3 - Dispatching CheckIntegrityCommand CUID#6559. 2022-03-22 16:26:10.476273 [NOTICE] [CheckIntegrityCommand.cc:76] Verification finished successfully. file=UUPs/IPA_PowerAutomateDesktop_PowerAutomateDesktop-10.0.3129.0-x64.msix 2022-03-22 16:26:10.488751 [INFO] [RequestGroup.cc:1246] Applying Last-Modified time: Thu, 24 Feb 2022 10:07:06 GMT 2022-03-22 16:26:10.488751 [INFO] [RequestGroup.cc:1249] Last-Modified attrs of 1 files were updated. 2022-03-22 16:26:10.488751 [NOTICE] [RequestGroup.cc:1214] Download complete: UUPs/IPA_PowerAutomateDesktop_PowerAutomateDesktop-10.0.3129.0-x64.msix 2022-03-22 16:26:10.488751 [INFO] [DefaultBtProgressInfoFile.cc:415] The segment file UUPs/IPA_PowerAutomateDesktop_PowerAutomateDesktop-10.0.3129.0-x64.msix.aria2 does not exist. 2022-03-22 16:26:10.488751 [INFO] [CheckIntegrityDispatcherCommand.cc:57] CUID#3 - Dispatching CheckIntegrityCommand CUID#6560. 2022-03-22 16:26:11.963932 [NOTICE] [CheckIntegrityCommand.cc:76] Verification finished successfully. file=UUPs/IPA_MinecraftEducationEdition_Microsoft.MinecraftEducationEdition_1.14.52.0_x64_8wekyb3d8bbwe.appx 2022-03-22 16:26:11.980339 [INFO] [RequestGroup.cc:1246] Applying Last-Modified time: Wed, 02 Feb 2022 19:29:19 GMT 2022-03-22 16:26:11.980339 [INFO] [RequestGroup.cc:1249] Last-Modified attrs of 1 files were updated. 2022-03-22 16:26:11.980339 [NOTICE] [RequestGroup.cc:1214] Download complete: UUPs/IPA_MinecraftEducationEdition_Microsoft.MinecraftEducationEdition_1.14.52.0_x64_8wekyb3d8bbwe.appx 2022-03-22 16:26:11.980339 [INFO] [DefaultBtProgressInfoFile.cc:415] The segment file UUPs/IPA_MinecraftEducationEdition_Microsoft.MinecraftEducationEdition_1.14.52.0_x64_8wekyb3d8bbwe.appx.aria2 does not exist. Running integration cmd anyway: Code: Updating install.wim / 1 image(s) . . . Deployment Image Servicing and Management tool Version: 10.0.22000.1 Mounting image [==========================100.0%==========================] The operation completed successfully. Adding Framework Apps . . . Adding Modern Apps . . . Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image File : D:\22579.1_amd64_neutral_app_8990baca\ISOFOLDER\sources\install.wim Image Index : 1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Rebuilding install.wim . . . ============================================================ "ISOFOLDER\sources\install.wim" original size: 3377805 KiB Using LZX compression with 16 threads Archiving file data: 7280 MiB of 7280 MiB (100%) done "ISOFOLDER\sources\install.wim" optimized size: 3364079 KiB Space saved: 13725 KiB ============================================================ Creating ISO . . . ============================================================ OSCDIMG 2.56 CD-ROM and DVD-ROM Premastering Utility Copyright (C) Microsoft, 1993-2012. All rights reserved. Licensed only for producing Microsoft authorized content. Scanning source tree (500 files in 43 directories) Scanning source tree complete (944 files in 86 directories) Computing directory information complete Image file is 4190437376 bytes (before optimization) Writing 944 files in 86 directories to 22579.1.220315-1501.NI_RELEASE_CLIENTPRO_OEMRET_X64FRE_EN-US.ISO 100% complete Storage optimization saved 24 files, 14135296 bytes (1% of image) After optimization, image file is 4178438144 bytes Space saved because of embedding, sparseness or optimization = 14135296 Done. Press 0 to exit. The parser cmd creates a folder called UUPs, the appx aria 2 download cmd creates the UUPs folder containing the appx files, needs to be renamed to APPs to get it to work, you will probably change that to UUPs later? EDIT, i never ran the parser cmd, running it gives me the APPs folder It prompts for the ISO path, even when the ISO is put next to _Apps_Integrator.cmd Re-running the appintegrator script
@Enthousiast i cannot control download errors rerun again the download script create UUPs folder you are supposed to extract Apps_Integrator.7z inside that folder (after downloading) then run the script
Code: Updating install.wim / 1 image(s) . . . Deployment Image Servicing and Management tool Version: 10.0.22000.1 Mounting image [==========================100.0%==========================] The operation completed successfully. Adding Framework Apps . . . Microsoft.NET.Native.Framework.x64.1.3.appx Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.NET.Native.Framework.x64.1.7.appx Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.NET.Native.Framework.x64.2.2.appx Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.NET.Native.Runtime.x64.1.4.appx Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.NET.Native.Runtime.x64.1.7.appx Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.NET.Native.Runtime.x64.2.2.appx Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.UI.Xaml.x64.2.1.appx Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.UI.Xaml.x64.2.3.appx Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.UI.Xaml.x64.2.4.appx Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.UI.Xaml.x64.2.7.appx Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.VCLibs.x64.14.00.appx Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.VCLibs.x64.14.00.Desktop.appx Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Adding Modern Apps . . . Microsoft.WindowsStore_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.StorePurchaseApp_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. microsoft.windowscommunicationsapps_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.People_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.BingNews_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.BingWeather_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.MicrosoftSolitaireCollection_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.ZuneMusic_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.ZuneVideo_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.WindowsAlarms_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.WindowsCalculator_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.WindowsNotepad_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.WindowsTerminal_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.WindowsFeedbackHub_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.GetHelp_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.WindowsSoundRecorder_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.MicrosoftOfficeHub_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.ScreenSketch_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.Todos_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.XboxSpeechToTextOverlay_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.GamingApp_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.XboxGameOverlay_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.XboxGamingOverlay_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.XboxIdentityProvider_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.Xbox.TCUI_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.Getstarted_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.Windows.Photos_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.WindowsMaps_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.PowerAutomateDesktop_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.WindowsCamera_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.DesktopAppInstaller_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.Paint_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.WebMediaExtensions_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.RawImageExtension_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.HEIFImageExtension_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.HEVCVideoExtension_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.VP9VideoExtensions_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.WebpImageExtension_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. MicrosoftWindows.Client.WebExperience_cw5n1h2txyewy Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.SecHealthUI_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Clipchamp.Clipchamp_yxz26nhyzhsrt Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. MicrosoftCorporationII.QuickAssist_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.YourPhone_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Microsoft.549981C3F5F10_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. MicrosoftCorporationII.MicrosoftFamily_8wekyb3d8bbwe Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image Version: 10.0.22579.1 The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image File : D:\22579.1_amd64_neutral_app_8990baca\ISOFOLDER\sources\install.wim Image Index : 1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Rebuilding install.wim . . . ============================================================ "ISOFOLDER\sources\install.wim" original size: 3706363 KiB Using LZX compression with 16 threads Archiving file data: 8155 MiB of 8155 MiB (100%) done "ISOFOLDER\sources\install.wim" optimized size: 3678590 KiB Space saved: 27772 KiB ============================================================ Creating ISO . . . ============================================================ OSCDIMG 2.56 CD-ROM and DVD-ROM Premastering Utility Copyright (C) Microsoft, 1993-2012. All rights reserved. Licensed only for producing Microsoft authorized content. Scanning source tree (500 files in 43 directories) Scanning source tree complete (944 files in 86 directories) Computing directory information complete Image file is 4512481280 bytes (before optimization) Writing 944 files in 86 directories to 22579.1.220315-1501.NI_RELEASE_CLIENTPRO_OEMRET_X64FRE_EN-US.ISO 100% complete Storage optimization saved 24 files, 14135296 bytes (1% of image) After optimization, image file is 4500498432 bytes Space saved because of embedding, sparseness or optimization = 14135296 Done. Press 0 to exit.
The integrator script will auto run the parser script if not ran previously i will check about ISO file detection i only tested mounted ISO scenario
_appProf will be used for all regular editions _appProN for all N editions _appTeam for PPIPro for future Server editions: _appAzure, _appSCore, _appSFull one extra app won't hurt if i could not optimize Apps integration process, then i would follow Updates integration route (add Apps to Core/CoreN editions, then upgrade to Pro/ProN) instead repeating the Apps integration for each edition MSIXFrameworks will be added all always checking and differentiating each app required dependencies is the real overkill that's DISM leftovers, i guess i need robocopy to remove it completely
It does allow it and works reduced the integration period by ~ 25% in my test with powershell + ManagedDism (it could be faster with native or .net program) Spoiler: example: mount install.wim normally with dism.exe place Microsoft.Dism.dll in Apps folder start powershell in Apps folder or change location to it Code: [Environment]::CurrentDirectory = (Get-Location -PSProvider FileSystem).ProviderPath Add-Type -Path 'Microsoft.Dism.dll' [Microsoft.Dism.DismApi]::InitializeEx(0) $s = [Microsoft.Dism.DismApi]::OpenOfflineSession('E:\Mount') [Microsoft.Dism.DismApi]::AddProvisionedAppxPackage($s, 'MSIXFramework\Microsoft.NET.Native.Framework.x64.2.2.appx', $null, $null, $null) [Microsoft.Dism.DismApi]::AddProvisionedAppxPackage($s, 'MSIXFramework\Microsoft.NET.Native.Runtime.x64.2.2.appx', $null, $null, $null) [Microsoft.Dism.DismApi]::AddProvisionedAppxPackage($s, 'MSIXFramework\Microsoft.UI.Xaml.x64.2.1.appx', $null, $null, $null) [Microsoft.Dism.DismApi]::AddProvisionedAppxPackage($s, 'MSIXFramework\Microsoft.UI.Xaml.x64.2.3.appx', $null, $null, $null) [Microsoft.Dism.DismApi]::AddProvisionedAppxPackage($s, 'MSIXFramework\Microsoft.UI.Xaml.x64.2.4.appx', $null, $null, $null) [Microsoft.Dism.DismApi]::AddProvisionedAppxPackage($s, 'MSIXFramework\Microsoft.UI.Xaml.x64.2.7.appx', $null, $null, $null) [Microsoft.Dism.DismApi]::AddProvisionedAppxPackage($s, 'MSIXFramework\Microsoft.VCLibs.x64.14.00.appx', $null, $null, $null) [Microsoft.Dism.DismApi]::AddProvisionedAppxPackage($s, 'MSIXFramework\Microsoft.VCLibs.x64.14.00.Desktop.appx', $null, $null, $null) [Microsoft.Dism.DismApi]::AddProvisionedAppxPackage($s, 'Microsoft.WindowsStore_8wekyb3d8bbwe\Microsoft.WindowsStore_8wekyb3d8bbwe.msixbundle', $null, 'Microsoft.WindowsStore_8wekyb3d8bbwe\License.xml', $null) [Microsoft.Dism.DismApi]::AddProvisionedAppxPackage($s, 'Microsoft.WindowsNotepad_8wekyb3d8bbwe\Microsoft.WindowsNotepad_8wekyb3d8bbwe.msixbundle', $null, 'Microsoft.WindowsNotepad_8wekyb3d8bbwe\License.xml', $null) [Microsoft.Dism.DismApi]::AddProvisionedAppxPackage($s, 'Microsoft.WindowsTerminal_8wekyb3d8bbwe\Microsoft.WindowsTerminal_8wekyb3d8bbwe.msixbundle', $null, 'Microsoft.WindowsTerminal_8wekyb3d8bbwe\License.xml', $null) [Microsoft.Dism.DismApi]::AddProvisionedAppxPackage($s, 'Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle', $null, 'Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\License.xml', $null) [Microsoft.Dism.DismApi]::AddProvisionedAppxPackage($s, 'MicrosoftWindows.Client.WebExperience_cw5n1h2txyewy\MicrosoftWindows.Client.WebExperience_cw5n1h2txyewy.appxbundle', $null, 'MicrosoftWindows.Client.WebExperience_cw5n1h2txyewy\License.xml', $null) [Microsoft.Dism.DismApi]::AddProvisionedAppxPackage($s, 'Microsoft.SecHealthUI_8wekyb3d8bbwe\Microsoft.SecHealthUI_8wekyb3d8bbwe.appx', $null, 'Microsoft.SecHealthUI_8wekyb3d8bbwe\License.xml', $null) [Microsoft.Dism.DismApi]::AddProvisionedAppxPackage($s, 'Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe\Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe.msixbundle', $null, $null, 'Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe\License.xml', $null, $null, 2) [Microsoft.Dism.DismApi]::CloseSession($s) [Microsoft.Dism.DismApi]::Shutdown()
Beautiful. I don't see how it would be any faster, the amount of pinvoke marshaling is minimal (just parameters), while the actual processing is done natively by dismapi.dll. The bottleneck is with the internal single-threaded functions for storage access and compression.