@abbodi1406 Is that possible update W10UI's PSFExtractor to v3.04 for faster speed? (I can't find a way to let W10UI use costom PSFExtractor.) https://github.com/Secant1006/PSFExtractor/releases PS: Official relese is only 32bit exe, and 64bit exe is not able to compline this time.
So, is that why there is this caveat made by @abbodi1406 which is also in the information that @Enthousiast makes available in the topic Overview Updates about EP integration? Of course this post was about a specific EP. And so, it should not be valid for all after this. But this doubt is hanging in the air. This refers to the above EP. But I read elsewhere here in the Forum (I didn't find where I read) that this was also happening to Server 2022 and then, with the question above, I deduced that it would be something related to some structural modification from the above package mentioned by abbodi. And yet, there is more this message that has been being kept for a while by Enthousiast. So that's why I'm confused what it's right right now. If they can clarify. This will be very useful. But if the clarification is only what you told me about integrating only the .mum and everything is correct, it is nice to have a confirmation of @abbodi1406 and @Enthousiast. @Enthousiast knows that I recently started learning about the manually update application, to understand the process: dependencies, sequence of files to be integrated and other nuances about some builds. At the moment I'm trying to know if some conditions I'm thinking here will be interesting or waste of time. According to what you told me, it's looking like a waste of time. So I will wait for what they will say about it, so I decide what to do and conclude that. Thnks, acer-5100!
see :endmumLoop section the code is not hard to understand the script read the parent (supported) editions from update.mum then it check the target if any of the editions files exist in \Windows\Servicing\Packages - you can add any of the Enablement packages to any edition as @acer-5100 explained i.e. you can add 21H1 EP to 19041 LTSC
150 ~ KB is too big to embed within W10UI.cmd but i think i could add support to use external PSFExtractor.exe (if detected next to the script, or in bin folder like v10.4)
Going from C# to C++ in 2022 feels so backwards. Those speed bumps could have been achieved in C# as well. I should turn it into a powershell snippet and then race against c++
@abbodi1406 Compile without multi-thread (/MT) to use (/MD) will save much size of exe files. I fixed the vcxproj and build with Visual Studio 2022 17.3.2, 32bit exe goes to 245KB and 64bit exe goes to 303KB. If I turned the opition to (/MD), , 32bit exe goes to 42KB and 64bit exe goes to 49KB. (32bit exe zipped size goes to 22KB and 64bit exe zipped size goes to 24KB) But all that means user have to install the latest vcredist before using the PSFExtractor.exe.
@abbodi1406 For unknown reason, the "wim2esd=1" seems not work on W10UI v10.23. Testing with a single install.wim with only one edition inside. config files: Code: [W10UI-Configuration] Target = Repo = DismRoot =dism.exe Net35 =1 Net35Source =C:\Softwares\W10UI\15063\x86 Cleanup =1 ResetBase =0 LCUwinre =0 WinRE =0 UpdtBootFiles =0 SkipEdge =0 _CabDir =W10UItemp MountDir =W10UImount WinreMount =W10UImountre wim2esd =1 wim2swm =0 ISO =0 ISODir = Delete_Source =0 AutoStart =0 ======================= W10UI v10.23 ========================== [1] Target (x86): "C:\Softwares\W10UI\15063\x86\install.wim" [2] Updates: "C:\Softwares\W10UI\15063\x86" [3] DISM: "Windows NT 10.0 ADK" [4] Enable .NET 3.5: YES [5] Cleanup System Image: YES [6] Reset Image Base: NO [7] Update WinRE.wim: NO [M] Mount Directory: "C:\W10UImount_7314" [E] Extraction Directory: "C:\W10UItemp_13173" ============================================================ Change a menu option, press 0 to start the process, or 9 to exit: But W10UI only do Rebuilding install.wim, Not convert to install.esd. Code: ============================================================ Running W10UI v10.23 ============================================================ ============================================================ Extracting .cab files from .msu files... ============================================================ 1/8: windows10.0-kb4486129-x86_d38ebe43baeabaef927675c7ff2295843f19a077.msu 2/8: windows10.0-kb4486131-x86_f9b1c5794a9a399a4f3ee2b1b72d9d304b3884ab.msu 3/8: windows10.0-kb4494453-v5-x86_42d42cd941f2715358734332099422d1f500e463.msu 4/8: windows10.0-kb4565551-x86_4f5689e10f0f653b3b1a418b304563d68774bf8d.msu 5/8: windows10.0-kb4577586-x86_9a3ade6ec24a2627276cbd7df0b39ece8ffee269.msu 6/8: windows10.0-kb4580325-x86_826b0db681a62e38669915699eaa850507b3f6f4.msu 7/8: windows10.0-kb4601052-x86-ndp48_d542adda035f3c8166f3d98bd18b11cae517adf0.msu 8/8: windows10.0-kb5000812-x86_e481a04e25224cc60cb1fedfa40f96d1547ab969.msu ============================================================ Extracting files from update cabinets (.cab)... *** This will require some disk space, please be patient *** ============================================================ 1/10: windows10.0-kb4021572-x86_ddb5e001e92f89181c6fd2ca164419ae614f58eb.cab [WinPE] 2/10: Windows10.0-KB4486129-x86.cab [NetFx] 3/10: Windows10.0-KB4486131-x86.cab [NetFx] 4/10: Windows10.0-KB4494453-v5-x86.cab 5/10: windows10.0-kb4519336-x86_23edc80141a3e79dce60daad5ab5fc05efbee2d1.cab [Setup DU] 6/10: Windows10.0-KB4565551-x86.cab [SSU] 7/10: Windows10.0-KB4577586-x86.cab [Flash] 8/10: Windows10.0-KB4580325-x86.cab [Flash] 9/10: Windows10.0-KB4601052-x86-NDP48.cab [NetFx] 10/10: Windows10.0-KB5000812-x86.cab [LCU] ============================================================ Mounting install.wim - index 1/1 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.22621.1 Mounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Checking Updates... ============================================================ ============================================================ Installing servicing stack update... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.22621.1 Image Version: 10.0.15063.0 Processing 1 of 1 - Adding package Package_for_KB4565551~31bf3856ad364e35~x86~~15063.2430.1.0 [==========================100.0%==========================] The operation completed successfully. ============================================================ Installing updates... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.22621.1 Image Version: 10.0.15063.2430 Processing 1 of 6 - Adding package Package_for_KB4486129~31bf3856ad364e35~x86~~10.0.1.3106 [==========================100.0%==========================] Processing 2 of 6 - Adding package Package_for_KB4486131~31bf3856ad364e35~x86~~10.0.1.2752 [==========================100.0%==========================] Processing 3 of 6 - Adding package Package_for_KB4494453~31bf3856ad364e35~x86~~10.0.5.1 [==========================100.0%==========================] Processing 4 of 6 - Adding package Package_for_KB4577586~31bf3856ad364e35~x86~~10.0.1.1 [==========================100.0%==========================] Processing 5 of 6 - Adding package Package_for_KB4580325~31bf3856ad364e35~x86~~10.0.1.0 [==========================100.0%==========================] Processing 6 of 6 - Adding package Package_for_DotNetRollup~31bf3856ad364e35~x86~~10.0.4330.2 [==========================100.0%==========================] The operation completed successfully. Processing 1 of 1 - Staging Windows10.0-KB5000812-x86 Deployment Image Servicing and Management tool Version: 10.0.22621.1 Image Version: 10.0.15063.2430 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.22621.1 Image Version: 10.0.15063.2430 Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~x86~~15063.2679.1.5 [==========================100.0%==========================] The operation completed successfully. ============================================================ Cleaning up OS image... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.22621.1 Image Version: 10.0.15063.2430 [===========================97.0%======================== ] [==========================100.0%==========================] The operation completed successfully. ============================================================ Adding .NET Framework 3.5 feature... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.22621.1 Image Version: 10.0.15063.2430 Enabling feature(s) [==========================100.0%==========================] The operation completed successfully. ============================================================ Reinstalling cumulative update(s)... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.22621.1 Image Version: 10.0.15063.2430 Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~x86~~15063.2679.1.5 [==========================100.0%==========================] The operation completed successfully. ============================================================ Unmounting install.wim - index 1/1 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.22621.1 Image File : C:\Softwares\W10UI\15063\x86\install.wim Image Index : 1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Rebuilding install.wim ... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.22621.1 Exporting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Removing temporary extracted files... ============================================================ ============================================================ Finished ============================================================ Press 9 to exit.
@fch1993 wim2esd & wim2swm only works for distribution target (dvd) you can do it manually Code: cd /d "C:\Softwares\W10UI\15063\x86" dism.exe /Export-Image /SourceImageFile:install.wim /All /DestinationImageFile:install.esd /Compress:LZMS
I'm not sure if it's stresser or not, it seems a little bit to me. I would not offer a target. here is enough information, and google is also a friend not , for me does not work detailed specifications quite strange @ fch1993
ndp481 (KB5011048) is not applicable for Azure Stack HCI, can't integrate all updates into install.wim with 5 Server indexes correctly some suggestions for W10UI: 1. skip integration of KB5011048 and any "Package_for_DotNetRollup_481" (currently KB5017030) for Azure Stack HCI if there's no applicable base ndp481 update (turns out KB5017030 is applicable, but base KB5011048 isn't) 2. skip integration of "Package_for_DotNetRollup_48" (or "Package_for_DotNetRollup" if it's without "48" postfix) if KB5011048 and any "Package_for_DotNetRollup_481" are detected in updates repo for 19041 (+19044 LTSC), 22000 and 20348 builds 3. make sure only "Package_for_DotNetRollup_48" (or "Package_for_DotNetRollup" if it's without "48" postfix) will be integrated for Azure Stack HCI even if KB5011048 and any "Package_for_DotNetRollup_481" are detected in updates repo with this changes install.wim with 5 Server indexes in theory could be updated correctly for example ndp files in updates repo: 1. windows10.0-kb5017028-x64-ndp48_4556.3.cab (Package_for_DotNetRollup) 2. windows10.0-kb5011048-x64_ndp481_8028.cab (Package_for_KB5011048) 3. windows10.0-kb5017030-x64-ndp481_CU_9082.7.cab (Package_for_DotNetRollup_481) 2nd + 3rd ndp updates should be integrated into 4 main server indexes 1st ndp update should be integrated into 5th index of Azure Stack HCI hope it could be implemented and makes any sense for W10UI p.s. another low priority request is in spoiler Spoiler: W10UI and EPs since Enablement packages are not updating every month it could be nice to skip integration of previous EPs if newer ones are detected in updates repo in my base 19041 ISO I have Home + Pro indexes of 19041.1 and the 3rd one is 19044.1288 (LTSC) in theory I could place 19044 and 19045 EPs into updates folder and it would be integrated correctly (integration of 19045 EP in 1-2 indexes, reintegration of 19044 EP for the 3rd index) p.p.s as a workaround for my "issue" with Azure Stack HCI I can integrate updates into 1-4 and 5 indexes separately, but I think winre.wim will be different and it will eat 400Mb of space (I will add winre.wim manually with wimlib later and it should be fine) in this case can we detect winre.wim (perhaps with slitly different name for failsafe) in updates repo and just copy it into selected index without any updates? I think it would be easier to implement into W10UI more universal and complicated solution is to allow us to select updates for specific indexes in GUI or in config file, maybe it is an overkill but it's really flexible and will cover every cases or updates autoselect for indexes could be achieved based on updates folder structure, something like subfolders Repo1, Repo2, Repo3 etc. where 1, 2 and 3 are indexes in install.wim
EP 22H2 includes 20H2, 21H1, 21H2 and 22H2 and will install even on 19041.1 (but the outcome depends on the installed CU)
I know but I'm talking about scenario of different EPs in updates folder and W10UI I don't know what would happen in this case, didn't tested this yet, but I think all EPs CABs will be integrated instead of the only latest one will test it now Spoiler: W10UI Code: ============================================================ Running W10UI v10.23 ============================================================ ============================================================ Copying DVD Drive contents to work directory... ============================================================ ============================================================ Extracting files from update cabinets (.cab)... *** This will require some disk space, please be patient *** ============================================================ 1/11: defender-dism-x86_13.09.2022.cab 2/11: windows10.0-kb5003791-x86_EP.21H1_1237.1.3.cab [Enablement] 3/11: windows10.0-kb5007401-x86_DU.Critical_1378.1.1.cab 4/11: windows10.0-kb5011048-x86_ndp481_8028.cab [NetFx] 5/11: windows10.0-kb5011577-x86_DU.SafeOS_1616.1.1.cab [WinPE] 6/11: windows10.0-kb5012170-x86_DBX_1880.1.1.cab [SecureBoot] 7/11: windows10.0-kb5015684-x86_EP.22H2_1799.1.2.cab [Enablement] 8/11: windows10.0-kb5016705-x86_SSU_1940.1.0.cab [SSU] 9/11: windows10.0-kb5016775-x86_DU.Sources_1940.cab [Setup DU] 10/11: windows10.0-kb5017025-x86-ndp481_CU_9082.7.cab [NetFx] 11/11: windows10.0-kb5017308-x86_LCU_2006.1.7.cab [LCU] ============================================================ Mounting sources\install.wim - index 1/3 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.22621.1 Mounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Checking Updates... ============================================================ ============================================================ Installing servicing stack update... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.22621.1 Image Version: 10.0.19041.1 Processing 1 of 1 - Adding package Package_for_ServicingStack_1940~31bf3856ad364e35~x86~~19041.1940.1.0 [==========================100.0%==========================] The operation completed successfully. ============================================================ Installing updates... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.22621.1 Image Version: 10.0.19041.1 Processing 1 of 1 - Adding package Package_for_KB5012170~31bf3856ad364e35~x86~~19041.1880.1.1 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.22621.1 Image Version: 10.0.19041.1 Processing 1 of 5 - Adding package Package_for_KB5011048~31bf3856ad364e35~x86~~10.0.1.8028 [==========================100.0%==========================] Processing 2 of 5 - Adding package Package_for_KB5003791~31bf3856ad364e35~x86~~19041.1237.1.3 [==========================100.0%==========================] Processing 3 of 5 - Adding package Package_for_KB5007401~31bf3856ad364e35~x86~~19041.1378.1.1 [==========================100.0%==========================] Processing 4 of 5 - Adding package Package_for_KB5015684~31bf3856ad364e35~x86~~19041.1799.1.2 [==========================100.0%==========================] Processing 5 of 5 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~x86~~10.0.9082.7 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.22621.1 Image Version: 10.0.19041.1 Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~x86~~19041.2006.1.7 [===== 10.0% ] yep, 21H1 and 21H2 EPs are integrated, would be nice to skip the oldest ones and integrate only latest available in updates repo
Yes, and we always explained only the latest is needed (or the one of your build desire). Hence the spoiler for the older ones and the latest public one in the open: https://forums.mydigitallife.net/th...h1-22h2-vb_release.80763/page-16#post-1571109
I have a question: is it possible that you can insert the option with. Registry entries into the W10UI so that afterwards you save a lot of time doing it afterwards.
You cannot guarantee the user will not use registry keys for current OS instead offline image and search/replace registry files might not work correctly using unattend.xml or $OEM$ folders is much easier for customization
Code: ======================= W10UI v10.24 ========================== [1] Target (x64): "D:\W10UI_10.24\install.wim" [2] Updates: "D:\W10UI_10.24" [3] DISM: "Windows NT 10.0 ADK" [4] Enable .NET 3.5: YES [5] Cleanup System Image: YES [6] Reset Image Base: NO [7] Update WinRE.wim: NO [8] install.wim selected indexes: 6 / [K] Keep indexes: Selected [M] Mount Directory: "D:\W10UImount_7863" [E] Extraction Directory: "D:\W10UItemp_22654" ============================================================ Change a menu option, press 0 to start the process, or 9 to exit: Code: ============================================================ Running W10UI v10.24 ============================================================ ============================================================ Extracting .cab files from .msu files... ============================================================ 1/2: windows10.0-kb4598481-x64_749fe79fd2e31b145de37c2f9ebf4f711d174dc2.msu 2/2: windows10.0-kb5004237-x64_9a7c569f5656d99533e9e945e8063251758ce4c0.msu ============================================================ Extracting files from update cabinets (.cab)... *** This will require some disk space, please be patient *** ============================================================ 1/2: Windows10.0-KB4598481-x64.cab [SSU] 2/2: Windows10.0-KB5004237-x64.cab [Combined] 3/4: Windows10.0-KB5003742-x64_inout.cab [SSU] 4/4: Windows10.0-KB5004237-x64_inout.cab [LCU] ============================================================ Mounting install.wim - index 6/11 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.19041.1 Mounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Checking Updates... ============================================================ ============================================================ Installing servicing stack update... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.19041.1 Image Version: 10.0.19043.928 Processing 1 of 2 - Adding package Package_for_KB4598481~31bf3856ad364e35~amd64~~19041.740.1.1 [==========================100.0%==========================] Processing 2 of 2 - Adding package Package_for_ServicingStack~31bf3856ad364e35~amd64~~19041.1081.1.2 [==========================100.0%==========================] The operation completed successfully. ============================================================ Installing updates... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.19041.1 Image Version: 10.0.19043.928 Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.1110.1.15 [==========================100.0%==========================] The operation completed successfully. ============================================================ Cleaning up OS image... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.19041.1 Image Version: 10.0.19043.1110 [===== 10.0% ] [==========================100.0%==========================] The operation completed successfully. ============================================================ Adding .NET Framework 3.5 feature... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.19041.1 Image Version: 10.0.19043.1110 Enabling feature(s) [==========================100.0%==========================] The operation completed successfully. ============================================================ Reinstalling cumulative update(s)... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.19041.1 Image Version: 10.0.19043.1110 Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.1110.1.15 [==========================100.0%==========================] The operation completed successfully. ============================================================ Unmounting install.wim - index 6/11 ============================================================ Deployment Image Servicing and Management tool Version: 10.0.19041.1 Image File : D:\W10UI_10.24\install.wim Image Index : 6 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Rebuilding install.wim ... ============================================================ Deployment Image Servicing and Management tool Version: 10.0.19041.1 Exporting image [==========================100.0%==========================] The operation completed successfully. ============================================================ Removing temporary extracted files... ============================================================ ============================================================ Finished ============================================================ Press 9 to exit.