MSMG ToolKit

Discussion in 'MDL Projects and Applications' started by MSMG, Nov 21, 2013.

  1. spidernz

    spidernz MDL Senior Member

    Joined:
    May 20, 2011
    Messages:
    371
    Likes Received:
    103
    Trophy Points:
    10
    @MSMG

    is there a way to remove edge (chrome version)completely?

    Also is there a reason powershell cannot be removed
    I've tried:
    Code:
    %DISMX64% /Image:%MOUNT% /Remove-Package /Microsoft-Windows-PowerShell-ISE-FOD-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    %DISMX64% /Image:%MOUNT% /Remove-Package /Microsoft-Windows-PowerShell-ISE-FOD-Package~31bf3856ad364e35~wow64~~10.0.19041.1   
    %DISMX64% /Image:%MOUNT% /Remove-Package /Microsoft-Windows-PowerShell-ISE-FOD-Package~31bf3856ad364e35~amd64~en-GB~10.0.19041.1
    %DISMX64% /Image:%MOUNT% /Remove-Package /Microsoft-Windows-PowerShell-ISE-FOD-Package~31bf3856ad364e35~wow64~en-GB~10.0.19041.1
    
     
  2. MSMG

    MSMG MDL Developer

    Joined:
    Jul 15, 2011
    Messages:
    5,430
    Likes Received:
    11,396
    Trophy Points:
    180
    #17843 MSMG, Dec 18, 2020
    Last edited: Dec 18, 2020
    (OP)
    1) Fixed it, you can close the window and reopen it, the Toolkit will un-mount the mounted images.

    You can also do the correction to the script using notepad

    Code:
    :WIMManager
    cls
    echo.===============================================================================
    echo.                          MSMG ToolKit - WIM Manager
    echo.===============================================================================
    echo.
    
    :: Checking whether Source is Applied.
    if "%IsSourceSelected%" equ "Yes" (
        echo.Can't use this feature when the Source OS is selected...
        echo.
        echo.===============================================================================
        echo.
        pause
        goto :ToolsMenu
    )
    2) It's just the typo error in error message, it will be corrected.

    Code:
    ===============================================================================
      MSMG ToolKit - Integrate WHD General Updates to Windows Setup Install Image
    ===============================================================================
    
    WHD General Updates folder <WHD\w10\x64\10.0.19041\Cumulative> is empty...
    
    Please copy WHD General Updates to respective folder...
    
    ===============================================================================
    
    Press any key to continue . . .
    
     
  3. MSMG

    MSMG MDL Developer

    Joined:
    Jul 15, 2011
    Messages:
    5,430
    Likes Received:
    11,396
    Trophy Points:
    180
    You can, just use a 19041.1 image and add the updates using the Integrate WHD Updates menu and when asked "Do you want to skip integrating Edge Chromium", choose yes it will remove the Edge Chromium packages while integrating the Enablement package.

    You can remove PowerShell but I just don't do it.

     
  4. spidernz

    spidernz MDL Senior Member

    Joined:
    May 20, 2011
    Messages:
    371
    Likes Received:
    103
    Trophy Points:
    10
    #17845 spidernz, Dec 18, 2020
    Last edited: Dec 18, 2020
    Edge:
    so use 20H2 v1 and not v2?
    Or are you meaning 2004?

    Powershell:
    how do you remove powershell?

    I've tried with dism doesn't work.
    do you have removal already built in to toolkithelper?
     
  5. Feartamixg

    Feartamixg MDL Addicted

    Joined:
    May 15, 2016
    Messages:
    555
    Likes Received:
    423
    Trophy Points:
    30
    No, the option Integrate .NET Framework 3.5 (Windows converter only) was not selected.

    Based on what you have said, it seems it is better to live with the Pending.xml bugs. I am frustrated at myself for not spotting this earlier.
     
  6. zero cool root

    zero cool root MDL Senior Member

    Joined:
    Jun 17, 2011
    Messages:
    298
    Likes Received:
    89
    Trophy Points:
    10
    Yes. Always..!!
     
  7. MSMG

    MSMG MDL Developer

    Joined:
    Jul 15, 2011
    Messages:
    5,430
    Likes Received:
    11,396
    Trophy Points:
    180
    Use 20H1 (2004) 19041.1 + latest SSU + CU + 19042 Enablement Package = 19042 (20H2)

    You need to use the Toolkit's WHD Update Pack integration menu and choose Skip integrating Edge Chromium when asked.

    I haven't removed but you can remove it, the below package just adds the PowerShell GUI Editor and not the PowerShell it self.

    Microsoft-Windows-PowerShell-ISE-FOD-Package~31bf3856ad364e35

    These are the other packages related to PowerShell

    Code:
    HyperV-Host-Compute-PowerShell-Module-merged-Package~31bf3856ad364e35~
    HyperV-Host-Compute-PowerShell-Module-Package~31bf3856ad364e35~
    Microsoft-Windows-msmq-powershell-Opt-Package~31bf3856ad364e35~
    Microsoft-Windows-msmq-powershell-Opt-WOW64-Package~31bf3856ad364e35~
    Microsoft-Windows-PowerShell-ISE-FOD-Package~31bf3856ad364e35~
    Microsoft-Windows-PowerShell-V2-Client-Package~31bf3856ad364e35~
    
     
  8. MSMG

    MSMG MDL Developer

    Joined:
    Jul 15, 2011
    Messages:
    5,430
    Likes Received:
    11,396
    Trophy Points:
    180
    It's not a bug but rather it is the way some Windows packages are staged to be installed at first boot.

    You can avoid this by using 19041.1 ISO + latest SSU + CU + 19042 Enablement Package = 19042 (20H2)

    You need to use the Toolkit's WHD Update Pack integration menu and choose Skip integrating Edge Chromium when asked.

    This will allow to do the cleanup and again doing it will cause the Ghost SFC error.

     
  9. MSMG

    MSMG MDL Developer

    Joined:
    Jul 15, 2011
    Messages:
    5,430
    Likes Received:
    11,396
    Trophy Points:
    180
  10. Tiger-1

    Tiger-1 MDL Guru

    Joined:
    Oct 18, 2014
    Messages:
    6,206
    Likes Received:
    7,532
    Trophy Points:
    210
    hmm, the way the "things" go the way is to be quiet and use only the W10 LTSC and wait for the next version ...
     
  11. Feartamixg

    Feartamixg MDL Addicted

    Joined:
    May 15, 2016
    Messages:
    555
    Likes Received:
    423
    Trophy Points:
    30
    It sounds as though the best solution is just to live with the Pending.xml and use the UUP Dump ISO. Will resume testing later today.
     
  12. tefor

    tefor MDL Senior Member

    Joined:
    Apr 5, 2017
    Messages:
    266
    Likes Received:
    212
    Trophy Points:
    10
    Version 11 gives pending .xml error while integrating latest CU for LTSC 2019 although i did not enable .netfx35
    I made the same experiment with previous version 10.9 , it did not give pending .xml error
     
  13. zero cool root

    zero cool root MDL Senior Member

    Joined:
    Jun 17, 2011
    Messages:
    298
    Likes Received:
    89
    Trophy Points:
    10
    #17854 zero cool root, Dec 18, 2020
    Last edited: Dec 18, 2020
    @MSMG

    It would be possible to remove the items below using the RemovePkgsList.txt..??

    OneConnect
    MPEG2VideoExtension

    These items are not in the Template file

    Thanks in Advance..!!
     
  14. spidernz

    spidernz MDL Senior Member

    Joined:
    May 20, 2011
    Messages:
    371
    Likes Received:
    103
    Trophy Points:
    10
    No for 20H2 i had to move the folders from x64\10.0.19041 to x64\
    for the toolkit to detect

    now when i try use 2004 it can't detect in either place.
    get this error:

    Code:
    ===============================================================================
                       MSMG ToolKit - Integrate WHD General Updates
                    to Windows Setup Boot, Install & Recovery Images
    ===============================================================================
    
    WHD General Updates folder <WHD\w10\x64\Cumulative> is empty...
    
    Please copy WHD General Updates to respective folder...
    
    ===============================================================================
    
    Press any key to continue . . .
     
  15. MSMG

    MSMG MDL Developer

    Joined:
    Jul 15, 2011
    Messages:
    5,430
    Likes Received:
    11,396
    Trophy Points:
    180
    The only change made to WHD Updates integration was to use separate folders for each Windows 10 version
    and to use updated Feature Enablement Pack for v20H1.

    Will check to see if anything else is writing pending.xml.

    Can you post the steps you followed, features added or components removed?

     
  16. MSMG

    MSMG MDL Developer

    Joined:
    Jul 15, 2011
    Messages:
    5,430
    Likes Received:
    11,396
    Trophy Points:
    180
    Microsoft has removed OneConnect starting with Windows 10 v2004 .

    MPEG2VideoExtension is not available with any of the retail or MSDN Windows 10 images, it's only available to OEM partners.

     
  17. MSMG

    MSMG MDL Developer

    Joined:
    Jul 15, 2011
    Messages:
    5,430
    Likes Received:
    11,396
    Trophy Points:
    180
    #17858 MSMG, Dec 18, 2020
    Last edited: Dec 18, 2020
    (OP)
    For v1903 and v1909 the <\WHD\w10\10.0.18362\x64> is used and for v2004 and v20H2 the <\WHD\w10\
    10.0.19041\x64> is used for integration.

    The code to assign this path has been added in the script

    Code:
    :: Settings WHD Baseline Updates folder path
    if "%SelectedSourceOS%" equ "w81" set "Updates=%WHD%\%SelectedSourceOS%\%ImageArchitecture%\Baseline"
    if "%SelectedSourceOS%" equ "w10" (
        if "%ImageBuild%" neq "18363" if "%ImageBuild%" neq "19042" set "Updates=%WHD%\%SelectedSourceOS%\%ImageArchitecture%\%ImageBuild%"
        if "%ImageBuild%" equ "18363" set "Updates=%WHD%\%SelectedSourceOS%\%ImageArchitecture%\10.0.18362"
        if "%ImageBuild%" equ "19042" set "Updates=%WHD%\%SelectedSourceOS%\%ImageArchitecture%\10.0.19041"
    )
    
    But when checking for the update files the error message didn't show the correct path, which has been fixed now.

    Code:
    :: Windows 10
    if "%SelectedSourceOS%" equ "w10" if not exist "%Updates%\Cumulative\*.msu" if not exist "%Updates%\Cumulative\*.cab" (
        if "%ImageBuild%" neq "18363" if "%ImageBuild%" neq "19042" echo.WHD General Updates folder ^<WHD\w10\%ImageArchitecture%\%ImageBuild%\Cumulative^> is empty...
        if "%ImageBuild%" equ "18363" echo.WHD General Updates folder ^<WHD\w10\%ImageArchitecture%\10.0.18362\Cumulative^> is empty...
        if "%ImageBuild%" equ "19042" echo.WHD General Updates folder ^<WHD\w10\%ImageArchitecture%\10.0.19041\Cumulative^> is empty...
        echo.
        echo.Please copy WHD General Updates to respective folder...
        goto :Stop
    )
    
    The Toolkit checks only for the Cumulative update as other updates are optional.


    Code:
    ===============================================================================
      MSMG ToolKit - Integrate WHD General Updates to Windows Setup Install Image
    ===============================================================================
    
    -------------------------------------------------------------------------------
    ##################Starting Integrating WHD General Updates#####################
    ######################to Windows Setup Install Image###########################
    -------------------------------------------------------------------------------
    
        Image                    : Install.wim
        Image Index              : 1
        Image Architecture       : x64
        Image Version            : 10.0.19042.685.0
    
    -------------------------------------------------------------------------------
    ####Processing WHD General Updates Packages####################################
    -------------------------------------------------------------------------------
    
    Creating WHD General Updates Temporary folder...
    
    Extracting .CAB Package files to Temporary folder...
    
    Finished Extracting .CAB Package files to Temporary folder...
    
    -------------------------------------------------------------------------------
    ####Integrating WHD General Updates to Windows Setup Install Image#############
    -------------------------------------------------------------------------------
    
    ===========================[Install.wim, Index : 1]============================
    
    -------------------------------------------------------------------------------
    Integrating Windows 10 Cumulative Update to Install Image...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.20279.1
    
    Image Version: 10.0.19042.685
    
    Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~19041.685.1.6
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Generating WHD General Updates Integration Log File...
    -------------------------------------------------------------------------------
    
    Writing WHD General Updates Integration Log.
    
    -------------------------------------------------------------------------------
    ####Cleaning Up Temporary files & Folders######################################
    -------------------------------------------------------------------------------
    
    Cleaning Up WHD General Updates Temporary folder.
    
    -------------------------------------------------------------------------------
    ##################Finished Integrating WHD General Updates#####################
    ######################to Windows Setup Install Image###########################
    -------------------------------------------------------------------------------
    
    ===============================================================================
    
    Press any key to continue . . .
    
    

     
  18. zero cool root

    zero cool root MDL Senior Member

    Joined:
    Jun 17, 2011
    Messages:
    298
    Likes Received:
    89
    Trophy Points:
    10
  19. MSMG

    MSMG MDL Developer

    Joined:
    Jul 15, 2011
    Messages:
    5,430
    Likes Received:
    11,396
    Trophy Points:
    180