MSMG ToolKit

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

  1. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    Integrate SSU first and then other updates or use the WHD updates method.

     
  2. WerewolfofWaldorf

    WerewolfofWaldorf MDL Novice

    Jan 20, 2021
    8
    0
    0
    Is it common for getting "target invocation exceptions" when trying to remove any features or anything from an image? I have been repeatedly getting various "system.reflection.targetinvocationexception" errors, with "system is unauthorized to access path" kind of errors for everything I'm trying to remove.

    Is this due to personal security settings on my computer? I'm running Toolkig 11.3.7, using the recent 20H2 image, and running it in administrative mode.
     
  3. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    6,209
    7,533
    210
    ok thanks Master ;):doh:
     
  4. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    - Make sure the pre-requisite .NET Framework 4.8 is installed.
    - Keep the Toolkit folder path shorter and avoid Users folder.
    - Run the Toolkit using Start.cmd

     
  5. Abhitemp9

    Abhitemp9 MDL Novice

    Aug 14, 2018
    14
    3
    0
    @MSMG

    I am trying to customize Win 10 Pro 1809 using the Toolkit.cmd v11.3 with fixes updated on 4th March 2021.

    I used 17763.1.180914 as the base ISO and integrated the following features:
    Code:
    [2]   Integrate
    [3]   Windows Features
    
    [B]   Microsoft .NET Framework 4.8
    [C]   Microsoft .NET 5
    [M]   Windows PowerShell 7.1
    [N]   Open Secure Shell (SSH) Client & Server
    [R]   Microsoft DirectX 9.0c
    [U]   Microsoft Visual C++ Runtime
    
    After successfully integrating the above features, I proceeded to integrate the WHD updates.

    I have the following update files in the ToolKit_v11.3\WHD\w10\x64\10.0.17763 folder
    Code:
    Windows10.0-KB4486153-x64-NDP48.msu                                    : Microsoft .NET 4.8 Framework
    windows10.0-kb4577586-x64_d0f434327db9e3308b86591c248c825c03687632.msu : Adobe Flash Player Removal
    Windows10.0-KB4601383-x64.msu                                          : Cumulative Update
    Windows10.0-KB4601393-x64.msu                                          : Servicing Stack Update
    Windows10.0-KB4601555-x64-NDP48.msu                                    : Cumulative Update for .NET Framework
    
    I use the following menu options to apply the update:
    Code:
    [2]   Integrate
    [4]   Windows Updates
    [2]   Integrate WHD Update Pack
    [1]   Integrate WHD General Updates
    [4]   Integrate to Windows Setup Boot, Install & Recovery Image
    
    At the end of the operation, I get the following errors:
    Code:
    ERROR: Invalid key name.
    Type "REG QUERY /?" for usage.
    ERROR: Invalid key name.
    Type "REG QUERY /?" for usage.
    
    Could you please check the above error.

    The on-screen text is as follows:
    Code:
    ===============================================================================
                       MSMG ToolKit - Integrate WHD General Updates
                    to Windows Setup Boot, Install & Recovery Images
    ===============================================================================
    
    -------------------------------------------------------------------------------
    ##################Starting Integrating WHD General Updates#####################
    ##############to Windows Setup Boot, Install & Recovery Images#################
    -------------------------------------------------------------------------------
    
        Image                    : Boot.wim         |  Install.wim   |  WinRE.wim
        Image Index              : 1, 2             |      1         |      1
        Image Architecture       : x64
        Image Version            : 10.0.17763.1.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 Boot Image################
    -------------------------------------------------------------------------------
    
    =============================[Boot.wim, Index : 1]=============================
    
    =============================[Boot.wim, Index : 2]=============================
    
    -------------------------------------------------------------------------------
    ####Integrating WHD General Updates to Windows Setup Install Image#############
    -------------------------------------------------------------------------------
    
    ===========================[Install.wim, Index : 1]============================
    
    -------------------------------------------------------------------------------
    ####Integrating WHD General Updates to Windows Setup Recovery Image############
    -------------------------------------------------------------------------------
    
    =====================[Install.wim, Index : 1 -> WinRE.wim]=====================
    
    -------------------------------------------------------------------------------
    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 Boot, Install & Recovery Images#################
    -------------------------------------------------------------------------------
    
    ===============================================================================
    
    ERROR: Invalid key name.
    Type "REG QUERY /?" for usage.
    ERROR: Invalid key name.
    Type "REG QUERY /?" for usage.
    
     
  6. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    Yes it's been fixed and it will be available in next version.

     
  7. niche99

    niche99 MDL Junior Member

    Oct 5, 2009
    79
    14
    0
    I am having no luck with integrating Custom Fonts. Toolkit is installed in D:\MSMG
    Am I correct in thinking that fonts should be placed in D:\MSMG\Custom\Fonts?

    However when I put fonts in the Fonts folder I am now getting the following error:
    Code:
    Integrating Envy Code R Bold (TrueType) (Envy Code R Bold.ttf) Font...
    Copy-Item : Cannot bind argument to parameter 'Path' because it is an empty string.
    At D:\MSMG\Bin\AddFonts.ps1:19 char:7
    +         cpi $fPath -destination $mountPath -force
    +             ~~~~~~
        + CategoryInfo          : InvalidData: (:) [Copy-Item], ParameterBindingValidationException
        + FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Microsoft.PowerShell.Commands.CopyItemCommand
    
    I guess integrating fonts is just not possible for me.
     
  8. evaw

    evaw MDL Novice

    Jan 7, 2021
    8
    2
    0
    Hi, guys.
    I need help - how to totally disable Windows update?
    (try to disable services - but update available after install, try to insert reg-keys - the same. Only when Windows installed i can disable it, but how to do it before).
     
  9. iskakfatoni

    iskakfatoni MDL Novice

    Mar 19, 2010
    2
    0
    0
    #18772 iskakfatoni, Mar 13, 2021
    Last edited: Mar 14, 2021
    How to Integrate WHDownloader into MSMG? Especially Windows 10. Just copied?
     
  10. haz367

    haz367 MDL Senior Member

    Jan 11, 2020
    325
    415
    10
    Hey @MSMG

    I assume there's no problem then with those (other) nr's on some folder/files? And thx in advance for verifying once more.

    Seems your busy....so take your time :) And keep up the great work with all those updates!

     
  11. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    #18774 MSMG, Mar 14, 2021
    Last edited: Mar 14, 2021
    (OP)
    Your pack files appears to be free from folder permission bugs, only difference is those d:X XXX do changes, don't know if it changes for different installation.

    I have checked with my packs and the original Windows installation WIM's they do have the same d:X XXX.

    Do advise you to use a VM for creating packs so that the originality won't get change.

     
  12. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    6,209
    7,533
    210
    hmm I often wonder how a simple Windows 10 user should feel when it comes to SSU's and LCU's I think this philosophy of M$FT is purposely made for these users not to try to modify anything within the operating system is just remember the UAC; but thank heavens that I am not part of this group and change even what is necessary, I remove the useless s**t and add many useful things that ironically come from the Git hub that happen to be owned by M$FT itself ...
     
  13. Shitagi

    Shitagi MDL Junior Member

    Nov 21, 2012
    51
    6
    0
    #18776 Shitagi, Mar 14, 2021
    Last edited: Mar 14, 2021
    Hello. Is 19043.867 considered as a release candidate? Because all I can find is that it was pushed to the beta channel.

    edit: nvm as bleeping gave me the answer I was looking for,
     
  14. rorewe4314

    rorewe4314 MDL Junior Member

    Jun 18, 2020
    70
    17
    0
    how can I remove onedrive using a script that shows hidden packages in the image? I need to do this completely automatically
     
  15. meilenstein

    meilenstein MDL Novice

    Nov 22, 2015
    13
    2
    0
    #18778 meilenstein, Mar 14, 2021
    Last edited: Mar 14, 2021
    Hi
    Hm, actually I'm having problems to get key-strokes being accepted in the Remove-Panel. I'm typing 'A' ( for Example ), but this Letter vanishes as soon as I let go the key and nothing happens.
    'X' for ' back ' is being accepted. I tried to change the Rights of the Folders, but vain.
    Thanks for a Hint in Advance
     
  16. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    May be its the spaces in the font filename creating issues, do try removing the spaces in the filename.

     
  17. haz367

    haz367 MDL Senior Member

    Jan 11, 2020
    325
    415
    10