abbodi1406's Batch Scripts Repo

Discussion in 'Scripting' started by abbodi1406, May 4, 2017.

  1. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,791
    340
    uup-converter v80

    - Added AppsLevel 4 to include Media apps (Music, Video, Codecs, Phone Link)
    naturally, this level has no affect for N editions

    - Added CustomList option for using CustomAppsList.txt to pick and choose added Apps
    this option takes precedence over AppsLevel
    thanks to @inTerActionVRI for ideas

    - Added wim2swm option to split install.wim into multiple install.swm files
    this option has no effect if install.wim size is below 4 GB
    if both wim2esd/wim2swm are 1, install.esd takes precedence

    - Fixed LCU MSU creation for dev builds 25xxx

    - Updated 7-zip and wimlib-imagex to latest version
     
  2. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,679
    103,522
    450
    @abbodi1406 still errors at the updates integration stage:
    Code:
    
    ============================================================
    Running UUP -> ISO v80
    ============================================================
    
    ============================================================
    Checking UUP Info . . .
    ============================================================
    
    ============================================================
    Configured Options . . .
    ============================================================
    
    AutoStart 1
    AddUpdates 1
    
    ============================================================
    Parsing Apps CompDB . . .
    ============================================================
    
    
    ============================================================
    Preparing Reference ESDs . . .
    ============================================================
    
    Microsoft-OneCore-ApplicationModel-Sync-Desktop-FOD-Package-amd64
    Microsoft-OneCore-DirectX-Database-FOD-Package-amd64_ac8dc93b
    Microsoft-Windows-Ethernet-Client-Intel-E1i68x64-FOD-Package-amd64_ab5f710b
    Microsoft-Windows-Ethernet-Client-Intel-E2f68-FOD-Package-amd64
    Microsoft-Windows-Ethernet-Client-Realtek-Rtcx21x64-FOD-Package-amd64_fcfbcbff
    Microsoft-Windows-Ethernet-Client-Vmware-Vmxnet3-FOD-Package-amd64
    Microsoft-Windows-FoDMetadata-Package
    Microsoft-Windows-Hello-Face-Package-amd64
    Microsoft-Windows-InternetExplorer-Optional-Package-amd64_485407e2
    Microsoft-Windows-Kernel-LA57-FoD-Package-amd64
    Microsoft-Windows-LanguageFeatures-Basic-en-us-Package-amd64_a81b69a1
    Microsoft-Windows-LanguageFeatures-Handwriting-en-us-Package-amd64
    Microsoft-Windows-LanguageFeatures-OCR-en-us-Package-amd64_fa3135f2
    Microsoft-Windows-LanguageFeatures-Speech-en-us-Package-amd64_cd33817f
    Microsoft-Windows-LanguageFeatures-TextToSpeech-en-us-Package-amd64
    Microsoft-Windows-MediaPlayer-Package-amd64_6bc13638
    Microsoft-Windows-MediaPlayer-Package-wow64
    Microsoft-Windows-Notepad-System-FoD-Package-amd64_874541ad
    Microsoft-Windows-Notepad-System-FoD-Package-wow64
    Microsoft-Windows-PowerShell-ISE-FOD-Package-amd64_ae9b46e1
    Microsoft-Windows-PowerShell-ISE-FOD-Package-wow64_f6298a1a
    Microsoft-Windows-Printing-PMCPPC-FoD-Package-amd64_0ae213d3
    Microsoft-Windows-StepsRecorder-Package-amd64_5ce16bac
    Microsoft-Windows-StepsRecorder-Package-wow64
    Microsoft-Windows-TabletPCMath-Package-amd64
    Microsoft-Windows-Wallpaper-Content-Extended-FoD-Package-amd64_73e6e55a
    Microsoft-Windows-Wifi-Client-Broadcom-Bcmpciedhd63-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Broadcom-Bcmwl63a-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Broadcom-Bcmwl63al-FOD-Package-amd64_be6b4d3b
    Microsoft-Windows-Wifi-Client-Intel-Netwbw02-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Intel-Netwew00-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Intel-Netwew01-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Intel-Netwlv64-FOD-Package-amd64_be2713da
    Microsoft-Windows-Wifi-Client-Intel-Netwns64-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Intel-Netwsw00-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Intel-Netwtw02-FOD-Package-amd64_a92ae6da
    Microsoft-Windows-Wifi-Client-Intel-Netwtw04-FOD-Package-amd64_983086f4
    Microsoft-Windows-Wifi-Client-Intel-Netwtw06-FOD-Package-amd64_13d74245
    Microsoft-Windows-Wifi-Client-Intel-Netwtw08-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Intel-Netwtw10-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Marvel-Mrvlpcie8897-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Qualcomm-Athw8x-FOD-Package-amd64_3a997f10
    Microsoft-Windows-Wifi-Client-Qualcomm-Athwnx-FOD-Package-amd64_3558270d
    Microsoft-Windows-Wifi-Client-Qualcomm-Qcamain10x64-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Ralink-Netr28x-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Realtek-Rtl8187se-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Realtek-Rtl8192se-FOD-Package-amd64_e0e34e7e
    Microsoft-Windows-Wifi-Client-Realtek-Rtl819xp-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Realtek-Rtl85n64-FOD-Package-amd64_bdbc1268
    Microsoft-Windows-Wifi-Client-Realtek-Rtwlane-FOD-Package-amd64_f06d813d
    Microsoft-Windows-Wifi-Client-Realtek-Rtwlane01-FOD-Package-amd64_1a2057e5
    Microsoft-Windows-Wifi-Client-Realtek-Rtwlane13-FOD-Package-amd64_fdab4d4f
    Microsoft-Windows-WMIC-FoD-Package-amd64
    Microsoft-Windows-WMIC-FoD-Package-wow64
    Microsoft-Windows-WordPad-FoD-Package-amd64
    Microsoft-Windows-WordPad-FoD-Package-wow64_403236c4
    OpenSSH-Client-Package-amd64
    
    ============================================================
    Creating Setup Media Layout . . .
    ============================================================
    
    
    ============================================================
    Creating install.wim . . .
    ============================================================
    
    Using LZX compression with 16 threads
    Archiving file data: 6628 MiB of 6628 MiB (100%) done
    
    ============================================================
    Creating Cumulative Update MSU . . .
    ============================================================
    
    Extracting required files...
    
    Creating: DesktopDeployment_x86.cab
    
    Creating: onepackage.AggregatedMetadata.cab
    
    Creating: Windows10.0-KB5015039-x64.msu
    
    ============================================================
    Updating install.wim / 1 image(s) . . .
    ============================================================
    
    1/5: Windows10.0-KB5015039-x64.msu [Combined UUP]
    2/5: SSU-25120.1010-x64.cab [SSU]
    3/5: Windows10.0-KB5015040-x64.cab
    4/5: Windows10.0-KB5015041-x64.cab [WinPE]
    5/5: Windows10.0-KB5015042-x64.cab [Setup DU]
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Adding Apps . . .
    
    Microsoft.NET.Native.Framework.x64.1.3
    Microsoft.NET.Native.Framework.x64.1.7
    Microsoft.NET.Native.Framework.x64.2.2
    Microsoft.NET.Native.Runtime.x64.1.4
    Microsoft.NET.Native.Runtime.x64.1.7
    Microsoft.NET.Native.Runtime.x64.2.2
    Microsoft.UI.Xaml.x64.2.1
    Microsoft.UI.Xaml.x64.2.3
    Microsoft.UI.Xaml.x64.2.4
    Microsoft.UI.Xaml.x64.2.7
    Microsoft.VCLibs.x64.14.00
    Microsoft.VCLibs.x64.14.00.Desktop
    Microsoft.WindowsStore_8wekyb3d8bbwe
    Microsoft.StorePurchaseApp_8wekyb3d8bbwe
    microsoft.windowscommunicationsapps_8wekyb3d8bbwe
    Microsoft.People_8wekyb3d8bbwe
    Microsoft.BingNews_8wekyb3d8bbwe
    Microsoft.BingWeather_8wekyb3d8bbwe
    Microsoft.MicrosoftSolitaireCollection_8wekyb3d8bbwe
    Microsoft.ZuneMusic_8wekyb3d8bbwe
    Microsoft.ZuneVideo_8wekyb3d8bbwe
    Microsoft.WindowsAlarms_8wekyb3d8bbwe
    Microsoft.WindowsCalculator_8wekyb3d8bbwe
    Microsoft.WindowsNotepad_8wekyb3d8bbwe
    Microsoft.WindowsTerminal_8wekyb3d8bbwe
    Microsoft.WindowsFeedbackHub_8wekyb3d8bbwe
    Microsoft.GetHelp_8wekyb3d8bbwe
    Microsoft.WindowsSoundRecorder_8wekyb3d8bbwe
    Microsoft.MicrosoftOfficeHub_8wekyb3d8bbwe
    Microsoft.ScreenSketch_8wekyb3d8bbwe
    Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe
    Microsoft.Todos_8wekyb3d8bbwe
    Microsoft.XboxSpeechToTextOverlay_8wekyb3d8bbwe
    Microsoft.GamingApp_8wekyb3d8bbwe
    Microsoft.XboxGameOverlay_8wekyb3d8bbwe
    Microsoft.XboxGamingOverlay_8wekyb3d8bbwe
    Microsoft.XboxIdentityProvider_8wekyb3d8bbwe
    Microsoft.Xbox.TCUI_8wekyb3d8bbwe
    Microsoft.Getstarted_8wekyb3d8bbwe
    Microsoft.Windows.Photos_8wekyb3d8bbwe
    Microsoft.WindowsMaps_8wekyb3d8bbwe
    Microsoft.PowerAutomateDesktop_8wekyb3d8bbwe
    Microsoft.WindowsCamera_8wekyb3d8bbwe
    Microsoft.DesktopAppInstaller_8wekyb3d8bbwe
    Microsoft.Paint_8wekyb3d8bbwe
    Microsoft.WebMediaExtensions_8wekyb3d8bbwe
    Microsoft.RawImageExtension_8wekyb3d8bbwe
    Microsoft.HEIFImageExtension_8wekyb3d8bbwe
    Microsoft.HEVCVideoExtension_8wekyb3d8bbwe
    Microsoft.VP9VideoExtensions_8wekyb3d8bbwe
    Microsoft.WebpImageExtension_8wekyb3d8bbwe
    MicrosoftWindows.Client.WebExperience_cw5n1h2txyewy
    Microsoft.SecHealthUI_8wekyb3d8bbwe
    Clipchamp.Clipchamp_yxz26nhyzhsrt
    MicrosoftCorporationII.QuickAssist_8wekyb3d8bbwe
    Microsoft.YourPhone_8wekyb3d8bbwe
    Microsoft.549981C3F5F10_8wekyb3d8bbwe
    MicrosoftCorporationII.MicrosoftFamily_8wekyb3d8bbwe
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Saving image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Adding Updates . . .
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Image Version: 10.0.25120.1000
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_1010~31bf3856ad364e35~amd64~~25120.1010.1.1
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_1010 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Image Version: 10.0.25120.1000
    
    Processing 1 of 1 - Adding package Package_for_KB5015040~31bf3856ad364e35~amd64~~25120.1010.1.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Windows10.0-KB5015039-x64.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Image Version: 10.0.25120.1000
    
    Processing 1 of 1 -
    [==========================100.0%==========================]
    [==========================100.0%==========================] The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Image File : C:\Users\Enthousiast\Downloads\Compressed\uup-converter-wimlib-80_2\ISOFOLDER\sources\install.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    "ISOFOLDER\sources\install.wim" original size: 3365980 KiB
    Using LZX compression with 16 threads
    Archiving file data: 7828 MiB of 7828 MiB (100%) done
    "ISOFOLDER\sources\install.wim" optimized size: 3310125 KiB
    Space saved: 55855 KiB
    
    ============================================================
    Adding setup dynamic update(s) . . .
    ============================================================
    
    Windows10.0-KB5015042-x64.cab
    
    ============================================================
    Creating winre.wim . . .
    ============================================================
    
    Using LZX compression with 16 threads
    Archiving file data: 1179 MiB of 1179 MiB (100%) done
    
    ============================================================
    Updating winre.wim / 1 image(s) . . .
    ============================================================
    
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Image Version: 10.0.25120.1000
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_1010~31bf3856ad364e35~amd64~~25120.1010.1.1
    [==========================100.0%==========================]
    The changes due to package Package_for_ServicingStack_1010 requires the current servicing session to be reloaded.
    All the packages will be processed again.
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Image Version: 10.0.25120.1000
    
    Processing 1 of 1 - Adding package Package_for_KB5015041~31bf3856ad364e35~amd64~~25120.1010.1.2
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Saving image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Image Version: 10.0.25120.1000
    
    Processing 1 of 1 - Adding package Package_for_KB5015040~31bf3856ad364e35~amd64~~25120.1010.1.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Windows10.0-KB5015039-x64.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Image Version: 10.0.25120.1000
    
    Processing 1 of 1 -
    [==========================100.0%==========================]
    [==========================100.0%==========================] C:\Users\Enthousiast\Downloads\Compressed\uup-converter-wimlib-80_2\UUPs\Windows10.0-KB5015039-x64.msu: An error occurred applying the Unattend.xml file from the .msu package.
    For more information, review the log file.
     Error: 0x80073712
    
    Error: 14098
    
    The component store has been corrupted.
    
    The DISM log file can be found at C:\Windows\Logs\DISM\DismLCU_winpe.log
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Image Version: 10.0.25120.1000
    
    [=============              23.6%                          ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    
    Image File : C:\Users\Enthousiast\Downloads\Compressed\uup-converter-wimlib-80_2\temp\winre.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Using LZX compression with 16 threads
    Archiving file data: 1257 MiB of 1257 MiB (100%) done
    
    ============================================================
    Adding winre.wim to install.wim . . .
    ============================================================
    
    
    ============================================================
    Creating boot.wim . . .
    ============================================================
    
    "ISOFOLDER\sources\boot.wim" original size: 581981 KiB
    Using LZX compression with 16 threads
    Archiving file data: 1435 MiB of 1435 MiB (100%) done
    "ISOFOLDER\sources\boot.wim" optimized size: 555039 KiB
    Space saved: 26942 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 (945 files in 86 directories)
    
    Computing directory information complete
    
    Image file is 4717182976 bytes (before optimization)
    
    Writing 945 files in 86 directories to 25120.1010.220515-0210.RS_PRERELEASE_FLT_CLIENTPRO_OEMRET_X64FRE_EN-US.ISO
    
    100% complete
    
    Storage optimization saved 24 files, 14135296 bytes (1% of image)
    
    After optimization, image file is 4705179648 bytes
    Space saved because of embedding, sparseness or optimization = 14135296
    
    Done.
    Finished.
    
    
    ============================================================
    Removing temporary files . . .
    ============================================================
    
    Press 0 to exit.
    
    
    Logs are uploaded at the usual place:)
     
  3. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,791
    340
    @Enthousiast

    Yes, i didn't change anything in that regard :)
    if the issue still persist in next 25120 updates or later builds, i will adjust the winre.wim updating procedure
     
  4. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,679
    103,522
    450
  5. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,942
    4,167
    60
    #1925 Paul Mercer, May 25, 2022
    Last edited: May 25, 2022
    @abbodi1406 something is wrong with apps integration
    I was trying to create 25120.1000 ISO from 25120.1010 UUP set with AddUpdates=0 option, 4 EN-US indexes are Home, HomeN, Pro, ProN

    Code:
    ============================================================
    Running UUP -> ISO v80
    ============================================================
    
    ============================================================
    Checking UUP Info . . .
    ============================================================
    
    ============================================================
    Configured Options . . .
    ============================================================
    
    AutoStart 1
    
    ============================================================
    Parsing Apps CompDB . . .
    ============================================================
    
    
    ============================================================
    Preparing Reference ESDs . . .
    ============================================================
    
    Microsoft-OneCore-ApplicationModel-Sync-Desktop-FOD-Package-amd64
    Microsoft-OneCore-DirectX-Database-FOD-Package-amd64_ac8dc93b
    Microsoft-Windows-Ethernet-Client-Intel-E1i68x64-FOD-Package-amd64_ab5f710b
    Microsoft-Windows-Ethernet-Client-Intel-E2f68-FOD-Package-amd64
    Microsoft-Windows-Ethernet-Client-Realtek-Rtcx21x64-FOD-Package-amd64_fcfbcbff
    Microsoft-Windows-Ethernet-Client-Vmware-Vmxnet3-FOD-Package-amd64
    Microsoft-Windows-FoDMetadata-Package
    Microsoft-Windows-Hello-Face-Package-amd64
    Microsoft-Windows-InternetExplorer-Optional-Package-amd64_485407e2
    Microsoft-Windows-Kernel-LA57-FoD-Package-amd64
    Microsoft-Windows-LanguageFeatures-Basic-en-us-Package-amd64_a81b69a1
    Microsoft-Windows-LanguageFeatures-Handwriting-en-us-Package-amd64
    Microsoft-Windows-LanguageFeatures-OCR-en-us-Package-amd64_fa3135f2
    Microsoft-Windows-LanguageFeatures-Speech-en-us-Package-amd64_cd33817f
    Microsoft-Windows-LanguageFeatures-TextToSpeech-en-us-Package-amd64
    Microsoft-Windows-MediaPlayer-Package-amd64_6bc13638
    Microsoft-Windows-MediaPlayer-Package-wow64
    Microsoft-Windows-Notepad-System-FoD-Package-amd64_874541ad
    Microsoft-Windows-Notepad-System-FoD-Package-wow64
    Microsoft-Windows-PowerShell-ISE-FOD-Package-amd64_ae9b46e1
    Microsoft-Windows-PowerShell-ISE-FOD-Package-wow64_f6298a1a
    Microsoft-Windows-Printing-PMCPPC-FoD-Package-amd64_0ae213d3
    Microsoft-Windows-StepsRecorder-Package-amd64_5ce16bac
    Microsoft-Windows-StepsRecorder-Package-wow64
    Microsoft-Windows-TabletPCMath-Package-amd64
    Microsoft-Windows-Wallpaper-Content-Extended-FoD-Package-amd64_73e6e55a
    Microsoft-Windows-Wifi-Client-Broadcom-Bcmpciedhd63-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Broadcom-Bcmwl63a-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Broadcom-Bcmwl63al-FOD-Package-amd64_be6b4d3b
    Microsoft-Windows-Wifi-Client-Intel-Netwbw02-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Intel-Netwew00-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Intel-Netwew01-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Intel-Netwlv64-FOD-Package-amd64_be2713da
    Microsoft-Windows-Wifi-Client-Intel-Netwns64-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Intel-Netwsw00-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Intel-Netwtw02-FOD-Package-amd64_a92ae6da
    Microsoft-Windows-Wifi-Client-Intel-Netwtw04-FOD-Package-amd64_983086f4
    Microsoft-Windows-Wifi-Client-Intel-Netwtw06-FOD-Package-amd64_13d74245
    Microsoft-Windows-Wifi-Client-Intel-Netwtw08-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Intel-Netwtw10-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Marvel-Mrvlpcie8897-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Qualcomm-Athw8x-FOD-Package-amd64_3a997f10
    Microsoft-Windows-Wifi-Client-Qualcomm-Athwnx-FOD-Package-amd64_3558270d
    Microsoft-Windows-Wifi-Client-Qualcomm-Qcamain10x64-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Ralink-Netr28x-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Realtek-Rtl8187se-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Realtek-Rtl8192se-FOD-Package-amd64_e0e34e7e
    Microsoft-Windows-Wifi-Client-Realtek-Rtl819xp-FOD-Package-amd64
    Microsoft-Windows-Wifi-Client-Realtek-Rtl85n64-FOD-Package-amd64_bdbc1268
    Microsoft-Windows-Wifi-Client-Realtek-Rtwlane-FOD-Package-amd64_f06d813d
    Microsoft-Windows-Wifi-Client-Realtek-Rtwlane01-FOD-Package-amd64_1a2057e5
    Microsoft-Windows-Wifi-Client-Realtek-Rtwlane13-FOD-Package-amd64_fdab4d4f
    Microsoft-Windows-WMIC-FoD-Package-amd64
    Microsoft-Windows-WMIC-FoD-Package-wow64
    Microsoft-Windows-WordPad-FoD-Package-amd64
    Microsoft-Windows-WordPad-FoD-Package-wow64_403236c4
    OpenSSH-Client-Package-amd64
    
    ============================================================
    Creating Setup Media Layout . . .
    ============================================================
    
    
    ============================================================
    Creating install.wim . . .
    ============================================================
    
    Using LZX compression with 8 threads
    Archiving file data: 6586 MiB of 6586 MiB (100%) done
    Using LZX compression with 8 threads
    Archiving file data: 198 MiB of 198 MiB (100%) done
    Using LZX compression with 8 threads
    Archiving file data: 245 MiB of 245 MiB (100%) done
    Using LZX compression with 8 threads
    Archiving file data: 185 MiB of 185 MiB (100%) done
    
    ============================================================
    Creating Cumulative Update MSU . . .
    ============================================================
    
    Extracting required files...
    
    Creating: DesktopDeployment_x86.cab
    
    Creating: onepackage.AggregatedMetadata.cab
    
    Creating: Windows10.0-KB5015039-x64.msu
    
    ============================================================
    Updating install.wim / 4 image(s) . . .
    ============================================================
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Adding Apps . . .
    
    Microsoft.NET.Native.Framework.x64.1.3
    Microsoft.NET.Native.Framework.x64.1.7
    Microsoft.NET.Native.Framework.x64.2.2
    Microsoft.NET.Native.Runtime.x64.1.4
    Microsoft.NET.Native.Runtime.x64.1.7
    Microsoft.NET.Native.Runtime.x64.2.2
    Microsoft.UI.Xaml.x64.2.1
    Microsoft.UI.Xaml.x64.2.3
    Microsoft.UI.Xaml.x64.2.4
    Microsoft.UI.Xaml.x64.2.7
    Microsoft.VCLibs.x64.14.00
    Microsoft.VCLibs.x64.14.00.Desktop
    Microsoft.WindowsStore_8wekyb3d8bbwe
    Microsoft.StorePurchaseApp_8wekyb3d8bbwe
    microsoft.windowscommunicationsapps_8wekyb3d8bbwe
    Microsoft.People_8wekyb3d8bbwe
    Microsoft.BingNews_8wekyb3d8bbwe
    Microsoft.BingWeather_8wekyb3d8bbwe
    Microsoft.MicrosoftSolitaireCollection_8wekyb3d8bbwe
    Microsoft.ZuneMusic_8wekyb3d8bbwe
    Microsoft.ZuneVideo_8wekyb3d8bbwe
    Microsoft.WindowsAlarms_8wekyb3d8bbwe
    Microsoft.WindowsCalculator_8wekyb3d8bbwe
    Microsoft.WindowsNotepad_8wekyb3d8bbwe
    Microsoft.WindowsTerminal_8wekyb3d8bbwe
    Microsoft.WindowsFeedbackHub_8wekyb3d8bbwe
    Microsoft.GetHelp_8wekyb3d8bbwe
    Microsoft.WindowsSoundRecorder_8wekyb3d8bbwe
    Microsoft.MicrosoftOfficeHub_8wekyb3d8bbwe
    Microsoft.ScreenSketch_8wekyb3d8bbwe
    Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe
    Microsoft.Todos_8wekyb3d8bbwe
    Microsoft.XboxSpeechToTextOverlay_8wekyb3d8bbwe
    Microsoft.GamingApp_8wekyb3d8bbwe
    Microsoft.XboxGameOverlay_8wekyb3d8bbwe
    Microsoft.XboxGamingOverlay_8wekyb3d8bbwe
    Microsoft.XboxIdentityProvider_8wekyb3d8bbwe
    Microsoft.Xbox.TCUI_8wekyb3d8bbwe
    Microsoft.Getstarted_8wekyb3d8bbwe
    Microsoft.Windows.Photos_8wekyb3d8bbwe
    Microsoft.WindowsMaps_8wekyb3d8bbwe
    Microsoft.PowerAutomateDesktop_8wekyb3d8bbwe
    Microsoft.WindowsCamera_8wekyb3d8bbwe
    Microsoft.DesktopAppInstaller_8wekyb3d8bbwe
    Microsoft.Paint_8wekyb3d8bbwe
    Microsoft.WebMediaExtensions_8wekyb3d8bbwe
    Microsoft.RawImageExtension_8wekyb3d8bbwe
    Microsoft.HEIFImageExtension_8wekyb3d8bbwe
    Microsoft.HEVCVideoExtension_8wekyb3d8bbwe
    Microsoft.VP9VideoExtensions_8wekyb3d8bbwe
    Microsoft.WebpImageExtension_8wekyb3d8bbwe
    MicrosoftWindows.Client.WebExperience_cw5n1h2txyewy
    Microsoft.SecHealthUI_8wekyb3d8bbwe
    Clipchamp.Clipchamp_yxz26nhyzhsrt
    MicrosoftCorporationII.QuickAssist_8wekyb3d8bbwe
    Microsoft.YourPhone_8wekyb3d8bbwe
    Microsoft.549981C3F5F10_8wekyb3d8bbwe
    MicrosoftCorporationII.MicrosoftFamily_8wekyb3d8bbwe
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image File : E:\uup-converter-wimlib-80\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.22000.653
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Adding Apps . . .
    
    Microsoft.NET.Native.Framework.x64.1.3
    Microsoft.NET.Native.Framework.x64.1.7
    Microsoft.NET.Native.Framework.x64.2.2
    Microsoft.NET.Native.Runtime.x64.1.4
    Microsoft.NET.Native.Runtime.x64.1.7
    Microsoft.NET.Native.Runtime.x64.2.2
    Microsoft.UI.Xaml.x64.2.1
    Microsoft.UI.Xaml.x64.2.3
    Microsoft.UI.Xaml.x64.2.4
    Microsoft.UI.Xaml.x64.2.7
    Microsoft.VCLibs.x64.14.00
    Microsoft.VCLibs.x64.14.00.Desktop
    Microsoft.WindowsStore_8wekyb3d8bbwe
    Microsoft.StorePurchaseApp_8wekyb3d8bbwe
    microsoft.windowscommunicationsapps_8wekyb3d8bbwe
    Microsoft.People_8wekyb3d8bbwe
    Microsoft.BingNews_8wekyb3d8bbwe
    Microsoft.BingWeather_8wekyb3d8bbwe
    Microsoft.MicrosoftSolitaireCollection_8wekyb3d8bbwe
    Microsoft.WindowsAlarms_8wekyb3d8bbwe
    Microsoft.WindowsCalculator_8wekyb3d8bbwe
    Microsoft.WindowsNotepad_8wekyb3d8bbwe
    Microsoft.WindowsTerminal_8wekyb3d8bbwe
    Microsoft.WindowsFeedbackHub_8wekyb3d8bbwe
    Microsoft.GetHelp_8wekyb3d8bbwe
    Microsoft.MicrosoftOfficeHub_8wekyb3d8bbwe
    Microsoft.ScreenSketch_8wekyb3d8bbwe
    Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe
    Microsoft.SecHealthUI_8wekyb3d8bbwe
    Microsoft.XboxSpeechToTextOverlay_8wekyb3d8bbwe
    Microsoft.XboxGameOverlay_8wekyb3d8bbwe
    Microsoft.XboxIdentityProvider_8wekyb3d8bbwe
    Microsoft.Getstarted_8wekyb3d8bbwe
    Microsoft.Windows.Photos_8wekyb3d8bbwe
    Microsoft.WindowsMaps_8wekyb3d8bbwe
    Microsoft.PowerAutomateDesktop_8wekyb3d8bbwe
    Microsoft.WindowsCamera_8wekyb3d8bbwe
    Microsoft.DesktopAppInstaller_8wekyb3d8bbwe
    Microsoft.Paint_8wekyb3d8bbwe
    Microsoft.549981C3F5F10_8wekyb3d8bbwe
    Microsoft.YourPhone_8wekyb3d8bbwe
    MicrosoftWindows.Client.WebExperience_cw5n1h2txyewy
    Microsoft.Todos_8wekyb3d8bbwe
    Clipchamp.Clipchamp_yxz26nhyzhsrt
    MicrosoftCorporationII.QuickAssist_8wekyb3d8bbwe
    MicrosoftCorporationII.MicrosoftFamily_8wekyb3d8bbwe
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image File : E:\uup-converter-wimlib-80\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.22000.653
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.25120.1000
    
    Starting to update components...
    Starting to install product key...
    Finished installing product key.
    
    Adding package Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.25120.1000
    [==========================100.0%==========================]
    Finished updating components.
    
    Starting to apply edition-specific settings...
    Finished applying edition-specific settings.
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.25120.1000
    
    Starting to update components...
    Starting to install product key...
    Finished installing product key.
    
    Adding package Microsoft-Windows-ProfessionalNEdition~31bf3856ad364e35~amd64~~10.0.25120.1000
    [==========================100.0%==========================]
    Finished updating components.
    
    Starting to apply edition-specific settings...
    Finished applying edition-specific settings.
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Adding Apps . . .
    
    Microsoft.NET.Native.Framework.x64.1.3
    Microsoft.NET.Native.Framework.x64.1.7
    Microsoft.NET.Native.Framework.x64.2.2
    Microsoft.NET.Native.Runtime.x64.1.4
    Microsoft.NET.Native.Runtime.x64.1.7
    Microsoft.NET.Native.Runtime.x64.2.2
    Microsoft.UI.Xaml.x64.2.1
    Microsoft.UI.Xaml.x64.2.3
    Microsoft.UI.Xaml.x64.2.4
    Microsoft.UI.Xaml.x64.2.7
    Microsoft.VCLibs.x64.14.00
    Microsoft.VCLibs.x64.14.00.Desktop
    Microsoft.WindowsStore_8wekyb3d8bbwe
    Microsoft.StorePurchaseApp_8wekyb3d8bbwe
    microsoft.windowscommunicationsapps_8wekyb3d8bbwe
    Microsoft.People_8wekyb3d8bbwe
    Microsoft.BingNews_8wekyb3d8bbwe
    Microsoft.BingWeather_8wekyb3d8bbwe
    Microsoft.MicrosoftSolitaireCollection_8wekyb3d8bbwe
    Microsoft.WindowsAlarms_8wekyb3d8bbwe
    Microsoft.WindowsCalculator_8wekyb3d8bbwe
    Microsoft.WindowsNotepad_8wekyb3d8bbwe
    Microsoft.WindowsTerminal_8wekyb3d8bbwe
    Microsoft.WindowsFeedbackHub_8wekyb3d8bbwe
    Microsoft.GetHelp_8wekyb3d8bbwe
    Microsoft.MicrosoftOfficeHub_8wekyb3d8bbwe
    Microsoft.ScreenSketch_8wekyb3d8bbwe
    Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe
    Microsoft.SecHealthUI_8wekyb3d8bbwe
    Microsoft.XboxSpeechToTextOverlay_8wekyb3d8bbwe
    Microsoft.XboxGameOverlay_8wekyb3d8bbwe
    Microsoft.XboxIdentityProvider_8wekyb3d8bbwe
    Microsoft.Getstarted_8wekyb3d8bbwe
    Microsoft.Windows.Photos_8wekyb3d8bbwe
    Microsoft.WindowsMaps_8wekyb3d8bbwe
    Microsoft.PowerAutomateDesktop_8wekyb3d8bbwe
    Microsoft.WindowsCamera_8wekyb3d8bbwe
    Microsoft.DesktopAppInstaller_8wekyb3d8bbwe
    Microsoft.Paint_8wekyb3d8bbwe
    Microsoft.549981C3F5F10_8wekyb3d8bbwe
    Microsoft.YourPhone_8wekyb3d8bbwe
    MicrosoftWindows.Client.WebExperience_cw5n1h2txyewy
    Microsoft.Todos_8wekyb3d8bbwe
    Clipchamp.Clipchamp_yxz26nhyzhsrt
    MicrosoftCorporationII.QuickAssist_8wekyb3d8bbwe
    MicrosoftCorporationII.MicrosoftFamily_8wekyb3d8bbwe
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image File : E:\uup-converter-wimlib-80\ISOFOLDER\sources\install.wim
    Image Index : 2
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    "ISOFOLDER\sources\install.wim" original size: 3410000 KiB
    Using LZX compression with 8 threads
    Archiving file data: 7900 MiB of 7900 MiB (100%) done
    "ISOFOLDER\sources\install.wim" optimized size: 3216775 KiB
    Space saved: 193225 KiB
    
    ============================================================
    Creating winre.wim . . .
    ============================================================
    
    Using LZX compression with 8 threads
    Archiving file data: 1179 MiB of 1179 MiB (100%) done
    
    ============================================================
    Adding winre.wim to install.wim . . .
    ============================================================
    
    
    ============================================================
    Creating boot.wim . . .
    ============================================================
    
    
    ============================================================
    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 (945 files in 86 directories)
    
    Computing directory information complete
    
    Image file is 4531519488 bytes (before optimization)
    
    Writing 945 files in 86 directories to 25120.1000.220513-1346.RS_PRERELEASE_CLIENTMULTI_X64FRE_EN-US.ISO
    
    100% complete
    
    Storage optimization saved 24 files, 14135296 bytes (1% of image)
    
    After optimization, image file is 4519540736 bytes
    Space saved because of embedding, sparseness or optimization = 14135296
    
    Done.
    Finished.
    
    Press 0 to exit.

    "Adding Apps" section repeats 3 times

    edit: "Removing package Microsoft-Windows-CoreEdition.." is missing in log, is it ok?
    Code:
    Adding package Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.25120.1000
    [==========================100.0%==========================]
    Finished updating components.
    Code:
    Adding package Microsoft-Windows-ProfessionalNEdition~31bf3856ad364e35~amd64~~10.0.25120.1000
    [==========================100.0%==========================]
    Finished updating components.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,791
    340
  7. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,942
    4,167
    60
    @abbodi1406 thank you
    also small issue with W10UI v10.18: it extracts SSU from MSU file as Windows11.0-KB5015043-x64.cab file
    naming scheme is wrong, but it seems like it installs correctly
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    #1928 inTerActionVRI, May 25, 2022
    Last edited: May 26, 2022
    @abbodi1406,

    I was right now, looking at the changes you had made ... in the V80 not in today's Fix V80f.

    I thought my suggestion was optimized ...

    Now that I understand your line of reasoning.

    And I had a broader view of how you structure your code.

    In this your way it became much more optimized. I learned a lot only from this modification and optimization. Very, very cool.
     
  9. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    #1929 inTerActionVRI, May 26, 2022
    Last edited: May 26, 2022
    @abbodi1406,

    Is there any way to prevent the integration of the following components (MSPaint FoD (cab), WordPad FoD (cab) and Retaildemo Component) directly on convert-up?

    Perhaps using findstr /I /V "MSPaint WordPad RetailDemo" in some loop, even tried but there was an export error. I suppose it was because of any checks in some Manifest or Metadata list.
     
  10. Muggaen

    Muggaen MDL Addicted

    Dec 30, 2011
    746
    329
    30
    Is this new fix 80f implented on uup dump dl site?
     
  11. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,942
    4,167
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,791
    340
    Yes, it has the same build 22563+ check for file naming as uup converter
    will be fixed in next version

    p.s. it's side fixed here:
    https://github.com/abbodi1406/BatUtil/raw/master/W10UI/W10UI.cmd
     
  13. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,791
    340
    No
    creating install.wim require all the default preinstalled FOD files
    the conversion process just assemble the uup files into wim file, it doesn't modify it
     
  14. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    So... The only way is just by adding a Remove-Package command.

    Thnks!


    Another suggestion:
    in :uups_dir and :uups_cab, you can optimize from:
    Code:
    echo %~1| find /i "RetailDemo" %_Nul1% && exit /b
    echo %~1| find /i "Holographic-Desktop-FOD" %_Nul1% && exit /b
    echo %~1| find /i "Windows10.0-KB" %_Nul1% && exit /b
    echo %~1| find /i "Windows11.0-KB" %_Nul1% && exit /b
    echo %~1| find /i "SSU-" %_Nul1% && exit /b
    
    to:
    Code:
    echo %~1| findstr.exe /I /V "RetailDemo Holographic-Desktop-FOD MSPaint-FoD WordPad-FoD Windows10.0-KB Windows11.0-KB SSU-" %_Nul1% || exit /b
    
    This way, if it finds any of the terms it will perform exit /b.


    This below way, I dont know if works:
    Code:
    echo %~1| findstr.exe /I "RetailDemo Holographic-Desktop-FOD MSPaint-FoD WordPad-FoD Windows10.0-KB Windows11.0-KB SSU-" %_Nul1% && exit /b
    
    It seems that this works if it finds all the terms in the value analyzed. I'm not sure.
     
  15. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,791
    340
    This would work, but i didn't have the guts to replace it, because current code just works
    Code:
    echo %~1| findstr /i /r "Windows.*-KB SSU-.* RetailDemo Holographic-Desktop-FOD" %_Nul1% && exit /b
     
  16. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    Should be only SSU- or SSU-*

    I will certainly make use of the argument /R. I had not seen it, so I didn't use *, in the Findstr command. I simply thought that only the literal search occurred. After all, the very name of the program is Find Strings, hehehehe
     
  17. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,791
    340
    /r = regular expression pattern
    . = Wildcard: any character
    * = Repeat: zero or more occurrences
     
  18. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    #1938 inTerActionVRI, May 26, 2022
    Last edited: May 26, 2022
    We end up incurring this thought, due to the usual, in search of file names, in which we use "*.*". I always had this as an asterisk for the name and the other for extension. Already the point, in this case would be the separator.

    So... I considered the "dot" literally, too. My mistake.
     
  19. 正义羊

    正义羊 MDL Senior Member

    Feb 21, 2016
    258
    152
    10
    @abbodi1406 , when I try to use multi_arch_iso.cmd , I see this program has crashed.

    This problem start you updated this program, multi_arch_iso.cmd.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. Paul Mercer

    Paul Mercer MDL Expert

    Apr 6, 2018
    1,942
    4,167
    60
    Same here, but it works if it runs as Admin
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...