abbodi1406's Batch Scripts Repo

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

  1. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,651
    3,398
    60
    1.9mb DismLCU_winpe.zip
     
  2. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,921
    340
    uup-converter v75 updated

    - Fixed: adding Windows 11 Cumulative Update MSU for boot.wim can fail due cleanup after adding SafeOS DU for winre.wim

    the issue could also be avoided if LCUwinre option is enabled

    thanks @inTerActionVRI for notifying and @Enthousiast for testing the fix
     
  3. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,651
    3,398
    60
    Tested and confirmed. Everything is OK!

    Code:
    ============================================================
    Running UUP -> ISO v75
    ============================================================
    
    ============================================================
    Checking UUP Info . . .
    ============================================================
    
    ============================================================
    Configured Options . . .
    ============================================================
    
    AutoStart 1
    AddUpdates 1
    NetFx3
    
    ============================================================
    Preparing Reference ESDs . . .
    ============================================================
    
    Microsoft-OneCore-ApplicationModel-Sync-Desktop-FOD-Package~31bf3856ad364e35~amd64~~_850080cc
    Microsoft-OneCore-DirectX-Database-FOD-Package~31bf3856ad364e35~amd64~~_c7f6ef82
    Microsoft-Windows-Ethernet-Client-Intel-E1i68x64-FOD-Package~31bf3856ad364e35~amd64~~_40bf4b2a
    Microsoft-Windows-Ethernet-Client-Intel-E2f68-FOD-Package~31bf3856ad364e35~amd64~~_9fff1a1f
    Microsoft-Windows-Ethernet-Client-Realtek-Rtcx21x64-FOD-Package~31bf3856ad364e35~amd64~~_18640bd6
    Microsoft-Windows-Hello-Face-Package~31bf3856ad364e35~amd64~~_4eef75eb
    Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~~_e13add66
    Microsoft-Windows-Kernel-LA57-FoD-Package~31bf3856ad364e35~amd64~~_a9d2e850
    Microsoft-Windows-LanguageFeatures-Basic-pt-br-Package~31bf3856ad364e35~amd64~~_b9a0ad08
    Microsoft-Windows-LanguageFeatures-Handwriting-pt-br-Package~31bf3856ad364e35~amd64~~_16e76e0a
    Microsoft-Windows-LanguageFeatures-OCR-pt-br-Package~31bf3856ad364e35~amd64~~_8f6756ff
    Microsoft-Windows-LanguageFeatures-Speech-pt-br-Package~31bf3856ad364e35~amd64~~_d38befd1
    Microsoft-Windows-LanguageFeatures-TextToSpeech-pt-br-Package~31bf3856ad364e35~amd64~~_cd09288c
    Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~amd64~~_782da79f
    Microsoft-Windows-Notepad-System-FoD-Package~31bf3856ad364e35~amd64~~_601a35f8
    Microsoft-Windows-PowerShell-ISE-FOD-Package~31bf3856ad364e35~amd64~~_54d99a41
    Microsoft-Windows-Printing-PMCPPC-FoD-Package~31bf3856ad364e35~amd64~~_a9f1d71d
    Microsoft-Windows-Printing-WFS-FoD-Package~31bf3856ad364e35~amd64~~_18374f01
    Microsoft-Windows-QuickAssist-Package~31bf3856ad364e35~amd64~~_3f507f42
    Microsoft-Windows-StepsRecorder-Package~31bf3856ad364e35~amd64~~_6c7db53c
    Microsoft-Windows-TabletPCMath-Package~31bf3856ad364e35~amd64~~_b0048556
    Microsoft-Windows-UserExperience-Desktop-Package~31bf3856ad364e35~amd64~~_caad76cb
    Microsoft-Windows-Wifi-Client-Broadcom-Bcmpciedhd63-FOD-Package~31bf3856ad364e35~amd64~~_96f73f39
    Microsoft-Windows-Wifi-Client-Broadcom-Bcmwl63a-FOD-Package~31bf3856ad364e35~amd64~~_520cb141
    Microsoft-Windows-Wifi-Client-Broadcom-Bcmwl63al-FOD-Package~31bf3856ad364e35~amd64~~_b1b198ac
    Microsoft-Windows-Wifi-Client-Intel-Netwbw02-FOD-Package~31bf3856ad364e35~amd64~~_33dfe12d
    Microsoft-Windows-Wifi-Client-Intel-Netwew00-FOD-Package~31bf3856ad364e35~amd64~~_dcc43699
    Microsoft-Windows-Wifi-Client-Intel-Netwew01-FOD-Package~31bf3856ad364e35~amd64~~_886d8d94
    Microsoft-Windows-Wifi-Client-Intel-Netwlv64-FOD-Package~31bf3856ad364e35~amd64~~_34ec06e8
    Microsoft-Windows-Wifi-Client-Intel-Netwns64-FOD-Package~31bf3856ad364e35~amd64~~_d2582c6e
    Microsoft-Windows-Wifi-Client-Intel-Netwsw00-FOD-Package~31bf3856ad364e35~amd64~~_e2140f20
    Microsoft-Windows-Wifi-Client-Intel-Netwtw02-FOD-Package~31bf3856ad364e35~amd64~~_a2d75be3
    Microsoft-Windows-Wifi-Client-Intel-Netwtw04-FOD-Package~31bf3856ad364e35~amd64~~_f7cccd71
    Microsoft-Windows-Wifi-Client-Intel-Netwtw06-FOD-Package~31bf3856ad364e35~amd64~~_d0fbd171
    Microsoft-Windows-Wifi-Client-Intel-Netwtw08-FOD-Package~31bf3856ad364e35~amd64~~_df8f7442
    Microsoft-Windows-Wifi-Client-Marvel-Mrvlpcie8897-FOD-Package~31bf3856ad364e35~amd64~~_9b9b5890
    Microsoft-Windows-Wifi-Client-Qualcomm-Athw8x-FOD-Package~31bf3856ad364e35~amd64~~_c4a7ffd3
    Microsoft-Windows-Wifi-Client-Qualcomm-Athwnx-FOD-Package~31bf3856ad364e35~amd64~~_71b1aeb5
    Microsoft-Windows-Wifi-Client-Qualcomm-Qcamain10x64-FOD-Package~31bf3856ad364e35~amd64~~_2a408c8d
    Microsoft-Windows-Wifi-Client-Ralink-Netr28x-FOD-Package~31bf3856ad364e35~amd64~~_2c8f6f3b
    Microsoft-Windows-Wifi-Client-Realtek-Rtl8187se-FOD-Package~31bf3856ad364e35~amd64~~_7c5bfed2
    Microsoft-Windows-Wifi-Client-Realtek-Rtl8192se-FOD-Package~31bf3856ad364e35~amd64~~_02916dd9
    Microsoft-Windows-Wifi-Client-Realtek-Rtl819xp-FOD-Package~31bf3856ad364e35~amd64~~_d34ee42e
    Microsoft-Windows-Wifi-Client-Realtek-Rtl85n64-FOD-Package~31bf3856ad364e35~amd64~~_e05ed434
    Microsoft-Windows-Wifi-Client-Realtek-Rtwlane-FOD-Package~31bf3856ad364e35~amd64~~_101e067d
    Microsoft-Windows-Wifi-Client-Realtek-Rtwlane01-FOD-Package~31bf3856ad364e35~amd64~~_e1badf1c
    Microsoft-Windows-Wifi-Client-Realtek-Rtwlane13-FOD-Package~31bf3856ad364e35~amd64~~_2044b039
    Microsoft-Windows-WordPad-FoD-Package~31bf3856ad364e35~amd64~~_b3d612ae
    OpenSSH-Client-Package~31bf3856ad364e35~amd64~~_012fc547
    
    ============================================================
    Creating Setup Media Layout . . .
    ============================================================
    
    
    ============================================================
    Creating install.wim . . .
    ============================================================
    
    Using LZX compression with 8 threads
    Archiving file data: 7277 MiB of 7277 MiB (100%) done
    Using LZX compression with 8 threads
    Archiving file data: 247 MiB of 247 MiB (100%) done
    
    ============================================================
    Creating Cumulative Update MSU . . .
    ============================================================
    
    LCU KB5007262 msu file already exist, skip operation.
    
    ============================================================
    Updating install.wim / 2 image(s) . . .
    ============================================================
    
    1/5: Windows10.0-KB5007262-x64.msu [Combined UUP]
    2/5: SSU-22000.345-x64_17966151.cab [SSU]
    3/5: Windows10.0-KB5007268-x64_8c6c1a5b.cab [Setup DU]
    4/5: Windows10.0-KB5007400-x64_3bda4aa2.cab [WinPE]
    5/5: Windows10.0-KB5007575-x64_28e206f7.cab
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22000.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_345~31bf3856ad364e35~amd64~~22000.345.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22000.1
    
    Processing 1 of 1 - Adding package Package_for_KB5007575~31bf3856ad364e35~amd64~~22000.345.1.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Windows10.0-KB5007262-x64.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22000.1
    
    Processing 1 of 1 - Install
    [==========================100.0%==========================] The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22000.348
    
    Enabling feature(s)
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image File : B:\aboddi1406\22000.348_amd64_pt-br_multi_6dedc052_convert\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.19041.844
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22000.348
    
    Pended operations ignored. When this image is next booted, these operations will be processed.
    Starting to update components...
    Starting to install product key...
    Finished installing product key.
    
    Adding package Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.22000.1
    Adding package Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.22000.348
    Removing package Microsoft-Windows-CoreEdition~31bf3856ad364e35~amd64~~10.0.22000.1
    Removing package Microsoft-Windows-CoreEdition~31bf3856ad364e35~amd64~~10.0.22000.348
    [==========================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.19041.844
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    "ISOFOLDER\sources\install.wim" original size: 4669526 KiB
    Using LZX compression with 8 threads
    Archiving file data: 10 GiB of 10 GiB (100%) done
    "ISOFOLDER\sources\install.wim" optimized size: 4541437 KiB
    Space saved: 128088 KiB
    
    ============================================================
    Adding setup dynamic update(s) . . .
    ============================================================
    
    Windows10.0-KB5007268-x64_8c6c1a5b.cab
    
    ============================================================
    Creating winre.wim . . .
    ============================================================
    
    Using LZX compression with 8 threads
    Archiving file data: 1072 MiB of 1072 MiB (100%) done
    
    ============================================================
    Updating winre.wim / 1 image(s) . . .
    ============================================================
    
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22000.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_345~31bf3856ad364e35~amd64~~22000.345.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22000.1
    
    Processing 1 of 1 - Adding package Package_for_KB5007400~31bf3856ad364e35~amd64~~22000.341.1.3
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Saving image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Windows10.0-KB5007262-x64.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22000.132
    
    Processing 1 of 1 - Install
    [==========================100.0%==========================] The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image Version: 10.0.22000.348
    
    [====================       35.3%                          ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    
    Image File : B:\aboddi1406\22000.348_amd64_pt-br_multi_6dedc052_convert\temp\winre.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Using LZX compression with 8 threads
    Archiving file data: 1181 MiB of 1181 MiB (100%) done
    
    ============================================================
    Adding winre.wim to install.wim . . .
    ============================================================
    
    
    ============================================================
    Creating boot.wim . . .
    ============================================================
    
    "ISOFOLDER\sources\boot.wim" original size: 772612 KiB
    Using LZX compression with 8 threads
    Archiving file data: 1230 MiB of 1230 MiB (100%) done
    "ISOFOLDER\sources\boot.wim" optimized size: 516437 KiB
    Space saved: 256175 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 42 directories)
    Scanning source tree complete (936 files in 85 directories)
    
    Computing directory information complete
    
    Image file is 5946179584 bytes (before optimization)
    
    Writing 936 files in 85 directories to 22000.348.211116-1352.CO_RELEASE_SVC_PROD3_CLIENTMULTI_X64FRE_PT-BR.ISO
    
    100% complete
    
    Storage optimization saved 23 files, 14211072 bytes (1% of image)
    
    After optimization, image file is 5934094336 bytes
    Space saved because of embedding, sparseness or optimization = 14211072
    
    Done.
    Finished.
    
    
    ============================================================
    Removing temporary files . . .
    ============================================================
    
    Press 0 to exit.
    

    Thnks, guys!
     
  4. armond

    armond MDL Addicted

    Jun 16, 2008
    734
    235
    30
     
  5. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,921
    340
    No workaround i know
     
  6. itoiea

    itoiea MDL Novice

    Mar 2, 2021
    4
    2
    0
  7. example12345678912345678

    example12345678912345678 MDL Senior Member

    Dec 29, 2019
    498
    232
    10
    #1767 example12345678912345678, Dec 20, 2021
    Last edited: Dec 20, 2021
    I don't know why, but the script doesn't work.
    It simply says:
    Code:
    Finished
    
    Press any key to exit.
    
    But the file I need is not there. I've used the following files:
    Code:
    Microsoft-Windows-EditionSpecific-EnterpriseGN-Package.cab
    Microsoft-Windows-EditionSpecific-EnterpriseGN-Package.psf
    I think you need to update the "PSFX Repack" script.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,921
    340
    You need to use the ready ESD file

    baseless Packages (not updates) do not contain update.mum
    so the script skip it

    you can delete this line if you want
    Code:
    if not exist "%_tmp%\update.mum" exit /b
     
  9. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,921
    340
    PSFX Repack v6

    - Use powershell instead wmic on build 22483 or later
    - Skip update.mum check
     
  10. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,921
    340
    #1770 abbodi1406, Dec 22, 2021
    Last edited: Aug 11, 2023
    (OP)
    # PSFX MSU Maker

    - Standalone command script to create Windows 11 LCU MSU file out of the UUP update files

    ## Requirements
    Code:
    - Mandatory  : LCU cab and psf files
    - Mandatory  : *.AggregatedMetadata cab file
    - Mandatory  : DesktopDeployment cab file or SSU cab file
    - Recommended: DesktopDeployment cab file and SSU cab file
    - Optional   : DesktopDeployment_x86.cab file
    example:
    Code:
    886fa207-124a-4633-9f08-438f1c614f28.AggregatedMetadata.cab
    DesktopDeployment.cab
    SSU-22000.345-x64.cab
    Windows10.0-KB5007262-x64.cab
    Windows10.0-KB5007262-x64.psf

    ## Usage
    - Extract this package zip file to a folder with a simple path

    - Copy or move the needed files next to the script, then run PSFX2MSU.cmd

    - Alternatively from command prompt, run the script and provide path to the folder containing the files

    example:
    Code:
    PSFX2MSU.cmd E:\Downloads\uup-converter\UUPs
    - The result msu file will be located in the same source folder (current or provided)

    example:
    Code:
    Windows10.0-KB5007262-x64.msu

    ## Remarks
    - To install the created msu on live OS, you must use command line tool DISM.exe
    you cannot install it normally by launching the msu itself directly

    example:
    Code:
    DISM /Online /Add-Package=E:\Downloads\uup-converter\UUPs\Windows10.0-KB5007262-x64.msu
    - The script do not require administrator privileges
    however, if you get Access Denied errors, run it as administrator

    - DesktopDeployment.cab and DesktopDeployment_x86.cab will be constructed, if not provided

    - If DesktopDeployment_x86.cab is not provided or creation failed, the result msu can be used as follows:

    x64 msu: installed on live OS only, or require x64 Host OS to add msu for x64 image

    arm64 msu: installed on live OS only, or require arm64 Host OS to add msu for arm64 image

    - The script can create MSU only for one LCU at a time (based on AggregatedMetadata.cab)

    - Advanced: edit the script to change the manual option IncludeSSU or enable debug mode _Debug

    - Difference with uup-converter MSU creator:
    uup-converter can construct DesktopDeployment files from install.wim (if SSU not available/provided)

    ## Download

    v3
    https://github.com/abbodi1406/WHD/raw/master/scripts/PSFX_MSU_3.zip
    https://download.ru/files/YDS5soh8
    https://pixeldrain.com/u/o4LgJ2hw

    v2
    https://github.com/abbodi1406/WHD/raw/master/scripts/PSFX_MSU_2.zip
    https://download.ru/files/nFpNMXCb
     
  11. BELNN

    BELNN MDL Member

    Apr 2, 2016
    103
    70
    10
    Greetings. What could be the mistake?
    Code:
    ============================================================
    Running UUP -> ISO v75
    ============================================================
    
    ============================================================
    Checking UUP Info . . .
    ============================================================
    
    ============================================================
    Configured Options . . .
    ============================================================
    
    AddUpdates 1
    Cleanup
    ResetBase
    LCUwinre
    
    ============================================================
    Preparing Reference ESDs . . .
    ============================================================
    
    Microsoft-OneCore-ApplicationModel-Sync-Desktop-FOD-Package~31bf3856ad364e35~amd64~~
    Microsoft-OneCore-DirectX-Database-FOD-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-Ethernet-Client-Intel-E1i68x64-FOD-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-Ethernet-Client-Intel-E2f68-FOD-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-Ethernet-Client-Realtek-Rtcx21x64-FOD-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-Hello-Face-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-Kernel-LA57-FoD-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-LanguageFeatures-Basic-en-us-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-LanguageFeatures-Basic-ru-ru-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-LanguageFeatures-Handwriting-ru-ru-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-LanguageFeatures-OCR-en-us-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-LanguageFeatures-OCR-ru-ru-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-LanguageFeatures-TextToSpeech-ru-ru-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-Notepad-System-FoD-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-PowerShell-ISE-FOD-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-Printing-PMCPPC-FoD-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-Printing-WFS-FoD-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-QuickAssist-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-StepsRecorder-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-TabletPCMath-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-UserExperience-Desktop-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-Wifi-Client-Broadcom-Bcmpciedhd63-FOD-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-Wifi-Client-Broadcom-Bcmwl63a-FOD-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-Wifi-Client-Broadcom-Bcmwl63al-FOD-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-Wifi-Client-Intel-Netwbw02-FOD-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-Wifi-Client-Intel-Netwew00-FOD-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-Wifi-Client-Intel-Netwew01-FOD-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-Wifi-Client-Intel-Netwlv64-FOD-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-Wifi-Client-Intel-Netwns64-FOD-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-Wifi-Client-Intel-Netwsw00-FOD-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-Wifi-Client-Intel-Netwtw02-FOD-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-Wifi-Client-Intel-Netwtw04-FOD-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-Wifi-Client-Intel-Netwtw06-FOD-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-Wifi-Client-Intel-Netwtw08-FOD-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-Wifi-Client-Marvel-Mrvlpcie8897-FOD-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-Wifi-Client-Qualcomm-Athw8x-FOD-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-Wifi-Client-Qualcomm-Athwnx-FOD-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-Wifi-Client-Qualcomm-Qcamain10x64-FOD-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-Wifi-Client-Ralink-Netr28x-FOD-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-Wifi-Client-Realtek-Rtl8187se-FOD-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-Wifi-Client-Realtek-Rtl8192se-FOD-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-Wifi-Client-Realtek-Rtl819xp-FOD-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-Wifi-Client-Realtek-Rtl85n64-FOD-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-Wifi-Client-Realtek-Rtwlane-FOD-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-Wifi-Client-Realtek-Rtwlane01-FOD-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-Wifi-Client-Realtek-Rtwlane13-FOD-Package~31bf3856ad364e35~amd64~~
    Microsoft-Windows-WordPad-FoD-Package~31bf3856ad364e35~amd64~~
    OpenSSH-Client-Package~31bf3856ad364e35~amd64~~
    
    ============================================================
    Creating Setup Media Layout . . .
    ============================================================
    
    
    ============================================================
    Creating install.wim . . .
    ============================================================
    
    Using LZX compression with 2 threads
    Archiving file data: 7352 MiB of 7352 MiB (100%) done
    
    ============================================================
    Creating Cumulative Update MSU . . .
    ============================================================
    
    Creating: onepackage.AggregatedMetadata.cab
    
    Creating: Windows10.0-KB5008215-x64.msu
    
    ============================================================
    Updating install.wim / 1 image(s) . . .
    ============================================================
    
    1/6: Windows10.0-KB5008215-x64.msu [Combined UUP]
    2/6: SSU-22000.345-x64.cab [SSU]
    3/6: Windows10.0-KB5007268-x64.cab [Setup DU]
    4/6: Windows10.0-KB5007292-x64-NDP48.cab [NetFx]
    5/6: Windows10.0-KB5007400-x64.cab [WinPE]
    6/6: Windows10.0-KB5007575-x64.cab
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.1
    
    Image Version: 10.0.22000.1
    
    Processing 1 of 1 - Adding package Package_for_ServicingStack_345~31bf3856ad364e35~amd64~~22000.345.1.0
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.1
    
    Image Version: 10.0.22000.1
    
    Processing 1 of 2 - Adding package Package_for_DotNetRollup~31bf3856ad364e35~amd64~~10.0.4455.1
    [==========================100.0%==========================]
    Processing 2 of 2 - Adding package Package_for_KB5007575~31bf3856ad364e35~amd64~~22000.345.1.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.1
    
    Image Version: 10.0.22000.1
    
    An error occurred trying to open - C:\W10UIuup\Windows10.0-KB5008215-x64\update.mum Error: 0x80070002
    
    Error: 2
    
    The system cannot find the file specified.
    
    The DISM log file can be found at C:\Windows\Logs\DISM\DismLCU.log
    
    Windows10.0-KB5008215-x64.msu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.1
    
    Image Version: 10.0.22000.1
    
    Processing 1 of 1 - Install
    C:\uup-converter-wimlib-75u\UUPs\Windows10.0-KB5008215-x64.msu: An error occurred applying the Unattend.xml file from the .msu package.
    For more information, review the log file.
     Error: 0x800700c1
    
    Error: 193
    
    %1 is not a valid Win32 application.
    
    The DISM log file can be found at C:\Windows\Logs\DISM\DismLCU.log
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.1
    
    Image File : C:\uup-converter-wimlib-75u\ISOFOLDER\sources\install.wim
    Image Index : 1
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.1
    
    
    Error: 50
    
    The request is not supported.
    
    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.1
    
    
    Error: 50
    
    The request is not supported.
    
    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
    
    "ISOFOLDER\sources\install.wim" original size: 3021777 KiB
    Using LZX compression with 2 threads
    Archiving file data: 7352 MiB of 7352 MiB (100%) done
    "ISOFOLDER\sources\install.wim" optimized size: 3021777 KiB
    Space saved: 0 KiB
    
    ============================================================
    Adding setup dynamic update(s) . . .
    ============================================================
    
    Windows10.0-KB5007268-x64.cab
    
    ============================================================
    Creating winre.wim . . .
    ============================================================
    
    Using LZX compression with 2 threads
    Archiving file data: 33 MiB of 1083 MiB (3%) done
    
     
  12. adric

    adric MDL Expert

    Jul 30, 2009
    1,255
    1,327
    60
    I can't remember for sure, but when servicing an offline image with w10UI using set Cleanup=1 and set ResetBase=1, is it correct that superseded files are only compressed and not deleted?
     
  13. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,921
    340
    For 18362 and later, superseded files by LCU are removed, superseded files by other updates are compressed

    for pre 18362, all superseded files are removed
     
  14. rentay

    rentay MDL Junior Member

    Dec 30, 2013
    88
    17
    0
    I am wanting to use w10ui to integrate updates for Windows 10 Enterprise LTSC 2021

    I’ve looked through the forums and haven’t found any information regarding which options to enable or disable: .net 3.5/cleanup system image etc

    What are the recommendations?
     
  15. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,921
    340
    The meaning of those options? explained in W10UI-ReadMe.txt

    recommendation?
    enable all three Net35, Cleanup, ResetBase
     
  16. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,921
    340
    #1776 abbodi1406, Jan 3, 2022
    Last edited: Jan 3, 2022
    (OP)
    Would it worth to include XAudio 2.9 redistributable?
    https://www.nuget.org/packages/Microsoft.XAudio2.Redist/

    i managed to create a simple INF-based installer (with uninstall ability)

    the Managed DirectX assemblies will have separate installer/uninstaller entry (still in the same pack), for better portability
    or should i merge it with main installer?
     
  17. shhnedo

    shhnedo MDL Expert

    Mar 20, 2011
    1,676
    2,225
    60
    Probably will be, as there's no reasonable way of knowing all applications that require it and then the ones that don't, so having it available makes the repack much more universal and it's not like such a runtime will take up crucial resources.

    However you see fit.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. armond

    armond MDL Addicted

    Jun 16, 2008
    734
    235
    30
    Hello@abbodi1406, So people are suggesting ideas. What about newer .NET Desktop Runtime?
    Code:
    https://dotnet.microsoft.com/en-us/download/dotnet/5.0/runtime
    (Or maybe even v6.)
    Is it possible to make script for that?
    Thank you.
     
  19. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,921
    340
    Script to make it lite or repack installer? it's similar to VC++14 installer (WiX wrapper for msi packages)

    is Desktop Runtime the most relevant? or others are needed?
     
  20. armond

    armond MDL Addicted

    Jun 16, 2008
    734
    235
    30
    A combined x86 and x64 repack installer I say.
    Well. I think just the desktop runtime should be enough. At least this is what I have to use and keep updated. So all the MSI packages in WindowsDesktop-Runtime-5.0.13-win-x64.exe and WindowsDesktop-Runtime-5.0.13-win-x86.exe.
    Hopefully it's easy to do. Thanks for considering.