uup-converter-wimlib v26 convert-UUP.cmd changes Spoiler * Revamped and reordered conversion steps to speed up the process, thanks to @whatever127 suggestions. this is mostly affect AddUpdates=1 scenario, where WinPE image will be updated once (instead thrice) now the process will be: Code: 1. Create ISO Layout 2. Create install.wim / install.esd 3. Update install.wim (if possible) 4. Create winre.wim 5. Update winre.wim (if possible) 6. Add winre.wim to install.wim / install.esd (if not skipped) 7. Create boot.wim from winre.wim 8. Create virtual editions (if selected) 9. Convert install.wim to install.esd (if selected) 10. Create ISO file * Replaced menu choice "9 - AddUpdates" with "6 - Configuration Options", to make it easier to change these options interactively. AutoStart option is exempted from this new choice of course. * If setup dynamic update is detected, it will be always extracted to ISO\sources directory, regardless of AddUpdates option state (because it doesn't need DISM or anything special). created boot.wim will also have the updated files. * To avoid accidental closing before reading or copying cmd window output, You now need to Press 0 to exit or close the window with the red X button. create_virtual_editions.cmd changes Spoiler * Revamped the creation process without using DISM tool, thanks to @whatever127 research. also added support for creating IoTEnterprise edition (OEM only) * If AutoEditions option is empty (no edition specified), the script will now create all possible editions from detected source(s). this is the default state now if AutoStart option is ON. * Added support to detect source distribution from DVD drive (whether mounted iso, real dvd or usb drive). * To avoid accidental closing before reading or copying cmd window output, You now need to Press 0 to exit or close the window with the red X button.
I have tested this version using UUP dump. Download, convert, integrate updates, create virtual editions, create ISO took 50 minutes on my PC. Previous versions needed at least 2 hours to do this. Spoiler: Log Code: ============================================================ Checking UUP Info . . . ============================================================ ============================================================ Configured Options . . . ============================================================ AutoStart AddUpdates StartVirtual ============================================================ Preparing Reference ESDs . . . ============================================================ CAB->ESD: microsoft-onecore-applicationmodel-sync-desktop-fod-package-amd64 CAB->ESD: microsoft-windows-hello-face-migration-package-amd64 CAB->ESD: microsoft-windows-hello-face-package-amd64 CAB->ESD: microsoft-windows-internetexplorer-optional-package-amd64 CAB->ESD: microsoft-windows-languagefeatures-basic-en-us-package-amd64 CAB->ESD: microsoft-windows-languagefeatures-handwriting-en-us-package-amd64 CAB->ESD: microsoft-windows-languagefeatures-ocr-en-us-package-amd64 CAB->ESD: microsoft-windows-languagefeatures-speech-en-us-package-amd64 CAB->ESD: microsoft-windows-languagefeatures-texttospeech-en-us-package-amd64 CAB->ESD: microsoft-windows-mediaplayer-package-amd64 CAB->ESD: microsoft-windows-quickassist-package-amd64 CAB->ESD: microsoft-windows-tabletpcmath-package-amd64 CAB->ESD: openssh-client-package-amd64 ============================================================ Creating Setup Media Layout . . . ============================================================ ============================================================ Creating install.wim . . . ============================================================ Using LZX compression with 8 threads Archiving file data: 7175 MiB of 7175 MiB (100%) done Using LZX compression with 8 threads Archiving file data: 277 MiB of 277 MiB (100%) done Using LZX compression with 8 threads Archiving file data: 213 MiB of 213 MiB (100%) done Using LZX compression with 8 threads Archiving file data: 249 MiB of 249 MiB (100%) done ============================================================ Updating install.wim / 4 image(s) . . . ============================================================ 1/3: windows10.0-kb4497093-x64.cab 2/3: windows10.0-kb4498524-x64.cab Deployment Image Servicing and Management tool Version: 10.0.17763.1 Mounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.18362.1 Processing 1 of 1 - Adding package Package_for_KB4498524~31bf3856ad364e35~amd64~~18362.80.1.0 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.18362.1 Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~18362.86.1.8 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.18362.86 [===== 10.0% ] [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image File : T:\18362.86_amd64_en-us_all_0a48cb72_convert_virtual\ISOFOLDER\sources\install.wim Image Index : 1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Mounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.18362.1 Processing 1 of 1 - Adding package Package_for_KB4498524~31bf3856ad364e35~amd64~~18362.80.1.0 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.18362.1 Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~18362.86.1.8 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.18362.86 [===== 10.0% ] [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image File : T:\18362.86_amd64_en-us_all_0a48cb72_convert_virtual\ISOFOLDER\sources\install.wim Image Index : 2 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Mounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.18362.1 Processing 1 of 1 - Adding package Package_for_KB4498524~31bf3856ad364e35~amd64~~18362.80.1.0 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.18362.1 Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~18362.86.1.8 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.18362.86 [===== 10.0% ] [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image File : T:\18362.86_amd64_en-us_all_0a48cb72_convert_virtual\ISOFOLDER\sources\install.wim Image Index : 3 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Mounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.18362.1 Processing 1 of 1 - Adding package Package_for_KB4498524~31bf3856ad364e35~amd64~~18362.80.1.0 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.18362.1 Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~18362.86.1.8 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.18362.86 [===== 10.0% ] [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image File : T:\18362.86_amd64_en-us_all_0a48cb72_convert_virtual\ISOFOLDER\sources\install.wim Image Index : 4 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. "ISOFOLDER\sources\install.wim" original size: 3680420 KiB Using LZX compression with 8 threads Archiving file data: 8003 MiB of 8003 MiB (100%) done "ISOFOLDER\sources\install.wim" optimized size: 3340435 KiB Space saved: 339984 KiB ============================================================ Creating winre.wim . . . ============================================================ Using LZX compression with 8 threads Archiving file data: 961 MiB of 961 MiB (100%) done ============================================================ Updating winre.wim / 1 image(s) . . . ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.1 Mounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.18362.1 Processing 1 of 1 - Adding package Package_for_KB4498524~31bf3856ad364e35~amd64~~18362.80.1.0 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.18362.1 Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~18362.86.1.8 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.18362.86 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image File : T:\18362.86_amd64_en-us_all_0a48cb72_convert_virtual\temp\winre.wim Image Index : 1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. "temp\winre.wim" original size: 435508 KiB Using LZX compression with 8 threads Archiving file data: 965 MiB of 965 MiB (100%) done "temp\winre.wim" optimized size: 372011 KiB Space saved: 63497 KiB ============================================================ Adding winre.wim to install.wim . . . ============================================================ ============================================================ Creating boot.wim . . . ============================================================ "ISOFOLDER\sources\boot.wim" original size: 390562 KiB Using LZX compression with 8 threads Archiving file data: 1032 MiB of 1032 MiB (100%) done "ISOFOLDER\sources\boot.wim" optimized size: 385825 KiB Space saved: 4737 KiB ============================================================ Checking Distribution Info . . . ============================================================ ============================================================ Configured Virtual Options . . . ============================================================ AutoStart AutoEditions: CoreSingleLanguage,ProfessionalWorkstation,ProfessionalEducation,Education,Enterprise,ServerRdsh,IoTEnterprise,ProfessionalWorkstationN,ProfessionalEducationN,EducationN,EnterpriseN ============================================================ Copying install.wim . . . ============================================================ ============================================================ Creating Edition: Enterprise ============================================================ Setting the WINDOWS/EDITIONID property of image 5 to "Enterprise". Setting the FLAGS property of image 5 to "Enterprise". Setting the DISPLAYNAME property of image 5 to "Windows 10 Enterprise". Setting the DISPLAYDESCRIPTION property of image 5 to "Windows 10 Enterprise". ============================================================ Creating Edition: Education ============================================================ Setting the WINDOWS/EDITIONID property of image 6 to "Education". Setting the FLAGS property of image 6 to "Education". Setting the DISPLAYNAME property of image 6 to "Windows 10 Education". Setting the DISPLAYDESCRIPTION property of image 6 to "Windows 10 Education". ============================================================ Creating Edition: Pro Education ============================================================ Setting the WINDOWS/EDITIONID property of image 7 to "ProfessionalEducation". Setting the FLAGS property of image 7 to "ProfessionalEducation". Setting the DISPLAYNAME property of image 7 to "Windows 10 Pro Education". Setting the DISPLAYDESCRIPTION property of image 7 to "Windows 10 Pro Education". ============================================================ Creating Edition: Pro for Workstations ============================================================ Setting the WINDOWS/EDITIONID property of image 8 to "ProfessionalWorkstation". Setting the FLAGS property of image 8 to "ProfessionalWorkstation". Setting the DISPLAYNAME property of image 8 to "Windows 10 Pro for Workstations". Setting the DISPLAYDESCRIPTION property of image 8 to "Windows 10 Pro for Workstations". ============================================================ Creating Edition: Enterprise N ============================================================ Setting the WINDOWS/EDITIONID property of image 9 to "EnterpriseN". Setting the FLAGS property of image 9 to "EnterpriseN". Setting the DISPLAYNAME property of image 9 to "Windows 10 Enterprise N". Setting the DISPLAYDESCRIPTION property of image 9 to "Windows 10 Enterprise N". ============================================================ Creating Edition: Education N ============================================================ Setting the WINDOWS/EDITIONID property of image 10 to "EducationN". Setting the FLAGS property of image 10 to "EducationN". Setting the DISPLAYNAME property of image 10 to "Windows 10 Education N". Setting the DISPLAYDESCRIPTION property of image 10 to "Windows 10 Education N". ============================================================ Creating Edition: Pro Education N ============================================================ Setting the WINDOWS/EDITIONID property of image 11 to "ProfessionalEducationN". Setting the FLAGS property of image 11 to "ProfessionalEducationN". Setting the DISPLAYNAME property of image 11 to "Windows 10 Pro Education N". Setting the DISPLAYDESCRIPTION property of image 11 to "Windows 10 Pro Education N". ============================================================ Creating Edition: Pro N for Workstations ============================================================ Setting the WINDOWS/EDITIONID property of image 12 to "ProfessionalWorkstationN". Setting the FLAGS property of image 12 to "ProfessionalWorkstationN". Setting the DISPLAYNAME property of image 12 to "Windows 10 Pro N for Workstations". Setting the DISPLAYDESCRIPTION property of image 12 to "Windows 10 Pro N for Workstations". ============================================================ Creating Edition: Home Single Language ============================================================ Setting the WINDOWS/EDITIONID property of image 13 to "CoreSingleLanguage". Setting the FLAGS property of image 13 to "CoreSingleLanguage". Setting the DISPLAYNAME property of image 13 to "Windows 10 Home Single Language". Setting the DISPLAYDESCRIPTION property of image 13 to "Windows 10 Home Single Language". ============================================================ Creating Edition: Enterprise for Virtual Desktops ============================================================ Setting the WINDOWS/EDITIONID property of image 14 to "ServerRdsh". Setting the FLAGS property of image 14 to "ServerRdsh". Setting the DISPLAYNAME property of image 14 to "Windows 10 Enterprise for Virtual Desktops". Setting the DISPLAYDESCRIPTION property of image 14 to "Windows 10 Enterprise for Virtual Desktops". ============================================================ Creating Edition: IoT Enterprise ============================================================ Setting the WINDOWS/EDITIONID property of image 15 to "IoTEnterprise". Setting the FLAGS property of image 15 to "IoTEnterprise". Setting the DISPLAYNAME property of image 15 to "Windows 10 IoT Enterprise". Setting the DISPLAYDESCRIPTION property of image 15 to "Windows 10 IoT Enterprise". ============================================================ Rebuilding install.wim . . . ============================================================ "ISOFOLDER\sources\install.wim" original size: 4053792 KiB Using LZX compression with 8 threads Archiving file data: 9149 MiB of 9149 MiB (100%) done "ISOFOLDER\sources\install.wim" optimized size: 3915666 KiB Space saved: 138125 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 36 directories) Scanning source tree complete (940 files in 83 directories) Computing directory information complete Image file is 4681007104 bytes (before optimization) Writing 940 files in 83 directories to 18362.86.190425-0442.19H1_RELEASE_SVC_PROD3_CLIENTMULTI_X64FRE_EN-US.ISO 100% complete Storage optimization saved 5 files, 190464 bytes (0% of image) After optimization, image file is 4682893312 bytes Space saved because of embedding, sparseness or optimization = 190464 Done. ============================================================ Removing temporary files . . . ============================================================ Press 0 to exit.
I need to convert ESD files to CAB files for use with MSMG Toolkit. I tried using abbodi1406's batch script for it but both the CLI and GUI versions of the script ran into problems. How do I do this?
I think so. I believe the function is on line 14376, and it performs these actions: Code: if "%SelectedSourceOS%" equ "w10" ( for /d %%j in (ServicingStack, Cumulative, FlashPlayer) do ( if exist "%Updates%\%%j\*%ImageArchitecture%*.msu" ( call :CreateFolder "%TMP%\Updates\%%j" expand -R "%Updates%\%%j\*%ImageArchitecture%*.msu" -F:*.cab "%TMP%\Updates\%%j" >nul call :RemoveFile "%TMP%\Updates\%%j\wsusscan.cab" expand -R "%TMP%\Updates\%%j\*.cab" -F:* "%TMP%\Updates\%%j" >nul if "%%j" equ "Cumulative" if exist "%TMP%\Updates\%%j\Cab_*.cab" expand -R "%TMP%\Updates\%%j\Cab_*.cab" -F:* "%TMP%\Updates\%%j" >nul call :RemoveFile "%TMP%\Updates\%%j\*.cab" ) if exist "%Updates%\%%j\*%ImageArchitecture%*.cab" ( call :CreateFolder "%TMP%\Updates\%%j" expand -R "%Updates%\%%j\*%ImageArchitecture%*.cab" -F:* "%TMP%\Updates\%%j" >nul if "%%j" equ "Cumulative" if exist "%TMP%\Updates\%%j\Cab_*.cab" expand -R "%TMP%\Updates\%%j\Cab_*.cab" -F:* "%TMP%\Updates\%%j" >nul call :RemoveFile "%TMP%\Updates\%%j\*.cab" ) ) Doesn't seem to interact with ESD files at all.
He thought he should use the canonical esd's: https://forums.mydigitallife.net/threads/msmg-toolkit.50572/page-541#post-1524110
uup-converter-wimlib v27 - convert-UUP.cmd : AutoStart option now support new value 2 this will auto create ISO with install.esd if AddUpdates option is ON and you selected install.esd output, the script will first create and update install.wim, then it will be converted to install.esd (wim2esd will be auto enabled in this case) this is whether you selected manual menu choice, or if AutoStart=2 - create_virtual_editions.cmd : now support both install.wim or install.esd Thanks to @whatever127 for suggested changes
ESD>ISO v47 (MCT style): Code: ============================================================ Checking ESD Info (x64) . . . ============================================================ ============================================================ Creating Setup Media Layout (x64) . . . ============================================================ ============================================================ Creating boot.wim (x64) . . . ============================================================ Using LZX compression with 8 threads Archiving file data: 779 MiB of 779 MiB (100%) done Using LZX compression with 8 threads Archiving file data: 103 MiB of 103 MiB (100%) done ============================================================ Creating install.esd (x64) . . . ============================================================ Using LZMS compression with 1 thread Archiving file data: 7691 MiB of 7691 MiB (100%) done Using LZMS compression with 1 thread Archiving file data: 275 MiB of 275 MiB (100%) done Using LZMS compression with 1 thread Archiving file data: 117 MiB of 117 MiB (100%) done Using LZMS compression with 1 thread Archiving file data: 110 MiB of 110 MiB (100%) done Using LZMS compression with 1 thread Archiving file data: 129 MiB of 129 MiB (100%) done Using LZMS compression with 1 thread Archiving file data: 122 MiB of 122 MiB (100%) done ============================================================ Checking ESD Info (x86) . . . ============================================================ ============================================================ Creating Setup Media Layout (x86) . . . ============================================================ ============================================================ Creating boot.wim (x86) . . . ============================================================ Using LZX compression with 8 threads Archiving file data: 591 MiB of 591 MiB (100%) done Using LZX compression with 8 threads Archiving file data: 92 MiB of 92 MiB (100%) done ============================================================ Creating install.esd (x86) . . . ============================================================ Using LZMS compression with 1 thread Archiving file data: 5159 MiB of 5159 MiB (100%) done Using LZMS compression with 1 thread Archiving file data: 154 MiB of 154 MiB (100%) done Using LZMS compression with 1 thread Archiving file data: 78 MiB of 78 MiB (100%) done Using LZMS compression with 1 thread Archiving file data: 69 MiB of 69 MiB (100%) done Using LZMS compression with 1 thread Archiving file data: 86 MiB of 86 MiB (100%) done Using LZMS compression with 1 thread Archiving file data: 86 MiB of 86 MiB (100%) done ============================================================ Preparing boot configuration settings . . . ============================================================ ============================================================ 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 (1500 files in 131 directories) Scanning source tree complete (1947 files in 178 directories) Computing directory information complete Image file is 6573129728 bytes (before optimization) Writing 1947 files in 178 directories to 18362.30.190401-1043.19H1_RELEASE_CLIENTBUSINESS_VOL_X86-X64FRE_EN-US.ISO 100% complete Storage optimization saved 729 files, 82954240 bytes (2% of image) After optimization, image file is 6496000000 bytes Space saved because of embedding, sparseness or optimization = 82954240 Done. Press any key to exit.
I don't know why you specifically need a business ESD, but all are available, here: https://forums.mydigitallife.net/threads/windows-10-esd-repository.59082/page-111#post-1525573
I requested business ESD so I can extract Enterprise from it. I can only see 18362.30 ESD files on the link you posted. As far as I know, MSMG's Toolkit only supports xxxxx.1 images.