MSMG ToolKit

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

  1. boyonthebus

    boyonthebus MDL Member

    Sep 16, 2018
    120
    65
    10
    I would move
    Code:
    dism /image:d:\temp\wim_offline /cleanup-image /startcomponentcleanup /resetbase

    to immediately below when you added your udates, then do this --
    Code:
    dism /image:d:\temp\wim_offline /cleanup-image /startcomponentcleanup

    after all your removals.
     
  2. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    2,692
    6,293
    90
    - Integrate Windows Updates/WHD Update Pack using [Integrate->Windows Updates->Windows Updates/WHD Update Packs] menu.
    - Integrate Windows Setup Media Updates using [Integrate->Windows Updates->Windows Setup Media Updates] menu.
    - Cleanup the Source Image using [Apply->Cleanup Source Images] menu.
    - Remove all required Windows Components using [Remove->Remove Windows Components] menu.
    - Cleanup the Source Image using [Apply->Cleanup Source Images] menu.

     
  3. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    2,692
    6,293
    90
    Just found an issue with shared components removal which might be responsible for the SFC errors, soon there will be an update.
     
  4. biatche

    biatche MDL Senior Member

    Nov 14, 2009
    443
    107
    10
    It's not my position to ask of you, but can we see a fix for the SFC errors without adding new features/other less important fixes?

    SFC errors are pretty big and would be nice to see just this part sorted before making a new image.
     
  5. gilbert1a

    gilbert1a MDL Novice

    Nov 25, 2018
    23
    23
    0
    Dear MSMG!
    Made an extended version of the manual for working with your program for version 9.1 with the image of Windows 10 RS5

    How to work with Windows 10 RS5
    ===============================================
    01. Unpack English ISO image to MSMG \ DVD \ folder
    Select an image folder in the Source-> Select Source from Source <DVD> Folder menu
    When prompted to connect to the maintenance of Boot / Recovery Images, select “Yes”.
    The toolkit requires that the Windows installation image be in WIM format for maintenance.

    02. Integration of language packs Windows Integrate-> Windows Language Packs
    You must download the Windows language packs for MSMG ToolKit, which contains the necessary files
    (win-lp + lfp + winpe-lp). Copy the Windows language pack files to
    Packs \ LangPacks \ w10 \ <Architecture> \ <LanguageCode, for example: Packs \ LangPacks \ w10 \ x64 \ en-GB.

    03. Integrating Windows drivers using the menu Integrate-> Windows Drivers.
    Copy the files / driver folder into the Drivers \ w10 \ <Architecture> folder

    04. Turn on all the necessary Windows features using the menu Integrate-> Windows Feature
    (except Microsoft .NET Framework 3.5).

    +++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++++++
    Note. Some packages for MSMG ToolKit are not included in the ToolKit archive due to its size.
    Instead, they are provided separately. You need to download the necessary packages.
    and extract them to the Packs folder, as shown below.
    Dart_W10.7z (Extract the DaRT folder in Packs \ DaRT \ w10).
    Games.7z (Extract the folder in Packs \ Games).
    MediaFeaturePack_W10.7z (Extract the folder in the Packs \ MediaFeaturePack).
    NetFX35_W10_RS5.7z (Extract the NetFX35 folder in Packs \ NetFX35).
    +++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++++++

    05. Integrate all necessary updates.
    Integrate Windows Updates using the menu
    Integrate-> Windows Updates-> Windows Updates for regular updates.

    We choose to integrate WHD Update Pack (cumulative updates) using the menu
    Integrate-> Windows Updates-> WHD Update Packs-> Integrate WHD General Updates
    for WHD Update Pack.

    Choose Integrate to Windows Setup Install & Recovery Image

    +++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++
    If you select Integrate to Windows Setup Boot, Install & Recovery Image
    be sure to use Integrate Windows Setup Media Updates to be able to
    boot from DVD / USB, because changes are made to the Setup Boot
    +++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++

    ToolKit supports updates in .msu / .cab format.
    To integrate updates (Windows Updates) you need to copy them.
    to the Updates \ w10 \ <Architecture> folder (for example, Updates \ w10 \ x64).
    To integrate the service pack (WHD update pack or cumulative update) you need
    copy them to the Packs \ WHD \ w10 \ <Architecture> folder.

    Attention!!! Updates must have original names. Renaming updates will result in
    the impossibility of their integration into the image.

    Copy Cumulative Update Files (Windows Cumulative Update)
    in the Packs \ WHD \ w10 \ <Architecture> \ Cumulative folder (for example, Packs \ WHD \ w10 \ x64 \ Cumulative).

    Copy Dynamic Update Files (Windows Dynamic Update)
    in the Packs \ WHD \ w10 \ <Architecture> \ Dynamic folder (for example, Packs \ WHD \ w10 \ x64 \ Dynamic).

    Copy Windows Update File FlashPlayer
    in the Packs \ WHD \ w10 \ <Architecture> \ FlashPlayer folder (for example, Packs \ WHD \ w10 \ x64 \ FlashPlayer).

    Copy the stack update file (ServicingStack Update)
    in the Packs \ WHD \ w10 \ <Architecture> \ ServicingStack folder (for example, Packs \ WHD \ w10 \ x64 \ ServicingStack).

    Copy the Windows .Net Cumulative Update File
    in the Packs \ WHD \ w10 \ <Architecture> \ NetCumulative folder (for example, Packs \ WHD \ w10 \ x64 \ NetCumulative).

    Copy the Windows SetupMedia Update Files
    in the Packs \ WHD \ w10 \ <Architecture> \ SetupMedia folder (for example, Packs \ WHD \ w10 \ x64 \ SetupMedia).

    Copy the Windows WinPE Update files to the Packs \ WHD \ w10 \ <Architecture> \ WinPE folder
    (for example, Packs \ WHD \ w10 \ x64 \ WinPE).

    06. Integrate Windows Setup Media Updates updates (if any) using the menu
    Integrate-> Windows Updates-> Windows Setup Media Updates.
    -------------------------------------------------- -----------------------------------------------
    07. Cleaning the original unpacked image using the Apply-> Cleanup Source Images menu
    -------------------------------------------------- -----------------------------------------------
    08. Remove all necessary Windows components using the menu Remove-> Remove Windows Components
    Removed all Windows Apps
    Removed all System Apps
    Removed all Advanced Windows Components
    Customize-> Remove default Metro Apps Association XML
    -------------------------------------------------- -----------------------------------------------
    09. Cleaning the original unpacked image using the Apply-> Cleanup Source Images menu
    -------------------------------------------------- -----------------------------------------------

    10. Integrating Microsoft .NET Framework 3.5 using the menu
    Integration-> Windows Features-> Microsoft .NET Framework 3.5

    11. <Optional> Enable all necessary Windows user functions using the menu
    Integrate-> Windows Custom Features

    12. <Optional> Customize the image using the Customize menu.

    ================================================= ===============================================
    13. Apply and save changes to the original image using the menu
    Apply-> Apply & Save Changes to Source Images

    14. Recreate the original image using the Apply-> Re-Build Source Images menu.

    15. Creating an ISO image using the menu Target-> Make a DVD ISO Image
    ================================================= ===============================================

    16. Install the OS.

    17. Run DISM / Online / Cleanup-Image / StartComponentCleanup / ResetBase once
     
  6. Dusktilldawn

    Dusktilldawn MDL Novice

    Oct 24, 2009
    24
    1
    0
    Hello
    Can we use ntlite’s download folder instead of whd’s?
    For examples’ for win7; whd downloads so many files those confuses my mind..l can’t be sure which folder do l have to use or
    Don’t know whether msgms toolkit wil chose those files for me automatically
    Thanks to everyone in advance
     
  7. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    2,692
    6,293
    90
    #9367 MSMG, Jan 11, 2019
    Last edited: Jan 11, 2019
    (OP)
    Next update will be a small one with only fixes for SFC errors.

     
  8. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    2,692
    6,293
    90
    #9368 MSMG, Jan 11, 2019
    Last edited: Jan 11, 2019
    (OP)
    Thanks will put a link to this post in the first post for users benefit.

     
  9. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    2,692
    6,293
    90
    Need to check with NTLite updates folder structure and also as I have read the NTLite uses some special method to integrate some updates which can't be integrated in a regular way.

    The ToolKit auto-selects the WHD updates based on the menu chosen for Windows 7

    Windows 7 with SP2 aka Convenience Pack
    Windows 7 without SP2 aka Convenience Pack

    I need to update this feature to match the latest WHD repository.

     
  10. gample

    gample MDL Novice

    Jan 6, 2019
    1
    0
    0
    Hello, I was able to install the Microsoft Store through MSMG ToolKit on Windows Server 2019, but I can not download the app through the Microsoft Store. In addition, the Microsoft.Services.Store.Engagement file does not appear in the installation window.
    How do I the install Appx file?
     
  11. Feartamixg

    Feartamixg MDL Member

    May 15, 2016
    130
    37
    10
    Can I ask why do you do not convert the WIM file to ESD? This reduces the size significantly for me.
     
  12. gilbert1a

    gilbert1a MDL Novice

    Nov 25, 2018
    23
    23
    0
    While install.wim does not reach the critical value of 4 GB, it does not make sense, because the speed of working with a WIM file is much higher than with ESD. In my opinion, the use of ESD is justified only in terms of saving space on bootable media or when install.wim becomes more than 4 GB.
     
  13. Feartamixg

    Feartamixg MDL Member

    May 15, 2016
    130
    37
    10
    Sometimes, particularly with x64 images, I have found that the WIM can exceed the 4GB limit. So, out of habit, I now convert my WIM files to ESD.

    I haven't tried WIM files for some time, so I will test these soon to see what sizes I get.
     
  14. Feartamixg

    Feartamixg MDL Member

    May 15, 2016
    130
    37
    10
    Tested only with x86 image due to time constraints.

    WIM file was 2.56GB and took about 4:55 to reach the Cortana OOBE screen.
    ESD file was 2.18GB and took about 4:43 to reach the Cortana OOBE screen.

    I agree building the ESD file takes about an extra 10-15 minutes. But I feel the size reduction alone is worth it.
     
  15. gilbert1a

    gilbert1a MDL Novice

    Nov 25, 2018
    23
    23
    0
    Thank you very much for the test. The time difference was not very big. Most likely you have a more modern computer. I often have to maintain obsolete computers at work, where the difference in installation time between wim and esd reaches 50-60%.
     
  16. chblock

    chblock MDL Member

    Jan 9, 2017
    159
    72
    10
    #9377 chblock, Jan 11, 2019
    Last edited: Jan 11, 2019
    Thanks for the help guys, I'll mess with it some more. I don't ~have~ to do the component cleanup, just would like to get it working in case I need it to reduce the size of the image, that cleanup takes a long time to run. This stuff is pretty involved and can be confusing at times, kind of puts me in my place.
     
  17. hoxlund

    hoxlund MDL Novice

    Nov 6, 2017
    45
    19
    0
    Also ESD files are just encrypted WIM. See why using ESD file doesn't work? It's encrypted.
     
  18. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    18,533
    24,073
    340
    #9379 Enthousiast, Jan 11, 2019
    Last edited: Jan 11, 2019
    ESD is not the same as install.esd;)

    And ESD's are not encrypted since 15063 (iirc) was released.

    Compressing install.wim to install.esd saves approx. 30-33% in file size.
     
  19. THUMPer1

    THUMPer1 MDL Novice

    Mar 8, 2011
    23
    6
    0
    The weirdest thing is going on.
    My sticky notes crashes all the time. If I remove it from the image and install it through the store, it will crash. If I leave it in the image, and remove other random apps it will stay installed but crash. Does anyone know if sticky notes is dependent on anything
    else?? Here is event viewer crash info.


    Faulting application name: Microsoft.Notes.exe, version: 3.1.46.0, time stamp: 0x5bec8d97
    Faulting module name: KERNELBASE.dll, version: 10.0.17763.134, time stamp: 0x1659a33b
    Exception code: 0xe06d7363
    Fault offset: 0x0000000000055299
    Faulting process id: 0x2460
    Faulting application start time: 0x01d4a9ec26ebf23e
    Faulting application path: C:\Program Files\WindowsApps\Microsoft.MicrosoftStickyNotes_3.1.46.0_x64__8wekyb3d8bbwe\Microsoft.Notes.exe
    Faulting module path: C:\Windows\System32\KERNELBASE.dll
    Report Id: 078bb991-2484-4285-bdc8-2564bf778ca7
    Faulting package full name: Microsoft.MicrosoftStickyNotes_3.1.46.0_x64__8wekyb3d8bbwe
    Faulting package-relative application ID: App