Install Media Customizer Kitchen - IMCK (formely known as "Custom Toolkit")

Discussion in 'Application Software' started by inTerActionVRI, Nov 22, 2022.

  1. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,663
    3,416
    60
    #1 inTerActionVRI, Nov 22, 2022
    Last edited: Jun 22, 2023
    Install Media Customizer Kitchen - IMCK

    @MSMG, I am posting the custom "InstallMediaCustomizerKitchen*.zip" as an attachment.

    The Original Toolkit started to be modified with tips from @MSMG, to add some options for quick removal, but as time goes on the Customizations keeps growing.

    Remember: the parts of the "Install Media Customizer Kitchen - IMCK" are merged with the original. Nothing is missing from the original. Most of the modifications are in the Custom Tweaks part. The rest are basically menu changes and creating other menus.
    It all started in order to help friend Majid @mhussain, with the creation of a "one-click removal" option that allows maintaining Windows with the essential components for Accessibility.
    Then, after creating the Option called "Accessibility Edition", I started to create other options to facilitate my production of ISOS, each one being aimed at the demands of me and my family in the respective maintenance of PCs and Laptops. Ex: Gamer, Work, etc ... Added these details to make my life easier, I asked for permission from @MSMG, and I was able to make it available to you.

    All of this was edited with the Quick Removal tag, with the tips provided by @MSMG. In all these "Custom Editions" the components that can be re-added through the Windows Store have been removed. But not in the "Accessibility Edition".
    As @MSMG said:
    Content Delivery Manager is needed for OOBE for v1809 / v1903 / v1909 / v2004 / 20H2 OS.
    Windows Error Reporting is needed for OOBE for v1903 / v1909 OS.

    Windows Error Reporting, according to specific conditions, will be automatically removed by the "Custom Editions" options available in "Install Media Customizer Kitchen - IMCK". Conditions prevent removal on versions v1903 / v1909.

    Only for:
    Remove All Privacy Components
    Accessibility Edition
    Lite Edition
    Xtreme Lite Edition
    Content Delivery Manager is needed for OOBE for v1809 / v1903 / v1909 / v2004 / 20H2 OS.
    For this Component, if you want, just access the "Remove System Components Menu" to remove "Content Delivery Manager".

    Error reports and new ideas for improvement are welcome and it will certainly be even better if we can put them into practice!


    For people who are in doubt, on how to get started using the "Install Media Customizer Kitchen - IMCK".
    To use the "Install Media Customizer Kitchen - IMCK" you must download the latest version made available by @MSMG in the MSMG Thread (initial post) - "https://forums.mydigitallife.net/threads/msmg-toolkit.50572/", since all tools will be updated, mainly "DISM and ToolkiHelper". Therefore, the features will have answers that are congruent to those obtained in our tests.

    As the "Install Media Customizer Kitchen - IMCK" uses practically all of the Official Toolkit structure, place the Toolkit in a shorter folder structure "C:\Toolkit" or "C:\MSMG" as suggested in the MSMG Toolkit readme.
    Then, just extract it into the root of Toolkit folder.

    Note: DVD, mount and temp folders are transferred to %SystemDRIVE%\IMCK\ as it is usually an SSD and performance is much higher. This makes it possible to leave the Toolkit folder with the packs in another storage without sacrificing performance.

    Resume: https://forums.mydigitallife.net/threads/msmg-toolkit.50572/page-1093#post-1711947

    There are an external ".\Bin\EnvironmentPath.zip" package with Script file to config Working Folder (it will auto extract one time on Bin folder).
    You can customize your Working Folder by editing the "EnvironmentPath.cmd".
    The current "Install Media Customizer Kitchen - IMCK" Working Folder is "C:\IMCK\"
    To change from "C:\" you need to change the empty variable from:
    Code:
    set "WorkingFolder="
    
    to:
    Code:
    set "WorkingFolder=D:\IMCK"
    
    If you change the WorkingFolder path, restart the IMCK Script.
    Then, use:
    1 Source
    2 to extract the ISO.
    Or extract manualy to %SystemDRIVE%\IMCK\InstallMedia
    This will make everything work correctly.

    So, just use it like in the Toolkit.

    Remembering that practically everything (Integrate Menu, Remove Menu and Customize Menu) is of multiple choice.
    Then you must go back and start the activities to start.

    Remember, before extracting the latest official toolkit, to back up your Personal Template Lists, delete the old BIN folder and extract the new one.
    This is not related to the script. But with the direct execution of the files "Toolkit.cmd" or "IMCK.cmd".

    Created the file "GenericStart_LauncherMenu.cmd" to replace the following 4 files: "Start.cmd", "Start_Beta.cmd", "CustomStart.cmd" and "CustomStart_Beta.cmd". I think that way, it gets better.
    When files with the following names are present in the toolkit folder, options will appear in the GenericStart menu.

    Code:
    Place one of the following files in the folder:
       [1]   "Toolkit.cmd"
       [2]   "IMCK.cmd"
       [3]   "Toolkit_Beta.cmd"
       [4]   "IMCK_Beta.cmd"
       [5]   "Multi_ImageIndexRemoval.cmd"
       [R]   "RemoveLangPacksEmptyFolders.cmd"
    
    
    Note: This message will continue in Loop when you press any key,
    but it  will vanish when you put the file or close the Windows.
    

    First, to run the scripts you must place them in the Toolkit folder, then execute "Start.cmd" for Official "Toolkit.cmd" or "GenericStart_LauncherMenu.cmd" for all Official, "Install Media Customizer Kitchen - IMCK" or Betas for both of them and allow the elevation for admin rights.

    It will start as it naturally occurs with the Official Toolkit.

    When normal use of the "Install Media Customizer Kitchen - IMCK" occurs, the file \Toolkit\Bin\Configs\TOOLKIT.cfg will be created. This will be useful for what is described below.

    If the script was interrupted and/or you somehow needed to close, you will have to answer "Performing Toolkit pre-cleanup operation" when prompted at the beginning of the Script. In Official MSMG Toolkit, this will be done automatically.
    If you wish to close the "Install Media Customizer Kitchen - IMCK", simply select "No" when prompted to perform Cleanup.
    I took the tests here and if you answer "No", you can continue where you left off.

    So, it has to work normally.
    Except the times when activities with registry changes occur. So it is recommended to discard, extract the ISO source and start again.

    So, if the file \Toolkit\Bin\Configs\TOOLKIT.cfg is present the question for PreCleanup will be displayed.
    Do you want to perform Toolkit pre-cleanup operation ? ['Y'es/'N'o] :
    If you answer "'Y'es", the Toolkit pre-cleanup operation will be performed.

    If you answer "'N'o", the same mount parameters as the image from the previous session will be imported from the \Toolkit\Bin\Configs\TOOLKIT.cfg file
    And the following message will be displayed.
    Code:
    Note: You will have issues when you require to save your ISO in that way
    
    This function will be useful for testing purposes only when you are programming
    the Script Code to avoid wasting time cleaning and remounting all indexes.
    
            You will be able to continue your tests without having to
            redo the entire process.
            When all your tests are complete, it is highly recommended to
            start from scratch with an untouched Official Image to make
            your final customized ISO
    


    Download "InstallMediaCustomizerKitchen*[inTerActionVRI].zip" package in my Signature.
     
  2. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,663
    3,416
    60
    #2 inTerActionVRI, Nov 22, 2022
    Last edited: Jul 7, 2023
    (OP)
    Virtual SKUs (Image Index Editions) Creation

    The package "ImageEditions_VirtualManager.zip", referring to the integration of the convert-UUP abbodi1406 Script for the Virtual Creation of Editions, is distributed in IMCK package, wich is stored and made available through mega.nz. due to the size of the file, it is not allowed to attach directly to the post in the forum.

    "ImageEditions_VirtualManager.zip" 2023-07-01 (updated with 2023-06-30 "uup-converter-wimlib-92")
    Download: in my signature.
    Note: To work with Virtual Manager, it is not necessary to extract the file. Just save it to the Toolkit folder.
    The script will do the entire process. But you can extract to see what has changed. This is up to you.


    Implementation 28. abbodi1406 create_virtual_editions Script integrated with "Install Media Customizer Kitchen - IMCK".

    This idea originated in September of last year (2020). Today it is achieved by the simple creation of a Menu, with a slight integration.

    In other words, Toolkit users: if you so wish... You can download the ISO from the UUP Dump with only the base editions (HOME and/or PRO and/or N), work through the Toolkit and create the editions virtually later.

    I thought about just adding this option inside the "Install Media Customizer Kitchen - IMCK", but there are those who want to use only the Toolkit.

    So, I added the option both inside the "GenericStart_LauncherMenu.cmd" since it serves to execute external scripts and also in Save Source after the Save, Unmount and Optimization of "install.wim".
    And, it can also be run from Apply Menu without needing to mount anything. Just open the "Install Media Customizer Kitchen - IMCK", go to menu 5 and follow the steps.

    Script "create_virtual_editions.cmd" from @abbodi1406's Convert-UUP v92 package which received a light customization, for our use.

    Conditions:
    1. Select one of the Editions: Home or Professional or both.
    2. In the Apply Menu: Check the Option "C" Image Editions Virtual Manager changing from "Disable" to "Enable", if you selected one of the required indexes or both this will activate the Trim if Image Count is greater than 1 to eliminate the Unwanted Editions that will be recreated by Customized abbodi1406 Script "ImageEditions_VirtualManager.cmd".

    Obs 1: Officially the abbodi1406 Script, takes care of Applying only the pertinent Editions to your Image.
    Note 2: N Editions will not be created if this is not your case, and vice versa.

    There is a zipped package "ImageEditions_VirtualManager.zip" with the custom version of "create_virtual_editions.cmd" and the tools from the @abbodi1406 Convert-UUP v92 package. The "Image Editions Virtual Manager" function can be used from the "GenericStart_LauncherMenu.cmd" or through ApplyMenu, after save and unmount at the end of the "install.wim" optimization step.

    Code:
    ===============================================================================
                           MSMG Toolkit - Apply Source Menu
    ===============================================================================
    
      [C] (Enabled) Image Editions Virtual Manager
    
          Note 1: You will can Choose
    
                  -->  Home Core     Based Editions  <--
                  -->  Professional  Based Editions  <--
    
                  on abbodi1406 - Image Editions Virtual Manager Script.
    
          Note 2: When Enable this, Trim unwanted Image Indexes be Enable too.
    
      [T] (Enabled) Trim unwanted Image Indexes
    
    
      [1]   Cleanup Source Images
    
      [2]   Apply & Save Changes to Source Images
    
      [3]   Discard Changes & Unmount Source Images
    
    
      [X]   Go Back
    
    ===============================================================================
    
    Enter Your Choice :
    
    Code:
    ===============================================================================
            abbodi1406 - Editions Virtual Manager Params Menu
    ===============================================================================
     [1] (+)vAutoStart
            start the process directly
            it will create editions specified in AutoEditions if possible
    
     [2] (-)vDeleteSource
    
     [3] (-)vPreserve
            source distribution folder will be directly modified
            Note: if source distribution is .ISO file, this option has no affect
                  It isn't the case here.
    
     [4] (-)vwim2esd
    
     [5] (-)vSkipISO
            will create ISO file, result distribution folder will be deleted.
    
     [6] Go to Choose - Needed Image Index Editions
    
    ===============================================================================
    
    Enter Your Choice :6
    
    Code:
    ===============================================================================
            abbodi1406 - Choose Editions Menu
    ===============================================================================
     [1] (+)Pro for Workstations or N
     [2] (-)Pro Education or N
     [3] (+)Enterprise or N
     [4] (+)Enterprise multi-session for Virtual Desktops
     [5] (-)Education or N
     [6] (+)IoT Enterprise {OEM}
     [7] (-)IoT Enterprise LTSC {OEM}
     [8] (+)Cloud or N
     [9] (+)Home Single Language
    
     Note: you can leave all Editions with negative sign. vAutoEditions
           will be empty. So, it will create *all* possible editions.
    
    
     [S] Select All Editions | [R] Revert to Default
     [C] Start Virtual Create - Needed Image Index Editions
    
    
     [X]   Quit
    
    ===============================================================================
    
    Enter Your Choice :
    
     
  3. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,663
    3,416
    60
    #3 inTerActionVRI, Nov 22, 2022
    Last edited: Nov 23, 2022
    (OP)
    Alternative to SetupComplete: StartMenu SetupComplete


    Implementation 58. Added the alternative to SetupComplete to provide direct web installation after the internet connection is established and interactively, as in Winget the -silent argument for total silent mode, because make some apps enter infinite loop.


    It is something relatively simple.

    You just have to integrate a small script "StartMenu_SetupComplete.cmd" through the Customize Menu --> [A] option. Which after install will detect Internet Connection and the presence of 2 possible scripts within a folder called Installers within your installation USB stick and display a menu for the execution of these scripts.
    In the menu there is a 'R' option to remove the script from startup.
    You may want to continue installation of the applications at another time, when restarting the computer, if the USB stick is in place the menu will be displayed again. Otherwise it will only be closed due to the absence of "installation media" with the "Installers" folder and these scripts.
    The purpose of this is to install Windows quickly and be able to use your features while installing your applications in there latest released versions.

    Script 1 - "1stLogon_SetupComplete.cmd" you customize for anything offline, apps in Silent Install or others that don't run through the setupcomplete that can be placed in the Installers folder created inside the USB stick. I am also studying some details about "FirstLogon", as one of the scripts I named "1stLogon". There are still some details to be completed, maybe I have done a job that already exists, but I have never seen it.

    Script 2 - "1stConnection_SetupComplete.cmd" is specific for installing apps directly from the web.
    This script will perform a PowerShell "Winget_install [Interactionvri] .PS1" script that will display a list of apps for you to choose. These will be installed through Winget, sequentially according to the order you select the options.
    It is interesting to keep the prerequisites of MS Store and App Installer that will receive an update at the beginning of the execution of this script.

    NOTE 1: Only the menu script will be integrated. However, it is interesting to keep the 4 scripts inside the Installers folder in case it is necessary to run manually, so you can test as well, in your current installation or virtual machine already configured.

    NOTE 2: Within scripts 1 and 2 there is a delimitation for you to change, add or remove parts from the script.
    Code:
    rem Begin your Script block from here.
    .
    .
    .
    rem End of your Script block here.
    

    Follow the list of applications I keep in the "Installers" folder for direct installation that work with the example script:
    Code:
    StartMenu_SetupComplete.cmd
    1stConnection_SetupComplete.cmd
    1stLogon_SetupComplete.cmd
    winget_install[inTerActionVRI].ps1
    
    DirectX_Redist_Repack_x86_x64.exe
    dotNetFx35_WX_9_x86_x64.exe
    HashCheckSetup-v2.4.0.exe
    K-Lite_Codec_Pack_1720_Mega.exe
    klcp_mega_unattended-x64.ini
    klcp_mega_unattended-x86.ini
    ndp481-devpack-enu.exe
    ndp481-devpack-ptb.exe
    PowerShell-7.3.0-win-x64.msi
    PowerShell-7.3.0-win-x86.msi
    RapidCRC-Setup-0.3.37-x64.msi
    RapidCRC-Setup-0.3.37-x86.msi
    unchecky_setup.msi
    VisualCppRedist_AIO_x86_x64_64.exe
    windowsdesktop-runtime-3.1.31-win-x64.exe
    windowsdesktop-runtime-3.1.31-win-x86.exe
    windowsdesktop-runtime-7.0.0-win-x64.exe
    windowsdesktop-runtime-7.0.0-win-x86.exe
    


    If any of these are not in the folder, the script ignores. And, you don't have to seek to rename versions, just keep updated and remove apps with old version of the folder.


    Note3: This is not possible with preinstalled apps, as it gets obsolete and there is a need to prepare another ISO, and do the manual work of: download, rename and position everything in their proper places. While, this is not necessary.
     
  4. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,663
    3,416
    60
    #4 inTerActionVRI, Nov 22, 2022
    Last edited: Jul 7, 2023
    (OP)
    Full Changes Description :

    Item 1 (out of spoiler).
    Note: according to Majid @mhussain, this is better for using Screen Reader.
    01. Majid @mhussain, the part I promised is ready.
    [2020-07-04] follow 3 --> 2 --> "A" for Accessibility Edition
    In the Main Menu, "Quit Toolkit", is triggered with the letter "Q".

    [2021-07-03] Improved accessibility context in "Install Media Customizer Kitchen - IMCK", added audible indicators.

    2 beeps - passing from one process to another;
    3 beeps - take a reading if possible. This indicates a pause. You can press any key to continue;
    4 beeps - activity closes.
    8 beeps - sequence of two closed activities.
    7 beeps - indicates error. Go to Stop, usually returning to Main Menu
    The system can be turned on or off in the Integrate and Customize Menus.
    Fully enabled, it will automate replacing pauses with beeps and will ignore basic questions like: "Do you want to continue?", presented by the script. Also disables the Toolkit's Official Dialogues.
    And partially enabled in Main Menu.
    When activated through the Main Menu, only the pauses will be automated with beeps indicating the end of each process.
    In some longer processes I kept the beep active by default. It's interesting to go for coffee.
    Use 0 to enable and disable. Anyone can use it unless they want to check the processes.

    To find out if both are activated, just note that in the Main Menu a letter I (pauses automation) and letter O (questions bypass = out) will appear in the menu title. Activating the other menus will show the letters "I" and "I".

    Majid,
    Using "GenericStart_LauncherMenu.cmd" to start the "Official Toolkit" or ""Install Media Customizer Kitchen - IMCK"" a menu will appear. So, just type '1' for "Install Media Customizer Kitchen - IMCK" or '3' for Official Toolkit.

    Today, if you want to go the old way the path is 3 --> 1 --> 1 to the Accessibility Custom Edition Preset.
    But you can use the simplified paths below.

    So, the sequence for automated component removal is:
    3 --> 0 to Remove Windows Components Using Package List tru Toolkithelper
    3 --> 1 --> 0 to Remove Windows Components by Accessibility Custom Edition Preset for the Visually Impaired

    If it is not through this shortcut, the Preset Accessibility components will be more generic (comprehensive) and thus able to serve people with Hearing Impairment.

    [3] Remove
    [1] Custom PreSets for Removal Components
    Code:
    ===============================================================================
            MSMG Toolkit - Custom PreSets for Removal Components
    ===============================================================================
    
            [1] Accessibility Custom Selection
    
            [2] Conservative - Generic Edition
                    It is essential for Technicians to perform daily maintenance
                    work on customers' Computers.
    
            Proceed with the next Editions knowing that they are specific.
            It is highly recommended to use only for your own computer or
            if requested by the customer.
    
            Generic Edition - for anyone Who Wants.
            [3] Looks Like LTSC Edition
            [4] Gamer Edition       - ideal to Gamers
            [5] Lite Edition        - ideal for Work and Gaming
            [6] Xtreme Lite Edition - for old PCs. But not recommended for Gaming
    
    
            [X] Go Back and Choose: "Start Removing Windows Components"
    
    ===============================================================================
    
    Enter Your Choice :
    
    [2] Personal PreSets for Removal Components
    Code:
    ===============================================================================
            MSMG Toolkit - Personal PreSets for Removal Components
    ===============================================================================
    
            Personal Edition - its a sample for anyone Who wants to make your own.
    
            [1] Personal       - Custom Selection for Family members
            [2] Personal Speed - Custom Selection for Very Lite Edition
    
    
            [X] Go Back and Choose: "Start Removing Windows Components"
    
    ===============================================================================
    
    Enter Your Choice :
    
    02. Custom Apply Tweaks Menu is added. Apply All my Custom Tweaks List is available

    02.1. In my custom tweaks i have added suggestions for use in the Windows Store, automatic installations in silent mode disabled. Autodownload - Update for installed apps enabled

    03. Apply Tweaks by answering Y (yes) or N (no) questions. (removed)
    03.1 In that "Apply Custom Tweaks Menu" by answering questions system, I added a question to the end to apply the integration of your Registry (*.reg) files. (improved)

    Then from 02 to 03.1 changed and improved to... go to changelog 11 and 18 and see. hehehehe

    04. Removed some "pause" commands from the end of some processes in the Menus (Integrate Windows Features Menu - Integrate Windows Custom Features Menu - Remove Menu (when we select some of the Remove All Components) - Customize Menu) and replaced them with a question "Do you want to continue in that menu?"

    05. Added an option to set location of the ISO Folder. Keep as it is or set another one (Optional for those who need to save their isos on some larger drive). Very simple. There is a moment when opening the toolkit that asks you to check <ENTER>. Well select Y or N. "N" will keep the ISO folder where it has always been - inside the Toolkit folder. Than select your drive.

    06. The uploaded package contains the Original Toolkit by @MSMG, the "Install Media Customizer Kitchen - IMCK", and a functional example, available from my "AutoUnatend.xml" Answer File template with a Readme for those who want to play a little.
    When you run Start.cmd, to launch the Official "Toolkit.cmd".
    When you run GenericStart_LauncherMenu.cmd, to launch both Toolkits: "Toolkit.cmd" and "IMCK.cmd".

    07. When you selected any option to remove all components and decided to return by answering "no" for some reason. You would always return to the Main Menu. In the "Install Media Customizer Kitchen - IMCK" when you answer "no" you are returned to the menu you were in.

    08. When you already select your source and need to get Source Image Info, just select Source from Main Manu and it will show you the info.

    09. I facilitated the steps in the menu [5] Apply.
    When it finish a step, it goes back to Menu "[5] Apply". Only when you finish the Rebuild Step that goes back to the Main Menu.

    2020-11-16 As of CustomToolkit 10.8, rebuild source has been integrated into applying changes and saving. It is now called Optimizing Source.

    10. Added "Block and UnBlock Automatic Edge Chromium-based Delivery" to Apply Tweaks Menu
    2020-11-11

    11. About the Image Indexes Selection: Previously, in a version that was not even released, it was necessary to make the choices so that they were arranged in an ascending manner. Then a feature called "Sorting to Ascending Order" was implemented. Now, you can select 10,7,2,4 and after the removal the selected images 2,4,7,10 will be there from 1 to 5. After that the Image Index Number will be set as "A" and the mounting process will start.

    12. Added a question for those who work with the images, to be able to select the preferred indexes. "Do you want to remove the Indexes from unselected images?" Yes that's right. Removal of those not selected immediately after the initial selection! If you don't want to, at this point, for any reason, just use the Trim function within the Apply Menu before proceeding to save.
    I believe that the exclusion is recommended at the beginning, except for the example I mention in the question during the script, in Select Source.
    Code:
    Do you want to Delete Unselected Image Indexes?
            If not, if you need to, you can do this after saving,
            through [5] Apply - [T] Trimm - [1 W7 or 2 W10] Apply & Save
            Changes to source images. And in that case, it allows the indexes
            to be arranged in the sequence you selected earlier.
    
            After all, you may want to customize each or a range
            of Image Indexes differently.
    
            For example:
                    First, customize the range of HOME Editions and save;
                    Then, customize the range of Pro Editions and save;
                    Thus, in the end, delete the remaining unwanted Image Indexes.
    
            Note: If you decide for 'Y'es, and you want to
                    discard the changes, your image will remain
                    with the unselected Image Indexes excluded.
    
    Enter Your Choice... ['Y'es/'N'o] : N
    

    Trim Function inside Apply Menu allows the export function for the selected images to be performed, otherwise the image will be generated with all the images that were already in it, however with the changes applied only to the images that you had previously selected.
    2021-07-03 to see the Menu and the added Virtual Create Image Index Editions

    13. In the sessions of conversion or extracting from ESD to Wim, the compression is Default (smaller) with the parameter "fast".
    The purpose is to perform the task more quickly, the maximum compression will only be defined for tasks to finalize your modifications and save. Other tasks like export, trim of Image Indexes, etc ... continue with Maximum compression with the parameter "max".

    Note: This was reverted, throughout the code, to the original method (maximum compression).

    14. I said that I like a black background with yellow letters, so I did it on IMCK and GenericStart_LauncherMenu.

    15. The system of multiple selections was implemented in:
    Language Integration
    Driver Integration
    DaRT integration
    Games Integration
    Tweaks application is also with multi selection.
    Custom Tweaks application is predefined. You can check the code.
    There are many extra registry tweaks added (they have been there since I started the "Install Media Customizer Kitchen - IMCK").
    Component Removal

    Now, in the "Install Media Customizer Kitchen - IMCK", the custom pre-defined options that were available have been modified and implemented with PreSets.
    Both PreSets and the use of a personalized list will be read and you will be taken to the remove components menu.
    Thus, you can make your own changes, having the flexibility to check the dependencies through a filter to deal with such prerequisites.

    This way, however, it was released so that you can add or remove the main components without removing the dependencies in the spoiler specified below.

    :RemoveSystemAppsMenu
    Removing WindowsDefender will no longer remove SmartScreen, nor WindowsStore
    and remove SmartScreen also no more, it will remove WindowsStore

    :RemoveWindowsAppsMenu
    removing WindowsStore will still remove StickyNotes

    For users who don't want problems, just apply the filter and take a look at the menu lists to see what has changed.
    Or give Start Removing after the lists appear there is a possibility to go back and change something, if necessary.
    In the "Install Media Customizer Kitchen - IMCK" your choices will appear on the list screen. You can save and use it in the future with the List Removal system.

    16. The ISO folder will only serve to keep only the ISO source. Only one ISO should be left inside that folder.
    When saving, an "ISOsaves" folder will be created inside the Toolkit folder or inside the drive you select, to save the other ISOS changed by you.
    Thus, keeping only one ISO inside the folder, the script acts correctly.

    Added auto ISO Label and FileName:
    Option to select ISO Original source Label thanx to @Javanicus
    Automated ISO Label
    Automated ISO File Name

    ISO Label Ex: "W10-v21H2-x64-MultiEditions"

    17. My custom Tweaks Selection has been converted to a menu. Facilitates the visualization that has been made available. However, my selection is available as a PreSet.
    To apply the Tweaks just "X" Go Back and select to Start Applying Tweaks.

    18. ImageBuild update system implemented to correct the error in the automated formation of the ISO label and file name.

    19. All the environment and path variables for the packs were concentrated in some sessions, at the beginning of the "Install Media Customizer Kitchen - IMCK". This way it is easier to reset the variables at each integration performed. Also so that the multiple choice system facilitates the multiple integration of features sequentially.
    Multiple choice has been implemented within the integrate menu, for all features that are submenus.
    In other words, if it is a sub menu, a negative sign will appear as a default. If it is to integrate this signal it will become positive. To apply the integration you must go back to the "Integrate Menu" and choose "Start Integration".
    In the options without signaling, integration will occur as soon as you select.

    These are the submenus mentioned:
    IntLanguagePacksMenu (tested)
    IntDriversMenu (tested)
    IntInboxAppsMenu (tested)
    IntRSATMenu (tested)
    IntOfficeUWPAppsMenu (tested)
    IntDaRTMenu (tested)
    ThinPCpkgsMenu (tested)
    IntGamesMenu (tested)
    IntCustomFeaturesMenu (tested)

    20. Optimization of Boot.wim and WinRE.wim has been implemented, regardless of whether they are mounted or not, whenever we save our work they will be optimized.

    21. Improved :WIMExport session code.
    Code:
      [1] Just Create a New [Install.wim]
      [2] Create a New [Install.wim] and replace the previous one.
      [3] Add selected Image Indexes to the same [Install.wim]
          Note: The chosen ones will be added after the already exists Image Indexes
    
    Enter your choice :
    
    Before I didn't have the option to replace it, I needed it, then I put it there.

    22. Added the scheme to copy generic "ei.cfg" file for multiple indexes or write ei.cfg for only image with only one index, when saving changes.
    If you want to install another edition on a notebook with Product Key in the BIOS, this file is required. Otherwise, a multi edition ISO will only present the option related to the Product Key of that BIOS.

    23. Added an option to create a file with a list of the choices you made. It is easier than copying the list that appears on the screen.
    Code:
    ===============================================================================
                     MSMG Toolkit - Remove Windows Components Menu
    ===============================================================================
    
      [1]   Custom PreSets for Removing Windows Components
    
      [2]   Personal PreSets for Removing Windows Components
    
      [3]   Dependencies correction Filter
    
      [4]   Select Windows Components
    
      [5]   (-)Create a File List <C:\Toolkit\Bin\Lists\Personal> with the Choices
    
      [6]   Start Removing Windows Components
    
    
      [R]   ReSet All your Choices
    
      [X]   Go Back
    
    ===============================================================================
    
    Enter Your Choice : 5
    

    24. Integrate "Windows Setup Media Updates", now works when we are working with multi index images.

    25. As "WinRE.wim" is identical for all editions, all the code works on top of just one mounted "WinRE.wim" and at the end (Un-mount & Saving), after its optimization, it is copied to all selected indexes that are mounted .
    It's very simple! At the moment, when you select which indexes to work with, you can also select which index will serve as the source for "WinRE.wim" and for "Integrate Windows Setup Media Updates". Considering that I use the ISOs obtained through UUP Dump as a source, we have that all Image Indexes come from Home and Pro, so I always select Pro. But it is optional, do your tests.

    What is the advantage of this optimization?
    1. Avoid closing an install.wim image with several "winre.wim" files with identical contents but with different hashes.
    2. Optimize our working time when doing our ISOs. The repetition of identical work is avoided.


    26. When I needed to free up space on my SSD, I moved the entire Toolkit (80gb packs) to 2Tb 7200 RPM storage. I had a performance problem ... Now, working the ISOs directly from this one, I realized realistically that this type of HD is not for productivity, hehehe.
    In this way, I implemented a small conversion that makes things simpler.

    You can put the folder of your Toolkit in storage different from your main SSD, however when performing the tasks everything will be on the SSD. Only the ISOsource and saving the ISOs to the ISOsaves folder will remain in the Toolkit folder within the storage of your choice.

    To take advantage of this scheme in the "Install Media Customizer Kitchen - IMCK".
    1 Source
    3 to extract your working ISO that will be in the ISOsource or ISO folder (just an .ISO file must be present in one of these folders) you can choose.
    Then you will see that the ISO will be extracted to
    %SystemDRIVE%\IMCK\InstallMedia
    A "Install Media Customizer Kitchen - IMCK" é um fork da Official Toolkit
    I decided to change the name of DVD to W_InstallMedia because DVD reminds me of the old and obsolete thing.

    After that when you mount your images, they will be on the path below, at high speed performing the tasks of the toolkit, and your drive will be with plenty of free space, hehehehe
    %SystemDRIVE%\IMCK\MNT

    %SystemDRIVE% = By default it would be C:\

    27. Easy GridView ISO selection
    Fixed the issue of having to keep only one iso in the folder for auto detection. Now you can get them all. It was easy to select.
    "Keep just one ISO file in the ^<%ISO%^\^> folder"
    The selection of Install Media Images is now through GridView.

    These two options were unified.
    Code:
    echo.  [3]   Extract Source from Install Media ISO Image
    echo.
    echo.  [4]   Extract Source from OEM IMG Image
    
    Code:
      [3]   Extract Source from Install Media ISO or OEM IMG file
    
    For ISO Extraction, I made an EXTRA folder only for sources, since it is now possible to select the ISO to be used, in a Grid-View List.
    The ISO folder remains for saving custom ISOS.
    Code:
    ===============================================================================
     MSMG Toolkit - Extract Source from:
                     Install Media ISO or OEM IMG file to <Install Media> folder
    ===============================================================================
    
    Toolkit's Source <C:\IMCK\InstallMedia> folder is not empty...
    
    Do you want to remove it & continue ? ['Y'es/'N'o] : Y
    
    
    ===============================================================================
                        MSMG Toolkit - ISO Folder Menu
    ===============================================================================
    
      [U]   ISO Sources <B:\Toolkit\ISOsource> Folder (Untouched ISOs)
    
      [C]   ISO Saves <B:\Toolkit\ISO\> Folder (Customized ISOs)
    
    
      [X]   Go Back
    
    ===============================================================================
    
    Enter Your Choice :
    

    28. abbodi1406 create_virtual_editions Script integrated with "Install Media Customizer Kitchen - IMCK".
    This idea originated in September of last year (2020). Today it is achieved by the simple creation of a Menu, with a slight integration.
    Post 02: https://forums.mydigitallife.net/th...y-known-as-custom-toolkit.86170/#post-1765649

    29. Improved accessibility context in "Install Media Customizer Kitchen - IMCK", added audible indicators.
    All related changes on first item of Full Changes Description.

    30. Added Script to Remove Language Packs Empty Folders
    Added Windows 11 BypassTPM tweak. (updated on item 17 about Customize Menu).

    31. Added the condition to Integrate Windows Media Feature Pack
    :: Checking whether exists N Editions supported for Windows Media Feature Pack Integration are selected as source.
    If only non-N editions are selected, the following message will be displayed: "No Edition N was found. And, Non-N Editions are not supported."

    32. When the new Tweaks that @MSMG put to disable Windows Update were merged with the function "Custom Disable Windows Update Tweaks" that have the purpose of keeping the Download of Apps in Windows Store working, it ended up disabling this function.
    This has been fixed and I am Providing .reg files for anyone who is getting the Windows Store Download Error 0x8024500C, wants to Enable Download, and keep Windows Update partially Disabled. And another .reg to disable Everything as per MSMG settings.

    added the following .reg files
    WU_WS_ConfigPolicies (DisableWindowsStoreDownloads).reg
    WU_WS_ConfigPolicies (EnableWindowsStoreDownloads).reg

    33. 1. Fixed "Sun Valley Icons Skin" integration:
    * for w7 and w81, thnks to @Bira suggestion.
    * for w10 build 18362 by changing geq "18363" to geq "18362".
    * Added "Windows Photo Viewer Skin" and "Icons Skin" in the Custom Integrate for W7 and W81 menu.
    NOTE: "Windows Media Player Skin" break Windows Media Player for W7 and W81.
    Thnks by tests made by @Bira.

    2. Added the condition to Integrate Windows Portable Devices
    :: Checking whether exists N Editions supported for Windows Portable Devices Integration are selected as source.
    If only non-N editions are selected, the following message will be displayed:

    34. Since my code writing method with the idea of reducing lines was making complicated the merge tasks. As the code was drowned in complications, difficult to readability for other devs. I decided to twist my code, in the sense of wiping. Expanded parts of the code that were in just one line for multiple lines in order to improve the reading of it.

    35. Added - Condition for integration of Sun Valley Icons Skin Pack only for Builds below 21348.

    36. Some minor code upgrade on Tweaks and...
    36.1. Added - Simple Bypass - Windows 11 Checking Hardware Requirements for InPlace Upgrade.

    37. Added a Custom Preset option for "Windows 7 Components Experience Edition based on the list of components to be maintained that MSMG has made available.

    38.
    Guys, I left something at "Install Media Customizer Kitchen - IMCK", which is to facilitate my tests, but it may be interesting to you too.

    Basically it is:
    In the main menu, press the letter "P" and watch the process.
    This will lead you to the selection of an ISO that will be extracted then beginning the atomatized process.
    Have your packs updated and with the folder structure updated for Toolkit 11.8 (recently changes made by MSMG).
    The custom registry folder also has to be duplicated w10 and w11 folders. I put a bypass for that. Instead of having 2 equal folders, leave only one with the name w10_w11. For Inbox Apps it is also possible but probably the licenses should have their folders separated for W81, W10 and W11. @MSMG, joining the folders will release plenty of space in mega.nz. Files hashsum are equal, for both w10 and w11.
    If you notice any error or jump integration, in the process execution, it is due to some missing pack.

    If you do not want to integrate something, just change the folder name so that the script can not find the pack. Example: If you do not want to integrate Games change the name of the folder from: ".\Packs\Games" to: ".\Packs\Games_".

    Automation goes up to, Virtual Create Image Index Editions and ISO finalization.
    Download "VirtualCreate_ImageIndexEditions.zip" that is in my signature to the folder where the "toolkit.cmd" file is.
    Below is the list of packs that will be integrated:
    Removes Components by Preset Custom Selection.

    So that you can take the test.
    Download "virtualcreate_imageindexeditions.zip" that is in my signature to the folder where the "toolkit.cmd" file is.
    Below the list of packs that will be integrated, the Tweaks that will be applied and the components that will be removed by the Preset Custom Selection.

    So that you can take the test.

    Code:
    :: Auto Integrate Menu
       IntWin32Calc
       IntNetFX48 17763
       IntNET5 above 17763
       IntOpenSSH
    
       IntGames
           CariocaRummy
           HoldEm
           Sudoku
           Tinker
           ChessTitans
           FreeCell
           Hearts
           Inkball
           MahjongTitans
           Minesweeper
           Pinball
           PurblePlace
           Solitaire
           SpiderSolitaire
    
       IntDaRT
    
       IntCustomFeatures
           IntCustomFiles
           IntWMPMetroSkin
           IntWPVMetroSkin
           IntWin32CalcMetroSkin
           IntWIconsSkin
    

    At this point the removal of the components will be by Toolkithelper list. Leave your favorite list.
    In this method the dependency filter will be applied. So, according to Build, there will be differences.
    Code:
    :: Auto Remove Menu
    set "RemovalMethod=ToolkitHelper"
    call :RemoveWindowsComponentsList
    
    rem call :CustomPreSets_RemoveWindowsComponents
       rem call :AccessibilityCustomSelection
       rem call :ConservativeGenericEditionCustomSelection
       rem call :LooksLikeLTSCEditionCustomSelection
       rem call :GamerEditionCustomSelection
       rem call :LiteEditionCustomSelection
       rem call :XtremeLiteEditionCustomSelection
       rem call :W7ExperienceEditionCustomSelection
    
    Here is my Personal PreSets
    rem call :PersonalPreSets_RemoveWindowsComponents
       rem call :PersonalFamilyCustomSelection
       rem call :PersonalWorkCustomSelection
           rem call :ListsandPreSets_Filter
           rem call :StartRemovingWindowsComponents
    
    :: Auto Customize Menu
    RemoveInboxAppsAssociation
    ImportInboxAppsAssociation
    ImportStartMenuLayout
    
    ImportCustomRegistry
    
    "w8"
       CustomDisableAutomaticallyInstallationforPreSuggested3RDPartyApps
       DisableWindowsSmartScreen
       CustomWindowsDefender_WindowsDefenderSecurityCenterTweaks
       EnableCustomWindowsDriversUpdateTweaks
       CustomDisableWindowsUpdateTweaks
       DisableWindowsUpgrade
       ForceLatestNetFramework
       EnablePhotoViewer
       EnableFMP3ProCodec
       BlockAutoEdgeChromiumBasedDelivery
    
    "w10_w11"
       HiberbootEnabled
       EnableDarkThemeandTransparency
       ControlPanelnConfigsandSettingsforFastestWindows
       WindowsExplorer_PreferencesandPolicies
       HideMeetNowIcon
       HideNewsAndInterests
       SetQoSlimittozero_internetWithNoLimits
       BugFix_WiFinoInternetConnection
       SetLanmanWorkstationandDownloads_OptimizationConfigs
       CustomDisableAutomaticallyInstallationforPreSuggested3RDPartyApps
       SetCloudContentfor3RDPartyAppsandDataCollection_Policies
       SetWindowsSearchandCortana_PreferencesandPolicies
       DisableSIA_DebugTracing
       CustomWindowsErrorReporting_Policies
       DisableWindowsSmartScreen
       CustomWindowsDefender_WindowsDefenderSecurityCenterTweaks
       EnableCustomWindowsDriversUpdateTweaks
       CustomDisableWindowsUpdateTweaks
       DisableWindowsUpgrade
       DisableReservedStorage
       ForceLatestNetFramework
       EnablePhotoViewer
       EnableFMP3ProCodec
       EnableFullResetBase
       GeneralTweaks
    "w10"
       BlockAutoEdgeChromiumBasedDelivery
    "w11"
       BypassReq
       HideChatIcon
       HideWidgetsIcon
       TaskbarAlignment_Center2Left
       UnBlockAutoEdgeChromiumBasedDelivery
    
    :: Auto Apply Menu
    Cleaning up Image folder
    Trim unwanted Editions
    
    VirtualCreate_ImageIndexEditions
    Edition to be Virtualy Created if supported.
       ProfessionalWorkstation
       ProfessionalWorkstationN
       ProfessionalEducationN
       ProfessionalEducation
       Enterprise
       EnterpriseN
       ServerRdsh
       EducationN
       Education
       IoTEnterprise
       CloudEdition
       CloudEditionN
       CoreSingleLanguage
    

    Any issues, let me know.

    39. Added the option to integrate SysInternals Suite. Every time you do integration will automatically download the latest version. The download process is performed through the BITS, datetime stamp will be maintained according to what is present in the file on the remote server. SysInternasl Suite is updated by MS, quizenally, and sometimes weekly.

    40. Inserted a Packs folder with individual scripts for auto download of *.msu files and auto extract *.cab needed files.
    Just extract and replace if necessary inside the toolkit folder, nothing important will be replaced, only the txt with the links, as some were empty.

    41. Shortened IMCK paths, as the purpose of reducing long path problems.
    from
    %SystemDRIVE%\Toolkit
    to
    %SystemDRIVE%\IMCK

    from
    %SystemDRIVE%\Toolkit\Mount
    to
    %SystemDRIVE%\IMCK\MNT

    from
    %Mount%\Install
    to
    %Mount%\I

    from
    %SystemDRIVE%\Toolkit\Temp
    to
    %SystemDRIVE%\IMCK\TMP

    With this change, the mount point that was long:
    C:\Toolkit\Mount\Install\*
    Now it was shortened to:
    C:\IMCK\MNT\I\*
    The asterisk is the number of mounted index.

    42. Huge Code Refactoring - Implemented automated menu generator system.
    Before that, I always wanted to reduce the amount of menus for only one menu, in order to optimize the code.
    But when some component was added the work to put in numerical or alphabetical order was very arduous.
    We had to change order, put number by number and letter by letter until we can make available to you.

    It was necessary to put all the conditions both for the menu view and the algorithm and its correspondence.
    Now, just add the components and display conditions to the menu and the algorithm does not need to have repetitions.
    Thus, the menu is generated numerically, but displaying according to your description, in alphabetical order. So, according to our choices, it seeks the respective algorithms for its correct execution.

    Alphabetical order, in the case of "Install Media Customizer Kitchen - IMCK", will only be avoided in order to group some apps associated with each other.
    Ex: Xbox App e Gaming App.
    They are the same app, and this has its name changed in Windows 11, so kept next to the other Xbox Apps options.

    With this system implemented, all the menus I had made available in parts, I returned to make them whole.
    The intention of divided menus was to maintain continuous numeration without jumps.
    Ex: for x86 The "Mixed Reality Portal App" was not displayed and a number was missing.

    Shortened code block of "Integrate Features Menu" and "Integrate Custom Features Menu"...
    from:
    3756 (CustomToolkit 2021-12-29 with Multi Selection Menus)
    to:
    1827 code lines

    The Full Code Optimization... Fully implemented Auto Generate Menu for all Menus.
    from:
    35622 lines
    to:
    35055 lines

    Changed Menus:
    Integrate Features Menu
    Language Packs Menu
    Drivers Menu
    Dart Menu
    Windows Legacy Games Menu
    InboxApps Menu
    Integrate WHD Updates Menu
    Integrate Custom Features Menu
    Remove Menu
    Remove Internet Components Menu
    Remove Multimedia Components Menu
    Remove Privacy Components Menu
    Remove Remoting Components Menu
    Remove System Components Menu
    Remove System Apps Components Menu
    Remove Windows Apps Components Menu
    Customize Menu
    [8] Select Official Tweaks (Apply Tweaks Menu)
    [9] Select Custom Tweaks Menu
    Bypass Windows 11 Hardware Requirements option has been moved to each of these 8 and 9 Menus.

    If you have already had the job of selecting something from the "Official Tweaks" menu and resolve going to the "Custom Tweaks" menu, a filter has been added so that the corresponding options are displayed and automatically selected for you. You can add options from both menus, but never in both menus your correspondents.
    This is interesting so you can select options not present from the official list, but keep the implementation of the official options.
    NOTE: If you come back in any of the menus, you will remain the selection of common matches from the last menu accessed. Before you apply the selected tweaks, simply enter the desired menu (official or custom) to correct.

    43. Added this Tweak to Windows 11 Bypass Hardware Requirements for install.wim, not boot.wim:
    *Disable New Watermark Message: "System requirements not met. Go to Settings to learn more."

    44. Implemented an identification of all Editions of the Image at the start of the script so that it is not necessary to call dism to check which Edition it is, in every loop of every deployment that requires this identification.
    This has provided a small process reduction in the integration of Windows Updates, a nice optimization in the code.

    44.1 Fixed the Editions ID for removing components and for disabling and enabling features.

    45. Added "Warning" in the "Remove Windows Components Menu" for very recent Image Builds and Image Service Pack Builds, not supported by the latest version of the Toolkit.

    46. For the ones who always enables NetFX35...
    If you want to enable NetFX35 through the "Enable Features" customization option, it doesn't work because it is only a list of Features and it is mandatory to specify the .cab package.
    In this case, to avoid the "pending problem" in using the cleanup source, I think it would be interesting to put IntNetFX35 to be called when this is found in the Enable Features list as "NetFX3".
    So... If NetFX3 is present in your list to enable features, the NetFX35 Integrate session will be called, which will integrate the packages already present in the ISO being worked on.
    Therefore, the order of the Customize menu options has been changed, leaving Disable and Enable Features as the final customization options.
    I also made a Full_FeaturesList.txt. Then, the script, with the conditions, will control the features for each build.
    This idea came up when I was testing the final merge and forgot to put the correct list for Windows 11.
    And also, so that we can do the Source Cleanup before the NetFX35 integration that causes the pending that prevents the Cleanup.
    Note: In fully automatic mode (without questioning), the Cleanup Sources will be bypassed and not applied.

    47. Fixed bug in "Install Media Customizer Kitchen - IMCK"'s WIMExport option. It was saving the image to another wim file with the name ".wim", without the filename defined by user.

    48. Fixed a bug that after savesource, it was not performing the final optimization of the image (rebuild). This was creating very large images due to the presence of the "[DELETED]" folder within the install.wim image.

    49. Discovered the Windows 10 Tweak that caused problems in the Windows 11 Taskbar, problem fixed.
    Script to Fix for those running Windows 11 with this problem in the "Wifi, Volume Control, Battery Status and Calendar" icons, added in InstallMediaCustomizerKitchen package.

    The Windows 10 Tweak that causes this issue is:
    reg.exe add ... "DisableNotificationCenter" /t REG_DWORD /d "1" /f.

    50. Added function to Export Host Drivers, so you can integrate directly to the image. Export of all drivers will be performed and copied to the folder referring to the Host OS, not referring to the image being prepared.
    A prompt will be offered so that you can choose to use Drivers extracted from Windows 10 for integration into Windows 11.
    I suggest that at the first opportunity to get the drivers directly from Windows 11, you do so. Then replace the ones in the ".\Drivers\Install\W11" folder.

    51. Added function to Mount WinRE.wim and BOOT.wim if you need to, after you have mounted install.wim. There is no need to unmount (that is a waste of time) to do the whole process again.
    Just go to [7] Tools Menu and mount what you need.

    52. Redesigned the code session for Customizing the Start Menu Layout in Windows 11. The templates will be placed in ".\Bin\StartMenuLayoutBIN\Templates" There is a Readme.txt on what to do.
    If you don't want to change anything, just apply the Start Menu Layout in the Customize Menu, a Default Template will be applied and only "File Explore" and "Settings" will be placed in the Start Menu.
    Hints on this subject provided by member @MIMMO61
    Code:
    "DefaultStartMenuLayout.bin" Has only pinned shortcuts for non-removables. File Explorer and Settings.
    That is why I selected it as Default.
    
    1. Choose any file within Templates folder;
    
    2. Copy it to Main ".\Bin\StartMenuLayoutBIN" folder;
    
    3. Rename it to "CustomStartMenuLayout.bin".
    
    Note: If the file "CustomStartMenuLayout.bin" is present, the file "DefaultStartMenuLayout.bin" will be ignored.
    
    
    You can simply create your template (adding, removing and arranging the order of the pinned shortcuts) directly in your Start Menu.
    
    When your customization is ready, copy the "start.bin" file that was instantly overwritten, into the folder "%LocalAppdata%%\PackagesMicrosoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\LocalState".
    And put the newly generated "start.bin" renamed as "CustomStartMenuLayout.bin" into the ".\Bin\StartMenuLayoutBIN" folder.
    

    53. During the "Remove Windows Components" procedure. a "Script" will be added to the "Start Menu - StartUp" to remove the Edge shortcut from quicklaunch and desktop.
    With this technique, there is no way this shortcut will remain, but after the automatic update of Edge I don't know if it will return, most likely it will.

    54. Added Image Format option to SaveSource as WIM or ESD in the CustomToolkit ApplyMenu. Thnks to @n3ro97 suggestion.
    You can choose to save as WIM or ESD before selecting Savesource.

    55. Added Auto Generate ISO at end Optimizing Process that not occurs when VirtualCreateEditions are Disabled.

    56. Merged "Extract Source from MCT" with "Extract Source from Custom" ESD Image as it is the same code.

    57. Added support for "Multiple Image Index Deletion" to ESD Images on "Wim Delete" that was renamed for "WIM/ESD Multi Image Index Deletion" and was moved from WIMManagerMenu to root of ToolsMenu.

    58. Added the alternative to SetupComplete to provide direct web installation after the internet connection is established and interactively, as in Winget the -silent argument for total silent mode, because make some apps enter infinite loop.
    Post 03: https://forums.mydigitallife.net/th...y-known-as-custom-toolkit.86170/#post-1765650

    It is something relatively simple.

    You just have to integrate a small script "StartMenu_SetupComplete.cmd" through the Customize Menu --> [A] option. Which after install will detect Internet Connection and the presence of 2 possible scripts within a folder called Installers within your installation USB stick and display a menu for the execution of these scripts.
    In the menu there is a 'R' option to remove the script from startup.
    You may want to continue installation of the applications at another time, when restarting the computer, if the USB stick is in place the menu will be displayed again. Otherwise it will only be closed due to the absence of "installation media" with the "Installers" folder and these scripts.
    The purpose of this is to install Windows quickly and be able to use your features while installing your applications in there latest released versions.

    Script 1 - "1stLogon_SetupComplete.cmd" you customize for anything offline, apps in Silent Install or others that don't run through the setupcomplete that can be placed in the Installers folder created inside the USB stick. I am also studying some details about "FirstLogon", as one of the scripts I named "1stLogon". There are still some details to be completed, maybe I have done a job that already exists, but I have never seen it.

    Script 2 - "1stConnection_SetupComplete.cmd" is specific for installing apps directly from the web.
    This script will perform a PowerShell "Winget_install [Interactionvri] .PS1" script that will display a list of apps for you to choose. These will be installed through Winget, sequentially according to the order you select the options.
    It is interesting to keep the prerequisites of MS Store and App Installer that will receive an update at the beginning of the execution of this script.

    NOTE 1: Only the menu script will be integrated. However, it is interesting to keep the 4 scripts inside the Installers folder in case it is necessary to run manually, so you can test as well, in your current installation or virtual machine already configured.

    NOTE 2: Within scripts 1 and 2 there is a delimitation for you to change, add or remove parts from the script.
    Code:
    rem Begin your Script block from here.
    .
    .
    .
    rem End of your Script block here.
    

    Follow the list of applications I keep in the "Installers" folder for direct installation that work with the example script:
    Code:
    StartMenu_SetupComplete.cmd
    1stConnection_SetupComplete.cmd
    1stLogon_SetupComplete.cmd
    winget_install[inTerActionVRI].ps1
    
    DirectX_Redist_Repack_x86_x64.exe
    dotNetFx35_WX_9_x86_x64.exe
    HashCheckSetup-v2.4.0.exe
    klcp_mega_unattended-x64.ini
    klcp_mega_unattended-x86.ini
    ndp48-x86-x64-allos-enu.exe
    ndp48-x86-x64-allos-ptb.exe
    PowerShell-7.2.4-win-x64.msi
    PowerShell-7.2.4-win-x86.msi
    RapidCRC-Setup-0.3.37-x64.msi
    RapidCRC-Setup-0.3.37-x86.msi
    VisualCppRedist_AIO_x86_x64-60.exe
    K-Lite_Codec_Pack_1705_Mega.exe
    windowsdesktop-runtime-6.0.6-win-x64.exe
    windowsdesktop-runtime-6.0.6-win-x86.exe
    windowsdesktop-runtime-3.1.26-win-x86.exe
    windowsdesktop-runtime-3.1.26-win-x64.exe
    KMS_VL_ALL_AIO_Updated.cmd
    unchecky_setup.msi
    
    If any of these are not in the folder, the script ignores. And, you don't have to seek to rename versions, just keep updated and remove apps with old version of the folder.


    Note3: This is not possible with preinstalled apps, as it gets obsolete and there is a need to prepare another ISO, and do the manual work of: download, rename and position everything in their proper places. While, this is not necessary.

    59. Added Toolkit Automated Menu.

    60. Toolkit Automated Menu now is Categorized and With Componet Description Like Official Remove Menus;
    Disable/Enable Features are converted in Automated Menus;

    61. Removed the ""GenericStart_LauncherMenu.cmd"" script, that run the "CustomToolkit" as Trusted Installer with the nSudo.
    Now the "Toolkit" and "CustomToolkit" Starts with 2 clicks - Then will restart with nSudo (***Do not start the script as Admin, as the nsudo will be bypassed and several permission errors will occur.***).

    62. Improved IntNetFX35 to add LangPack, Improved "Remove locked package" and Improved Cleaning Up Image Mount Points.

    63. Added an external ".\Bin\EnvironmentPath.zip" package with Script file to config Working Folder (it will auto extract one time on Bin folder).
    You can customize your Working Folder by editing the "EnvironmentPath.cmd".
    The current "Install Media Customizer Kitchen - IMCK" Working Folder is "C:\IMCK\".

    64. GenericStart is the default Script Start, but a new method to start with 2 clicks has been added. Let's see if the denied access problems will be part of the past.

    65. Added an option within the "WHD Updates Menu" to download and put Aria2C in the Toolkit Bin folder that will download the UUP Dump updates, to the build that is being serviced, directly to the folder of this build, in the Toolkit structure.
    NOTE: The code is conditioned to avoid the updates described in the UUP Dump as "Preview".

    66. Since the integration of SSU, LCU or CU and Enablement in the Core* Editions prior to 19041 no longer works, I put conditions to ignore integration in these indexes.
     
  5. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,663
    3,416
    60
    #5 inTerActionVRI, Nov 22, 2022
    Last edited: Jul 7, 2023
    (OP)
    ChangeLogs :

    [2023-06-29]: New IMCK. Fixed meny repported bugs and released the Stable Localized IMCK, merged with MSMG Toolkit 2023-06-28 and 2023-06-29.

    [2023-06-09]: Released the First Localized version of IMCK, merged with MSMG Toolkit 2023-05-29 and 2023-06-08.


    [2023-01-04]: Fix some bug related with new components after Windows Updates Integration and fixed a critical bug that break the script when user enter the SystemApps Menu. Added Hide VC++ from Uninstall Programs list when Integrating VC++Runtime Pack.
    [2022-12-30]: Merged with Toolkit [2022-12-21 and 2022-12-28].

    [2022-12-02]: Merged with Toolkit [2022-11-30].

    [2022-11-26]: Merged with Toolkit 12.9 [2022-11-25].
    [2022-11-22]: Merged with Toolkit 12.9 [2022-11-13] and [2022-11-19].
    And other minor fixes.

    [2022-10-16]: New Custom Toolkit in updated file attached. Updated "GenericStart_LauncherMenu.cmd" and "StartScript[asTrustedInstaller].cmd": Added a statement for Script to work only with nSudo support
    (Run as Admin - has bring some known issues) Now brings a message to Start with "GenericStart_LauncherMenu.cmd" avoiding waste of time when some of us take automatic behavioral action to run as Admin.
    Installers.zip is extracted to DVD folder when the Tweak "Start Menu Setup Complete" is used.
    Fixed Remove Components by ToolkitHelper List in the Automated Process. Thanks to @Bira for reporting.
    [2022-10-11]: Improved the Automated Process. Fixed some display issues. Thanks to @bala1 for reporting.
    [2022-10-08]: Auto Host CodePage fixed. Thanks to @ZXGU for reporting.
    [2022-10-05]: Merged with 12.7 and 12.8. And other minor fixes.

    [2022-09-22]: New Custom Toolkit in updated file attached. Improved Performance when start Make ISO option and after Removing Unwanted Indexes. Optimized the code to avoid repeating the same process some times. Thnks to @bala1.

    [2022-09-19]: Fixed "Remove Windows Components Using Package List Menu" options not working. Thnks to @bala1

    [2022-09-18]: New Custom Toolkit in updated file attached. Brunch ID fix for 20348 and added WHD auto download support for new 20349 build. And new 2022-09-18 VirtualCreate_ImageIndexEditions.zip update.

    [2022-09-17]: Minor fix thnks to @GeorgePirkl for testing.

    [2022-09-16]: Merged with Toolkit 12.6 [2022-09-01]. Several improvements with focus on Server.

    [2022-08-11]: The UUPDump download code based on the 19045 String make an ISO with some problems that made me suspicious of instability.
    So, I decided to return the search and download by String 19044, as it is stable, and when changing to 19045 were also generated problems with download of the updates to LTSC. This has been corrected predicting that I will put it to search for 19045 again. Then for LTSC the downloads will remain being made based on 19044.
    Fixed a bug that made the update files download to be performed 2 times.
    And some code optimization.

    [2022-08-08]: New Custom Toolkit in updated file attached. Added Option to integrate Edge WebView2 MSMG TPK package for w7, w81 and w10. Added Support for servicing 19045 build and 19041 to download 19045 updates from UUPDump. Fixed minor bug of ISO name for Generating ISO. Thnks to @bala1 for testing.
    Latest Changes in "Full Changes Description" 64 to 66. Check the "All ChangeLogs" Spoiler.

    [2022-07-23_02]: Fixed a bug when downloading 22000 UUPDump updates. This already corrects to 22621 or 22622 if the same situation occurs.
    Latest Changes in "Full Changes Description" 64 to 66. Check the "All ChangeLogs" Spoiler.

    [2022-07-23_01]: Merged with Toolkit_v12.5 [2022-07-20]. Several Minor Fixes and Aestetical changes

    [2022-06-29]: New Custom Toolkit in updated file attached. Merged with Toolkit_v12.4 [2022-06-29]. Added an external .\Bin\EnvironmentPath.zip package with Script file to config Working Folder (it will auto extract one time on Bin folder). Enable/Disable Features now has separate menus and lists options.
    Latest Changes in "Full Changes Description" 59 to 63. Check the "All ChangeLogs" Spoiler.

    [2022-06-23_2]: Fixed GenericStart and added "Toolkit_Start.cmd".
    [2022-06-23_1]: Readded "GenericStart_LauncherMenu.cmd". And updated almost all scripts in the package.

    [2022-06-21]: Critical Fixes. Disable Features Menu was not working correctly when applying the selection. Fixed a problem that prevented the functioning of Enable-Features, Disable-Features and Remove Components, to the indexes after the first one serviced. Minor Fix HostLanguage detection for 22000 was not working.

    [2022-06-20]: Removed the ""GenericStart_LauncherMenu.cmd"" script, that run the "CustomToolkit" as Trusted Installer with the nSudo. Now the "Toolkit" and "CustomToolkit" Starts with 2 clicks - Then will restart with nSudo (***Do not start the script as Admin, as the nsudo will be bypassed and several permission errors will occur.***). Toolkit Automated Menu now is Categorized and With Componet Description Like Official Remove Menus; Disable/Enable Features are converted in Automated Menus; Improved IntNetFX35 to add LangPack, Improved "Remove locked package" and Improved Cleaning Up Image Mount Points.
    Latest Changes in "Full Changes Description" 59 to 62. Check the "All ChangeLogs" Spoiler.

    [2022-05-20]: General Review of Remove Menu and Depedency Filter improvements; Added Toolkit Automated Menu.
    Latest Changes in "Full Changes Description" 59. Check the "All ChangeLogs" Spoiler.

    [2022-05-14]: Minor Fixes and Improvements. Added the Alternative to SetupComplete.
    Latest Changes in "Full Changes Description" 58. Check the "All ChangeLogs" Spoiler.

    [2022-04-30]: Several fixes. Optimized of the removal of components based on component presence information, extracted with the help command of Toolkithelper itself.

    [2022-04-22_2]: Removed Toolkit.cmd from the Custom Toolkit package. Leaving this file can cause the replacement of a newer version of the toolkit, this is the case today.
    Some aesthetic display changes were made and small fixes.
    I put support for "Multiple Image Index Deletion" to ESD Images on "Wim Delete" that was renamed for "WIM/ESD Multi Image Index Deletion" and was moved from WIMManagerMenu to root of ToolsMenu.
    Latest Changes in "Full Changes Description" 54 to 57. Check the "All ChangeLogs" Spoiler.

    [2022-04-22_1]: Merged with MSMG Toolkit 12.2 [2022-04-20]. Fixed the naming process of the new ISO and viewing the image information, before rearranging the indexes (this problem did not affect the building of ISO). Added ApplyMenu Image Format option to SaveSource as WIM or ESD. Merged 2 similar options of Extracting ESD Image.

    [2022-04-15]: Some fixes and changes about Saving Source with rearranging Single Language to first position in the Editions list. New VirtualCreate_ImageIndexEditions.zip with new multi_arch_iso.cmd.

    [2022-04-08]: Some fixes and usefull things added. Changes to work with new VirtualCreate_ImageIndexEditions.zip 2022-04-08 (updated with 2022-03-28 @abbodi1406 "uup-converter-wimlib-79")
    Latest Changes in "Full Changes Description" 49 to 53. Check the "All ChangeLogs" Spoiler.

    [2022-03-29]: Changes to work with new VirtualCreate_ImageIndexEditions.zip 2022-03-29 (updated with 2022-03-28 @abbodi1406 "uup-converter-wimlib-79")
    [2022-03-25]: Minor fix and added a warning, suggested by MSMG about: "Cleanup Source Images".
    [2022-03-23]: Several fixes.
    Latest Changes in "Full Changes Description" 43 to 49. Check the "All ChangeLogs" Spoiler.

    [2022-03-04]: Several fixes and a Huge Code Refactoring.
    Latest Changes in "Full Changes Description" 39 to 42. Check the "All ChangeLogs" Spoiler.




    Previous CHANGELOGS part 03: from [2023-06-09] onwards - Released Localized IMCK.


    Previous CHANGELOGS part 02: begining from 2021-07-16 to 2023-04-12 - End of non-Localized IMCK.

    Previous CHANGELOGS part 01: begining from 2020-07-04 to 1st year 2021-07-03_2
     
  6. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,663
    3,416
    60
    #6 inTerActionVRI, Nov 22, 2022
    Last edited: Jun 10, 2023
    (OP)
    Credits to :

    @MSMG - MSMG Toolkit/Toolkit.cmd
    @abbodi1406 - uup-converter-wimlib/create_virtual_editions.cmd
    @adguard - decrypt-multi-release v2020-10-21/(lang-baseimage.cmd;lang-esd.cmd;lang-uup.cmd)

    @freddie-o - "Run as TrustedInstaller" from Context menu with PowerRun
    @bala1 - LOCALES/(LOCALES.cmd;LOCALE_pt.cmd)



    Thanks to :

    @MSMG - For the teachings and for granted authorization and space in your Thread.
    @abbodi1406 - For the teachings.
    BAU/@AveYo - For the teachings.
    @Enthousiast - For the teachings.

    @mhussain - For providing motivation to start Toolkit customizations to improve accessibility.
    @Buck116 - For feedbacks (reporting bugs and making suggestions). For providing the idea to improve driver integration.
    @Bira - For feedbacks (testing, reporting bugs and making suggestions with inovative ideas). Presenting "decrypt-multi-release v2020-10-21" as a source and basis for adapting to the translation project.
    @bala1 - For feedbacks (testing, reporting bugs and making suggestions with inovative ideas). For the partnership and hard work of translation of IMCK.cmd/CustomToolkit.cmd.
    @正义羊 - For the interest in creating your translation into your language at IMCK.
    @zero cool root - For feedbacks (reporting bugs and making suggestions).
    @RafhaCorreia - For feedbacks (reporting bugs and making suggestions).
    @Dark Dinosaur - For feedbacks (reporting bugs and making suggestions) about some context menu stuff
    @graver.x - For feedbacks (reporting bugs and making suggestions).
    @haris_mdlf69 - For feedbacks (reporting bugs and making suggestions).
    @GeorgePirkl - For feedbacks (reporting bugs and making suggestions).
    @ZXGU - For feedbacks (reporting bugs and making suggestions).

    And, all other MDL Members Who Have Contributed to This ToolKit and Custom Toolkit in the form of Feedback, Troubleshooting and Suggestions.
     
  7. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,663
    3,416
    60
    Post 07 Extras 1
     
  8. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,663
    3,416
    60
    Post 08 Extras (Reserved)
     
  9. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,663
    3,416
    60
    Post 09 Reserved
     
  10. bala1

    bala1 MDL Member

    May 2, 2015
    179
    150
    10
    #10 bala1, Nov 22, 2022
    Last edited: Apr 26, 2024
    Post 10 LOCALES

    :: LOCALES
    Version 2024-04-04

    Project for the translation of messages displayed in the "IMCK" tool, which was customized by "inTerActionVRI", based on the "MSMG Toolkit".
    I developed, together with the support of "inTerActionVRI", a structure to add languages other than native English. And, thus, give greater coverage of the "IMCK" tool to other languages. With this structure, the possibility of translation from English to other languages will be facilitated. We count on the collaboration of people willing to do the translation from their respective languages, to implement it in "IMCK";

    Currently: REVIEW: 2024-04-06 Project in the launch phase. Completed the insertion of all variables in both: LOCALES.cmd, LOCALE_pt.cmd and IMCK_13.5_LocalesTranslateProject.cmd.

    :: LOCALES
    Version 2024-04-04
    copy to ".\LOCALES" folder
    :: Compatibility for Install Media Customizer Kitchen - IMCK
    Version 13.5 2024-04-06

    :: The work, from all the transfer of the texts from Install Media Customizer Kitchen - IMCK and, respectively: the creation of the translation variables, the main "LOCALES.cmd" file that keeps the language [en-US] and the "LOCALE_pt.cmd" file translation to Portuguese [pt-BR] or [pt-PT], were performed by the maintainer, @bala1.

    :: Translation script adapted from the system available on the "decrypt-multi-release v2020-10-21" script available by adguard.
    Suggestion/tip on this script made by @Bira;
    Adaptation and improvements for Install Media Customizer Kitchen - IMCK made by @inTerActionVRI.

    "OEM 860: Portuguese" supports the entire ISO 8859-1 repertoire (PT-BR standard) (but is specific to Portuguese).
    "OEM 858: Multilingual Latin I + Euro" supports the entire ISO 8859-1 (PT-BR) repertoire (created from OEM 850 in 1998 by Microsoft, so it is the best option as it provides wide compatibility with display of several languages).
    :: Mandatory: Make sure the coding is activated for your language to be correct before editing.
    This is done by Notepad ++ on the tab: "Encoding" -> "Character Set" -> "Region" -> "Your Language Coding"

    Ex PT-BR:
    "Encoding" -> "Character Set" -> "Western European" -> "OEM 858"

    NOTE: Download the attached file and extract the contents inside the IMCK workbook
     

    Attached Files:

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. bala1

    bala1 MDL Member

    May 2, 2015
    179
    150
    10
    #11 bala1, Nov 22, 2022
    Last edited: Apr 26, 2024
    Post 11 LOCALE_pt

    Projeto destinado à tradução das mensagens exibidas na ferramenta "IMCK", que foi customizada por "inTerActionVRI", com base na "MSMG Toolkit".
    Desenvolvi, junto com o apoio de "inTerActionVRI", uma estrutura para agregar outros idiomas, além do inglês nativo. E, assim, dar maior abrangência da ferramenta "IMCK", para outros idiomas. Com essa estrutura, será facilitada a possibilidade de tradução, a partir do inglês, para outros idiomas. Contamos com a colaboração de pessoas dispostas a fazer a tradução de seus respectivos idiomas, para implementá-la na "IMCK";

    Atualmente: REVIEW: 2024-04-06 Projeto em fase de lançamento. Concluída a inserção de todas as variáveis em ambos: LOCALES.cmd, LOCALE_pt.cmd e IMCK_13.5_LocalesTranslateProject.cmd.

    OBS: Baixar o arquivo anexo e extrair o conteúdo dentro da pasta de trabalho da IMCK

    :: LOCALE_pt
    Version 2024-04-26
    copie para a pasta ".\LOCALES"
    :: Compatibilidade para Install Media Customizer Kitchen - IMCK
    Versão 13.5 2024-04-06

    :: O trabalho, de toda a transferência dos textos do Install Media Customizer Kitchen - IMCK e, respectivamente: a criação das variáveis de tradução, o arquivo "LOCALES.cmd" principal que mantém o idioma [en-US] e o arquivo "LOCALE_pt.cmd" de tradução para Português [pt-BR] ou [pt-PT], foram realizados pelo mantenedor, @bala1.

    :: Script de tradução adaptado do sistema disponível no script "decrypt-multi-release v2020-10-21" disponibilizado pelo Adguard.
    Sugestão/dica sobre este script feito por @Bira;
    Adaptação e melhorias para a Install Media Customizer Kitchen - IMCK feitas por @inTerActionVRI.

    "OEM 860: Português" suporta todo o repertório da ISO 8859-1 (Padrão pt-BR) (Porém é específico para Português).
    "OEM 858: Multilingual Latin I + euro" suporta todo o repertório da ISO 8859-1 (Padrão pt-BR) (criado a partir da OEM 850 in 1998 pela Microsoft, sendo assim é a melhor opção visto que presta ampla compatibilidade com exibição de diversos idiomas).
    :: Mandatório: se certificar de que está ativada a Codificação "OEM 858" antes de editar.
    Isso é feito pelo notepad++ na aba: "Formatar" --> "Conjunto de Caracteres" --> "Europa Ocidental" --> "OEM 858"
     

    Attached Files:

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. bala1

    bala1 MDL Member

    May 2, 2015
    179
    150
    10
    #12 bala1, Nov 22, 2022
    Last edited: Jun 9, 2023
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. bala1

    bala1 MDL Member

    May 2, 2015
    179
    150
    10
    #13 bala1, Nov 22, 2022
    Last edited: Apr 26, 2024
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. bala1

    bala1 MDL Member

    May 2, 2015
    179
    150
    10
    #14 bala1, Nov 22, 2022
    Last edited: Apr 26, 2024
    Post 14 ChangeLOGS

    [2023-06-09]: Release of the first version
    of the language pack for IMCK_v13.4.
    Translation so far available English and Portuguese.

    [2024-04-06]: Release of the first version of the language pack for IMCK_v13.6.
    Translation so far available English and Portuguese.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. bala1

    bala1 MDL Member

    May 2, 2015
    179
    150
    10
    #15 bala1, Nov 22, 2022
    Last edited: Nov 27, 2022
    Post 15 ChangeLOGS 2
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. bala1

    bala1 MDL Member

    May 2, 2015
    179
    150
    10
    #16 bala1, Nov 23, 2022
    Last edited: Nov 27, 2022
    Reserved 16
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,663
    3,416
    60
    #17 inTerActionVRI, Nov 27, 2022
    Last edited: Dec 2, 2022
    (OP)
    Install Media Customizer Kitchen - Main Post
    https://forums.mydigitallife.net/th...n-imck-formely-known-as-custom-toolkit.86170/


    VirtualCreate_ImageIndexEditions.zip 2022-11-21 (updated with 2022-11-07 @abbodi1406 "uup-converter-wimlib-86")
    Note: To work with Virtual Create, it is not necessary to extract the file. Just save it to the Toolkit folder.

    Sent a new IMCK. Updated file attached in the link above.

    Both downloads: in my Signature.


    Merged with Toolkit [2022-11-30].

    Convert ESD to WIM is in 1 option:
    --> 1 Source Menu --> 4 Convert Source Install Image file from .ESD to .WIM).
    bin\EsdDecrypter.exe file updated with available by aboodi1406 in the esd-decrypter-wimlib-63.7z package.

    Fixed: Obtaining the Download of Updates through the WHD Menu no longer repeats the Download at the time of implementing the Updates.
    Merged with 12.9 [2022-11-25].
    Merged with 12.9 [2022-11-13] and [2022-11-19]. And other minor fixes.

    Now the Images are mounted with Read/Write permission with Imagex.

    Edit 2022-12-02: New IMCK.
     
  18. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,663
    3,416
    60
    #18 inTerActionVRI, Dec 31, 2022
    Last edited: Dec 31, 2022
    (OP)
    @Tiger-1,

    I did a good part of the tests, but I can tell you that in the first installation test the problem is that after removing WinPE before integrating the updates, there was a problem, after the clean installation, in identifying the EP. Build 19044.2311 was identified as 19041.1.

    I verified that my code only integrated updates for Boot.wim and not for Install.wim. I've already fixed. That was a detail in the automatic part.

    With the removal of WinPE the boot.wim image reduced in size from 535Mb to 523mb pt-br.

    With the removal of WinRe the install.esd reduced the size from 4.60Gb to 3.09Gb. Yes, that would be worth it. But it was an illusion, since it didn't integrate the updates, hehehe.
    I didn't reach less than that because I integrate a lot, including w7 games.

    Note: The reduced the size, after removing winre, was around 435mb.


    So I fixed everything needed to handle an image with winpe removed. I even customized the aboddi scripts to handle boot.wim without WinPE. As a prime example multi_arch_iso.cmd.
    These custom versions are in the VirtualCreate_ImageIndexEditions package.


    Implemented removal of WinPE.
    Right after the question to decide whether or not to mount Boot.wim.
    There will be a question for you to choose to remove WinPE.

    Remembering that the Removal of WinRe has already been implemented for a few months.


    Code:
    ===============================================================================
             MSMG Toolkit - Apply & Save Changes to the Source Images
    ===============================================================================
    
    Un-Mounting Image Registry...
    
    -------------------------------------------------------------------------------
    ### Start Applying & Saving Changes to Source Images #######################
    -------------------------------------------------------------------------------
    
    
    -------------------------------------------------------------------------------
    Cleaning Up Image...
    -------------------------------------------------------------------------------
    
    Cleaning Up temporary and log files or folders...
    
    Finished Cleaning Up Image.
    
    
    -------------------------------------------------------------------------------
    Applying Changes & Un-Mounting [boot.wim, Index : 1] Image...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25247.1000
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Applying Changes & Un-Mounting [boot.wim, Index : 2] Image...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25247.1000
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Optimizing Source [boot.wim] Image with Maximum Compression...
    -------------------------------------------------------------------------------
    
    "B:\IMCK\InstallMedia\sources\boot.wim" original size: 797469 KiB
    Using LZX compression with 8 threads
    Archiving file data: 1387 MiB of 1387 MiB (100%) done
    "B:\IMCK\InstallMedia\sources\boot.wim" optimized size: 548207 KiB
    Space saved: 249262 KiB
    
    
    -------------------------------------------------------------------------------
    Applying Changes & Un-Mounting [install.wim, Index : 2 -> WinRe.wim] Image...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25247.1000
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Optimizing Source [install.wim, Index : 2 -> WinRe.wim] Image...
    -------------------------------------------------------------------------------
    
    "B:\IMCK\MNT\I\2\Windows\System32\Recovery\winre.wim" original size: 456796 KiB
    Using LZX compression with 8 threads
    Archiving file data: 1162 MiB of 1162 MiB (100%) done
    "B:\IMCK\MNT\I\2\Windows\System32\Recovery\winre.wim" optimized size: 449990 KiB
    Space saved: 6805 KiB
    
    
    -------------------------------------------------------------------------------
    Copying Optimized [WinRe.wim] Image File to [install.wim, Index : 1] Image...
    -------------------------------------------------------------------------------
    
    -------------------------------------------------------------------------------
    Applying Changes & Un-Mounting [install.wim, Index : 1] Image...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25247.1000
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    
    -------------------------------------------------------------------------------
    Copying Optimized [WinRe.wim] Image File to [install.wim, Index : 2] Image...
    -------------------------------------------------------------------------------
    
    -------------------------------------------------------------------------------
    Applying Changes & Un-Mounting [install.wim, Index : 2] Image...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25247.1000
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ### Copying Toolkit's Customized Source Install Media...
            from: <B:\IMCK\InstallMedia>
              to: <C:\VirtualCreate_ImageIndexEditions\InstallMedia> ###
    
    ### Copying Finished ###
    
    
    ===============================================================================
                         Displaying Chosen Editions CheckList
    ===============================================================================
    
    ProfessionalWorkstation
    ProfessionalWorkstationN
    ProfessionalEducation
    ProfessionalEducationN
    Enterprise
    EnterpriseN
    Education
    EducationN
    ServerRdsh
    IoTEnterprise
    IoTEnterpriseS
    CloudEdition
    CloudEditionN
    CoreSingleLanguage
    
    ===============================================================================
    
    
    ============================================================
    Checking Distribution Info . . .
    ============================================================
    
    ============================================================
    Configured Virtual Options . . .
    ============================================================
    
    AutoStart
    SkipISO
    AutoExit
    AutoEditions: ProfessionalWorkstation;ProfessionalWorkstationN;ProfessionalEducation;ProfessionalEducationN;Enterprise;EnterpriseN;Education;EducationN;ServerRdsh;IoTEnterprise;IoTEnterpriseS;CloudEdition;CloudEditionN;CoreSingleLanguage
    
    ============================================================
    Copying install.wim . . .
    ============================================================
    
    ============================================================
    Creating Edition: Pro for Workstations
    ============================================================
    
    Setting the WINDOWS/EDITIONID property of image 3 to "ProfessionalWorkstation".
    Setting the FLAGS property of image 3 to "ProfessionalWorkstation".
    Setting the DISPLAYNAME property of image 3 to "Windows 10 Pro for Workstations".
    Setting the DISPLAYDESCRIPTION property of image 3 to "Windows 10 Pro for Workstations".
    
    
    ============================================================
    Creating Edition: Pro Education
    ============================================================
    
    Setting the WINDOWS/EDITIONID property of image 4 to "ProfessionalEducation".
    Setting the FLAGS property of image 4 to "ProfessionalEducation".
    Setting the DISPLAYNAME property of image 4 to "Windows 10 Pro Education".
    Setting the DISPLAYDESCRIPTION property of image 4 to "Windows 10 Pro Education".
    
    
    ============================================================
    Creating Edition: Enterprise
    ============================================================
    
    Setting the WINDOWS/EDITIONID property of image 5 to "Enterprise".
    Setting the FLAGS property of image 5 to "Enterprise".
    Setting the DISPLAYNAME property of image 5 to "Windows 10 Enterprise".
    Setting the DISPLAYDESCRIPTION property of image 5 to "Windows 10 Enterprise".
    
    
    ============================================================
    Creating Edition: Enterprise multi-session
    ============================================================
    
    Setting the WINDOWS/EDITIONID property of image 6 to "ServerRdsh".
    Setting the FLAGS property of image 6 to "ServerRdsh".
    Setting the DISPLAYNAME property of image 6 to "Windows 10 Enterprise multi-session".
    Setting the DISPLAYDESCRIPTION property of image 6 to "Windows 10 Enterprise multi-session".
    
    
    ============================================================
    Creating Edition: Education
    ============================================================
    
    Setting the WINDOWS/EDITIONID property of image 7 to "Education".
    Setting the FLAGS property of image 7 to "Education".
    Setting the DISPLAYNAME property of image 7 to "Windows 10 Education".
    Setting the DISPLAYDESCRIPTION property of image 7 to "Windows 10 Education".
    
    
    ============================================================
    Creating Edition: IoT Enterprise
    ============================================================
    
    Setting the WINDOWS/EDITIONID property of image 8 to "IoTEnterprise".
    Setting the FLAGS property of image 8 to "IoTEnterprise".
    Setting the DISPLAYNAME property of image 8 to "Windows 10 IoT Enterprise".
    Setting the DISPLAYDESCRIPTION property of image 8 to "Windows 10 IoT Enterprise".
    
    
    ============================================================
    Creating Edition: Home Single Language
    ============================================================
    
    Setting the WINDOWS/EDITIONID property of image 9 to "CoreSingleLanguage".
    Setting the FLAGS property of image 9 to "CoreSingleLanguage".
    Setting the DISPLAYNAME property of image 9 to "Windows 10 Home Single Language".
    Setting the DISPLAYDESCRIPTION property of image 9 to "Windows 10 Home Single Language".
    
    
    ============================================================
    Rebuilding install.wim . . .
    ============================================================
    
    "ISOFOLDER\sources\install.wim" original size: 7236484 KiB
    Using LZX compression with 8 threads
    Archiving file data: 12 GiB of 12 GiB (100%) done
    "ISOFOLDER\sources\install.wim" optimized size: 5941797 KiB
    Space saved: 1294687 KiB
    
    ============================================================
    Done. You chose not to create iso file.
    ============================================================
    
    
    ### Copying Virtual Created - Image Index Editions Source to Install Media...
            from: <C:\VirtualCreate_ImageIndexEditions\19044.2311.221110-2027.21H2_RELEASE_SVC_PROD3_CLIENTMULTI_X64FRE_PT-BR>
              to: <B:\IMCK\InstallMedia> ###
    
    ### Copying Finished ###
    
    -------------------------------------------------------------------------------
    ### Copying Generic EI.cfg Config file to:
                            <B:\IMCK\InstallMedia\Sources> Folder ###
    -------------------------------------------------------------------------------
    
    ### Copying Finished ###
    
    
    Reading Image Information...
    
    ===============================================================================
    | Index  | Arch  | Name
    ===============================================================================
    |    1   | x64   | Windows 10 Home
    |    2   | x64   | Windows 10 Pro
    |    3   | x64   | Windows 10 Pro for Workstations
    |    4   | x64   | Windows 10 Pro Education
    |    5   | x64   | Windows 10 Enterprise
    |    6   | x64   | Windows 10 Enterprise multi-session
    |    7   | x64   | Windows 10 Education
    |    8   | x64   | Windows 10 IoT Enterprise
    |    9   | x64   | Windows 10 Home Single Language
    ===============================================================================
    
    
    Rearranging and Optimizing Image Indexes according to the below sequence...
    
    ImageIndexNo : "9;1;2;3;4;5;6;7;8"
    
    
    -------------------------------------------------------------------------------
    Optimizing Source ["install.wim", Image Index : 9] with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Using LZX compression with 8 threads
    Archiving file data: 11 GiB of 11 GiB (100%) done
    
    
    -------------------------------------------------------------------------------
    Optimizing Source ["install.wim", Image Index : 1] with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Using LZX compression with 1 thread
    Archiving file data: 77 MiB of 77 MiB (100%) done
    
    
    -------------------------------------------------------------------------------
    Optimizing Source ["install.wim", Image Index : 2] with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Using LZX compression with 1 thread
    Archiving file data: 310 MiB of 310 MiB (100%) done
    
    
    -------------------------------------------------------------------------------
    Optimizing Source ["install.wim", Image Index : 3] with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Using LZX compression with 1 thread
    Archiving file data: 79 MiB of 79 MiB (100%) done
    
    
    -------------------------------------------------------------------------------
    Optimizing Source ["install.wim", Image Index : 4] with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Using LZX compression with 1 thread
    Archiving file data: 79 MiB of 79 MiB (100%) done
    
    
    -------------------------------------------------------------------------------
    Optimizing Source ["install.wim", Image Index : 5] with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Using LZX compression with 1 thread
    Archiving file data: 79 MiB of 79 MiB (100%) done
    
    
    -------------------------------------------------------------------------------
    Optimizing Source ["install.wim", Image Index : 6] with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Using LZX compression with 1 thread
    Archiving file data: 79 MiB of 79 MiB (100%) done
    
    
    -------------------------------------------------------------------------------
    Optimizing Source ["install.wim", Image Index : 7] with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Using LZX compression with 1 thread
    Archiving file data: 79 MiB of 79 MiB (100%) done
    
    
    -------------------------------------------------------------------------------
    Optimizing Source ["install.wim", Image Index : 8] with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Using LZX compression with 1 thread
    Archiving file data: 79 MiB of 79 MiB (100%) done
    
    
    -------------------------------------------------------------------------------
    Optimizing Source ["install.wim" Generating "install.esd" Image]...
    -------------------------------------------------------------------------------
    
    Using LZMS compression with 5 threads
    Archiving file data: 12 GiB of 12 GiB (100%) done
    
    Install Media        - Path                  :
                          "B:\Toolkit\ISO\Windows 10 19041.1 21H2 Cobalt CBE x86-64 (forCustomizations)NTlite[TuksINUX].iso"
    
    
    Reading Image Information...
    
    ===============================================================================
    | Index  | Arch  | Name
    ===============================================================================
    |    1   | x64   | Windows 10 Home Single Language
    |    2   | x64   | Windows 10 Home
    |    3   | x64   | Windows 10 Pro
    |    4   | x64   | Windows 10 Pro for Workstations
    |    5   | x64   | Windows 10 Pro Education
    |    6   | x64   | Windows 10 Enterprise
    |    7   | x64   | Windows 10 Enterprise multi-session
    |    8   | x64   | Windows 10 Education
    |    9   | x64   | Windows 10 IoT Enterprise
    ===============================================================================
    
    
    
    -------------------------------------------------------------------------------
    ### Building a DVD ISO Image ##################################################
    -------------------------------------------------------------------------------
    
    UUPdump Build       : "19044"
    UUPdump SPBuild     : "2311"
    ISO Build Version   : "19044.2311_Client_v21H2_"
    
    Install Media Source - Label                 :
                          "Windows 10 21H2 x86-64"
    
    Install Media        - Name                  :
                          "W10-19044.2311_Client_v21H2_x86-64"
    
    New Install Media    - File Name             :
                          "W10-19044.2311_Client_v21H2_x86-64_[20221209_174737].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 (915 files in 87 directories)
    
    Computing directory information complete
    
    Image file is 4957700096 bytes (before optimization)
    
    Writing 915 files in 87 directories to B:\Toolkit\ISO\W10-19044.2311_Client_v21H2_x86-64_[20221209_174737].iso
    
    100% complete
    
    Storage optimization saved 24 files, 14194688 bytes (1% of image)
    
    After optimization, image file is 4945590272 bytes
    Space saved because of embedding, sparseness or optimization = 14194688
    
    Done.
    
    -------------------------------------------------------------------------------
    ### Finished Building a DVD ISO Image #########################################
    -------------------------------------------------------------------------------
    
    ===============================================================================
    
    -------------------------------------------------------------------------------
    ### Finished Applying & Saving Changes to Source Images #######################
    -------------------------------------------------------------------------------
    
    ===============================================================================
    


    Code:
    ===============================================================================
             MSMG Toolkit - Apply & Save Changes to the Source Images
    ===============================================================================
    
    Un-Mounting Image Registry...
    
    -------------------------------------------------------------------------------
    ### Start Applying & Saving Changes to Source Images #######################
    -------------------------------------------------------------------------------
    
    
    -------------------------------------------------------------------------------
    Cleaning Up Image...
    -------------------------------------------------------------------------------
    
    Cleaning Up temporary and log files or folders...
    
    Finished Cleaning Up Image.
    
    
    -------------------------------------------------------------------------------
    Applying Changes & Un-Mounting [boot.wim, Index : 1] Image...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25247.1000
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Applying Changes & Un-Mounting [boot.wim, Index : 2] Image...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25247.1000
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Optimizing Source [boot.wim] Image with Maximum Compression...
    -------------------------------------------------------------------------------
    
    "B:\IMCK\InstallMedia\sources\boot.wim" original size: 797491 KiB
    Using LZX compression with 8 threads
    Archiving file data: 1387 MiB of 1387 MiB (100%) done
    "B:\IMCK\InstallMedia\sources\boot.wim" optimized size: 548229 KiB
    Space saved: 249262 KiB
    
    
    -------------------------------------------------------------------------------
    Applying Changes & Un-Mounting [install.wim, Index : 1] Image...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25247.1000
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    
    -------------------------------------------------------------------------------
    Applying Changes & Un-Mounting [install.wim, Index : 2] Image...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25247.1000
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ### Copying Toolkit's Customized Source Install Media...
            from: <B:\IMCK\InstallMedia>
              to: <C:\VirtualCreate_ImageIndexEditions\InstallMedia> ###
    
    ### Copying Finished ###
    
    
    ===============================================================================
                         Displaying Chosen Editions CheckList
    ===============================================================================
    
    ProfessionalWorkstation
    ProfessionalWorkstationN
    ProfessionalEducation
    ProfessionalEducationN
    Enterprise
    EnterpriseN
    Education
    EducationN
    ServerRdsh
    IoTEnterprise
    IoTEnterpriseS
    CloudEdition
    CloudEditionN
    CoreSingleLanguage
    
    ===============================================================================
    
    
    ============================================================
    Checking Distribution Info . . .
    ============================================================
    
    ============================================================
    Configured Virtual Options . . .
    ============================================================
    
    AutoStart
    SkipISO
    AutoExit
    AutoEditions: ProfessionalWorkstation;ProfessionalWorkstationN;ProfessionalEducation;ProfessionalEducationN;Enterprise;EnterpriseN;Education;EducationN;ServerRdsh;IoTEnterprise;IoTEnterpriseS;CloudEdition;CloudEditionN;CoreSingleLanguage
    
    ============================================================
    Copying install.wim . . .
    ============================================================
    
    ============================================================
    Creating Edition: Pro for Workstations
    ============================================================
    
    Setting the WINDOWS/EDITIONID property of image 3 to "ProfessionalWorkstation".
    Setting the FLAGS property of image 3 to "ProfessionalWorkstation".
    Setting the DISPLAYNAME property of image 3 to "Windows 10 Pro for Workstations".
    Setting the DISPLAYDESCRIPTION property of image 3 to "Windows 10 Pro for Workstations".
    
    
    ============================================================
    Creating Edition: Pro Education
    ============================================================
    
    Setting the WINDOWS/EDITIONID property of image 4 to "ProfessionalEducation".
    Setting the FLAGS property of image 4 to "ProfessionalEducation".
    Setting the DISPLAYNAME property of image 4 to "Windows 10 Pro Education".
    Setting the DISPLAYDESCRIPTION property of image 4 to "Windows 10 Pro Education".
    
    
    ============================================================
    Creating Edition: Enterprise
    ============================================================
    
    Setting the WINDOWS/EDITIONID property of image 5 to "Enterprise".
    Setting the FLAGS property of image 5 to "Enterprise".
    Setting the DISPLAYNAME property of image 5 to "Windows 10 Enterprise".
    Setting the DISPLAYDESCRIPTION property of image 5 to "Windows 10 Enterprise".
    
    
    ============================================================
    Creating Edition: Enterprise multi-session
    ============================================================
    
    Setting the WINDOWS/EDITIONID property of image 6 to "ServerRdsh".
    Setting the FLAGS property of image 6 to "ServerRdsh".
    Setting the DISPLAYNAME property of image 6 to "Windows 10 Enterprise multi-session".
    Setting the DISPLAYDESCRIPTION property of image 6 to "Windows 10 Enterprise multi-session".
    
    
    ============================================================
    Creating Edition: Education
    ============================================================
    
    Setting the WINDOWS/EDITIONID property of image 7 to "Education".
    Setting the FLAGS property of image 7 to "Education".
    Setting the DISPLAYNAME property of image 7 to "Windows 10 Education".
    Setting the DISPLAYDESCRIPTION property of image 7 to "Windows 10 Education".
    
    
    ============================================================
    Creating Edition: IoT Enterprise
    ============================================================
    
    Setting the WINDOWS/EDITIONID property of image 8 to "IoTEnterprise".
    Setting the FLAGS property of image 8 to "IoTEnterprise".
    Setting the DISPLAYNAME property of image 8 to "Windows 10 IoT Enterprise".
    Setting the DISPLAYDESCRIPTION property of image 8 to "Windows 10 IoT Enterprise".
    
    
    ============================================================
    Creating Edition: Home Single Language
    ============================================================
    
    Setting the WINDOWS/EDITIONID property of image 9 to "CoreSingleLanguage".
    Setting the FLAGS property of image 9 to "CoreSingleLanguage".
    Setting the DISPLAYNAME property of image 9 to "Windows 10 Home Single Language".
    Setting the DISPLAYDESCRIPTION property of image 9 to "Windows 10 Home Single Language".
    
    
    ============================================================
    Rebuilding install.wim . . .
    ============================================================
    
    "ISOFOLDER\sources\install.wim" original size: 6789832 KiB
    Using LZX compression with 8 threads
    Archiving file data: 11 GiB of 11 GiB (100%) done
    "ISOFOLDER\sources\install.wim" optimized size: 5496041 KiB
    Space saved: 1293791 KiB
    
    ============================================================
    Done. You chose not to create iso file.
    ============================================================
    
    
    ### Copying Virtual Created - Image Index Editions Source to Install Media...
            from: <C:\VirtualCreate_ImageIndexEditions\19044.2311.221110-2027.21H2_RELEASE_SVC_PROD3_CLIENTMULTI_X64FRE_PT-BR>
              to: <B:\IMCK\InstallMedia> ###
    
    ### Copying Finished ###
    
    -------------------------------------------------------------------------------
    ### Copying Generic EI.cfg Config file to:
                            <B:\IMCK\InstallMedia\Sources> Folder ###
    -------------------------------------------------------------------------------
    
    ### Copying Finished ###
    
    
    Reading Image Information...
    
    ===============================================================================
    | Index  | Arch  | Name
    ===============================================================================
    |    1   | x64   | Windows 10 Home
    |    2   | x64   | Windows 10 Pro
    |    3   | x64   | Windows 10 Pro for Workstations
    |    4   | x64   | Windows 10 Pro Education
    |    5   | x64   | Windows 10 Enterprise
    |    6   | x64   | Windows 10 Enterprise multi-session
    |    7   | x64   | Windows 10 Education
    |    8   | x64   | Windows 10 IoT Enterprise
    |    9   | x64   | Windows 10 Home Single Language
    ===============================================================================
    
    
    Rearranging and Optimizing Image Indexes according to the below sequence...
    
    ImageIndexNo : "9;1;2;3;4;5;6;7;8"
    
    
    -------------------------------------------------------------------------------
    Optimizing Source ["install.wim", Image Index : 9] with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Using LZX compression with 8 threads
    Archiving file data: 11 GiB of 11 GiB (100%) done
    
    
    -------------------------------------------------------------------------------
    Optimizing Source ["install.wim", Image Index : 1] with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Using LZX compression with 1 thread
    Archiving file data: 77 MiB of 77 MiB (100%) done
    
    
    -------------------------------------------------------------------------------
    Optimizing Source ["install.wim", Image Index : 2] with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Using LZX compression with 1 thread
    Archiving file data: 293 MiB of 293 MiB (100%) done
    
    
    -------------------------------------------------------------------------------
    Optimizing Source ["install.wim", Image Index : 3] with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Using LZX compression with 1 thread
    Archiving file data: 79 MiB of 79 MiB (100%) done
    
    
    -------------------------------------------------------------------------------
    Optimizing Source ["install.wim", Image Index : 4] with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Using LZX compression with 1 thread
    Archiving file data: 79 MiB of 79 MiB (100%) done
    
    
    -------------------------------------------------------------------------------
    Optimizing Source ["install.wim", Image Index : 5] with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Using LZX compression with 1 thread
    Archiving file data: 79 MiB of 79 MiB (100%) done
    
    
    -------------------------------------------------------------------------------
    Optimizing Source ["install.wim", Image Index : 6] with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Using LZX compression with 1 thread
    Archiving file data: 79 MiB of 79 MiB (100%) done
    
    
    -------------------------------------------------------------------------------
    Optimizing Source ["install.wim", Image Index : 7] with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Using LZX compression with 1 thread
    Archiving file data: 79 MiB of 79 MiB (100%) done
    
    
    -------------------------------------------------------------------------------
    Optimizing Source ["install.wim", Image Index : 8] with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Using LZX compression with 1 thread
    Archiving file data: 79 MiB of 79 MiB (100%) done
    
    
    -------------------------------------------------------------------------------
    Optimizing Source ["install.wim" Generating "install.esd" Image]...
    -------------------------------------------------------------------------------
    
    Using LZMS compression with 5 threads
    Archiving file data: 11 GiB of 11 GiB (100%) done
    
    Install Media        - Path                  :
                          "B:\Toolkit\ISO\Windows 10 19041.1 21H2 Cobalt CBE x86-64 (forCustomizations)NTlite[TuksINUX].iso"
    
    
    Reading Image Information...
    
    ===============================================================================
    | Index  | Arch  | Name
    ===============================================================================
    |    1   | x64   | Windows 10 Home Single Language
    |    2   | x64   | Windows 10 Home
    |    3   | x64   | Windows 10 Pro
    |    4   | x64   | Windows 10 Pro for Workstations
    |    5   | x64   | Windows 10 Pro Education
    |    6   | x64   | Windows 10 Enterprise
    |    7   | x64   | Windows 10 Enterprise multi-session
    |    8   | x64   | Windows 10 Education
    |    9   | x64   | Windows 10 IoT Enterprise
    ===============================================================================
    
    
    
    -------------------------------------------------------------------------------
    ### Building a DVD ISO Image ##################################################
    -------------------------------------------------------------------------------
    
    UUPdump Build       : "19044"
    UUPdump SPBuild     : "2311"
    ISO Build Version   : "19044.2311_Client_v21H2_"
    
    Install Media Source - Label                 :
                          "Windows 10 21H2 x86-64"
    
    Install Media        - Name                  :
                          "W10-19044.2311_Client_v21H2_x86-64"
    
    New Install Media    - File Name             :
                          "W10-19044.2311_Client_v21H2_x86-64_[20221209_203123].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 (915 files in 87 directories)
    
    Computing directory information complete
    
    Image file is 4507041792 bytes (before optimization)
    
    Writing 915 files in 87 directories to B:\Toolkit\ISO\W10-19044.2311_Client_v21H2_x86-64_[20221209_203123].iso
    
    100% complete
    
    Storage optimization saved 24 files, 14194688 bytes (1% of image)
    
    After optimization, image file is 4494917632 bytes
    Space saved because of embedding, sparseness or optimization = 14194688
    
    Done.
    
    -------------------------------------------------------------------------------
    ### Finished Building a DVD ISO Image #########################################
    -------------------------------------------------------------------------------
    
    ===============================================================================
    
    -------------------------------------------------------------------------------
    ### Finished Applying & Saving Changes to Source Images #######################
    -------------------------------------------------------------------------------
    
    ===============================================================================
    


    Code:
    ===============================================================================
             MSMG Toolkit - Apply & Save Changes to the Source Images
    ===============================================================================
    
    Un-Mounting Image Registry...
    
    -------------------------------------------------------------------------------
    ### Start Applying & Saving Changes to Source Images #######################
    -------------------------------------------------------------------------------
    
    
    -------------------------------------------------------------------------------
    Cleaning Up Image...
    -------------------------------------------------------------------------------
    
    Cleaning Up temporary and log files or folders...
    
    Finished Cleaning Up Image.
    
    
    -------------------------------------------------------------------------------
    Applying Changes & Un-Mounting [boot.wim, Index : 1] Image...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25247.1000
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Optimizing Source [boot.wim] Image with Maximum Compression...
    -------------------------------------------------------------------------------
    
    "B:\IMCK\InstallMedia\sources\boot.wim" original size: 784693 KiB
    Using LZX compression with 8 threads
    Archiving file data: 1323 MiB of 1323 MiB (100%) done
    "B:\IMCK\InstallMedia\sources\boot.wim" optimized size: 535724 KiB
    Space saved: 248969 KiB
    
    
    -------------------------------------------------------------------------------
    Applying Changes & Un-Mounting [install.wim, Index : 1] Image...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25247.1000
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    
    -------------------------------------------------------------------------------
    Applying Changes & Un-Mounting [install.wim, Index : 2] Image...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.25247.1000
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ### Copying Toolkit's Customized Source Install Media...
            from: <B:\IMCK\InstallMedia>
              to: <C:\VirtualCreate_ImageIndexEditions\InstallMedia> ###
    
    ### Copying Finished ###
    
    
    ===============================================================================
                         Displaying Chosen Editions CheckList
    ===============================================================================
    
    ProfessionalWorkstation
    ProfessionalWorkstationN
    ProfessionalEducation
    ProfessionalEducationN
    Enterprise
    EnterpriseN
    Education
    EducationN
    ServerRdsh
    IoTEnterprise
    IoTEnterpriseS
    CloudEdition
    CloudEditionN
    CoreSingleLanguage
    
    ===============================================================================
    
    
    ============================================================
    Checking Distribution Info . . .
    ============================================================
    
    ============================================================
    Configured Virtual Options . . .
    ============================================================
    
    AutoStart
    SkipISO
    AutoExit
    AutoEditions: ProfessionalWorkstation;ProfessionalWorkstationN;ProfessionalEducation;ProfessionalEducationN;Enterprise;EnterpriseN;Education;EducationN;ServerRdsh;IoTEnterprise;IoTEnterpriseS;CloudEdition;CloudEditionN;CoreSingleLanguage
    
    ============================================================
    Copying install.wim . . .
    ============================================================
    
    ============================================================
    Creating Edition: Pro for Workstations
    ============================================================
    
    Setting the WINDOWS/EDITIONID property of image 3 to "ProfessionalWorkstation".
    Setting the FLAGS property of image 3 to "ProfessionalWorkstation".
    Setting the DISPLAYNAME property of image 3 to "Windows 10 Pro for Workstations".
    Setting the DISPLAYDESCRIPTION property of image 3 to "Windows 10 Pro for Workstations".
    
    
    ============================================================
    Creating Edition: Pro Education
    ============================================================
    
    Setting the WINDOWS/EDITIONID property of image 4 to "ProfessionalEducation".
    Setting the FLAGS property of image 4 to "ProfessionalEducation".
    Setting the DISPLAYNAME property of image 4 to "Windows 10 Pro Education".
    Setting the DISPLAYDESCRIPTION property of image 4 to "Windows 10 Pro Education".
    
    
    ============================================================
    Creating Edition: Enterprise
    ============================================================
    
    Setting the WINDOWS/EDITIONID property of image 5 to "Enterprise".
    Setting the FLAGS property of image 5 to "Enterprise".
    Setting the DISPLAYNAME property of image 5 to "Windows 10 Enterprise".
    Setting the DISPLAYDESCRIPTION property of image 5 to "Windows 10 Enterprise".
    
    
    ============================================================
    Creating Edition: Enterprise multi-session
    ============================================================
    
    Setting the WINDOWS/EDITIONID property of image 6 to "ServerRdsh".
    Setting the FLAGS property of image 6 to "ServerRdsh".
    Setting the DISPLAYNAME property of image 6 to "Windows 10 Enterprise multi-session".
    Setting the DISPLAYDESCRIPTION property of image 6 to "Windows 10 Enterprise multi-session".
    
    
    ============================================================
    Creating Edition: Education
    ============================================================
    
    Setting the WINDOWS/EDITIONID property of image 7 to "Education".
    Setting the FLAGS property of image 7 to "Education".
    Setting the DISPLAYNAME property of image 7 to "Windows 10 Education".
    Setting the DISPLAYDESCRIPTION property of image 7 to "Windows 10 Education".
    
    
    ============================================================
    Creating Edition: IoT Enterprise
    ============================================================
    
    Setting the WINDOWS/EDITIONID property of image 8 to "IoTEnterprise".
    Setting the FLAGS property of image 8 to "IoTEnterprise".
    Setting the DISPLAYNAME property of image 8 to "Windows 10 IoT Enterprise".
    Setting the DISPLAYDESCRIPTION property of image 8 to "Windows 10 IoT Enterprise".
    
    
    ============================================================
    Creating Edition: Home Single Language
    ============================================================
    
    Setting the WINDOWS/EDITIONID property of image 9 to "CoreSingleLanguage".
    Setting the FLAGS property of image 9 to "CoreSingleLanguage".
    Setting the DISPLAYNAME property of image 9 to "Windows 10 Home Single Language".
    Setting the DISPLAYDESCRIPTION property of image 9 to "Windows 10 Home Single Language".
    
    
    ============================================================
    Rebuilding install.wim . . .
    ============================================================
    
    "ISOFOLDER\sources\install.wim" original size: 6794668 KiB
    Using LZX compression with 8 threads
    Archiving file data: 11 GiB of 11 GiB (100%) done
    "ISOFOLDER\sources\install.wim" optimized size: 5500881 KiB
    Space saved: 1293787 KiB
    
    ============================================================
    Done. You chose not to create iso file.
    ============================================================
    
    
    ### Copying Virtual Created - Image Index Editions Source to Install Media...
            from: <C:\VirtualCreate_ImageIndexEditions\19044.2311.221110-2027.21H2_RELEASE_SVC_PROD3_CLIENTMULTI_X64FRE_PT-BR>
              to: <B:\IMCK\InstallMedia> ###
    
    ### Copying Finished ###
    
    -------------------------------------------------------------------------------
    ### Copying Generic EI.cfg Config file to:
                            <B:\IMCK\InstallMedia\Sources> Folder ###
    -------------------------------------------------------------------------------
    
    ### Copying Finished ###
    
    
    Reading Image Information...
    
    ===============================================================================
    | Index  | Arch  | Name
    ===============================================================================
    |    1   | x64   | Windows 10 Home
    |    2   | x64   | Windows 10 Pro
    |    3   | x64   | Windows 10 Pro for Workstations
    |    4   | x64   | Windows 10 Pro Education
    |    5   | x64   | Windows 10 Enterprise
    |    6   | x64   | Windows 10 Enterprise multi-session
    |    7   | x64   | Windows 10 Education
    |    8   | x64   | Windows 10 IoT Enterprise
    |    9   | x64   | Windows 10 Home Single Language
    ===============================================================================
    
    
    Rearranging and Optimizing Image Indexes according to the below sequence...
    
    ImageIndexNo : "9;1;2;3;4;5;6;7;8"
    
    
    -------------------------------------------------------------------------------
    Optimizing Source ["install.wim", Image Index : 9] with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Using LZX compression with 8 threads
    Archiving file data: 11 GiB of 11 GiB (100%) done
    
    
    -------------------------------------------------------------------------------
    Optimizing Source ["install.wim", Image Index : 1] with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Using LZX compression with 1 thread
    Archiving file data: 77 MiB of 77 MiB (100%) done
    
    
    -------------------------------------------------------------------------------
    Optimizing Source ["install.wim", Image Index : 2] with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Using LZX compression with 1 thread
    Archiving file data: 327 MiB of 327 MiB (100%) done
    
    
    -------------------------------------------------------------------------------
    Optimizing Source ["install.wim", Image Index : 3] with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Using LZX compression with 1 thread
    Archiving file data: 79 MiB of 79 MiB (100%) done
    
    
    -------------------------------------------------------------------------------
    Optimizing Source ["install.wim", Image Index : 4] with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Using LZX compression with 1 thread
    Archiving file data: 79 MiB of 79 MiB (100%) done
    
    
    -------------------------------------------------------------------------------
    Optimizing Source ["install.wim", Image Index : 5] with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Using LZX compression with 1 thread
    Archiving file data: 79 MiB of 79 MiB (100%) done
    
    
    -------------------------------------------------------------------------------
    Optimizing Source ["install.wim", Image Index : 6] with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Using LZX compression with 1 thread
    Archiving file data: 79 MiB of 79 MiB (100%) done
    
    
    -------------------------------------------------------------------------------
    Optimizing Source ["install.wim", Image Index : 7] with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Using LZX compression with 1 thread
    Archiving file data: 79 MiB of 79 MiB (100%) done
    
    
    -------------------------------------------------------------------------------
    Optimizing Source ["install.wim", Image Index : 8] with Maximum Compression...
    -------------------------------------------------------------------------------
    
    Using LZX compression with 1 thread
    Archiving file data: 79 MiB of 79 MiB (100%) done
    
    
    -------------------------------------------------------------------------------
    Optimizing Source ["install.wim" Generating "install.esd" Image]...
    -------------------------------------------------------------------------------
    
    Using LZMS compression with 5 threads
    Archiving file data: 11 GiB of 11 GiB (100%) done
    
    Install Media        - Path                  :
                          "B:\Toolkit\ISO\Windows 10 19041.1 21H2 Cobalt CBE x86-64 (forCustomizations)NTlite[TuksINUX].iso"
    
    
    Reading Image Information...
    
    ===============================================================================
    | Index  | Arch  | Name
    ===============================================================================
    |    1   | x64   | Windows 10 Home Single Language
    |    2   | x64   | Windows 10 Home
    |    3   | x64   | Windows 10 Pro
    |    4   | x64   | Windows 10 Pro for Workstations
    |    5   | x64   | Windows 10 Pro Education
    |    6   | x64   | Windows 10 Enterprise
    |    7   | x64   | Windows 10 Enterprise multi-session
    |    8   | x64   | Windows 10 Education
    |    9   | x64   | Windows 10 IoT Enterprise
    ===============================================================================
    
    
    
    -------------------------------------------------------------------------------
    ### Building a DVD ISO Image ##################################################
    -------------------------------------------------------------------------------
    
    UUPdump Build       : "19044"
    UUPdump SPBuild     : "2311"
    ISO Build Version   : "19044.2311_Client_v21H2_"
    
    Install Media Source - Label                 :
                          "Windows 10 21H2 x86-64"
    
    Install Media        - Name                  :
                          "W10-19044.2311_Client_v21H2_x86-64"
    
    New Install Media    - File Name             :
                          "W10-19044.2311_Client_v21H2_x86-64_[20221209_222453].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 (915 files in 89 directories)
    
    Computing directory information complete
    
    Image file is 4485414912 bytes (before optimization)
    
    Writing 915 files in 89 directories to B:\Toolkit\ISO\W10-19044.2311_Client_v21H2_x86-64_[20221209_222453].iso
    
    100% complete
    
    Storage optimization saved 24 files, 14194688 bytes (1% of image)
    
    After optimization, image file is 4473296896 bytes
    Space saved because of embedding, sparseness or optimization = 14194688
    
    Done.
    
    -------------------------------------------------------------------------------
    ### Finished Building a DVD ISO Image #########################################
    -------------------------------------------------------------------------------
    
    ===============================================================================
    
    -------------------------------------------------------------------------------
    ### Finished Applying & Saving Changes to Source Images #######################
    -------------------------------------------------------------------------------
    
    ===============================================================================
    
     
  19. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,663
    3,416
    60
    #19 inTerActionVRI, Dec 31, 2022
    Last edited: Dec 31, 2022
    (OP)
    Install Media Customizer Kitchen - Main Post
    https://forums.mydigitallife.net/th...n-imck-formely-known-as-custom-toolkit.86170/


    VirtualCreate_ImageIndexEditions.zip 2022-12-14 (updated with 2022-11-07 @abbodi1406 "uup-converter-wimlib-86")
    Note: To work with Virtual Create, it is not necessary to extract the file. Just save it to the Toolkit folder.

    Sent a new IMCK. Updated file attached in the link above.

    Both downloads: in my Signature.


    12.11 Merged with Toolkit [2022-12-21 and 2022-12-28].

    1. Added a question for you to decide if you want to remove WinPE.
    And corrected all the code, to handle Boot.wim with just one index.

    2. Already after the removal of WinRE, in the Integration of WHD Updates, a problem that prevented the integration of updates in Install.wim was generated.
    So a new option has been added to fix this "Integrate to Windows Setup Boot ^& Install Images".


    3. Made a change to the display of component notes in the menus.
    Now the notes are more evident for those who will open the component removal menus for the first time.
    As you select the components to be removed, the warning messages will stop being displayed.
    The way it was, the person would type, for example: 25. Then the screen would reload and the person wouldn't even bother to see if any messages appeared.
    I've been thinking about this for some time now.

    4. A bug in the registry file converter has been fixed. The new file is available in the package for testing purpose.

    5. A bug in the code that downloads updates via UUP dump has been fixed.
    In this bug the right Build is found, but it wasn't getting the hash to download the list and start the downloads. Another bug fixed for downloading updates for x86.

    Merged with Toolkit [2022-11-30].

    Convert ESD to WIM is in 1 option:
    --> 1 Source Menu --> 4 Convert Source Install Image file from .ESD to .WIM).
    bin\EsdDecrypter.exe file updated with available by aboodi1406 in the esd-decrypter-wimlib-63.7z package.

    Fixed: Obtaining the Download of Updates through the WHD Menu no longer repeats the Download at the time of implementing the Updates.
    Merged with 12.9 [2022-11-25].
    Merged with 12.9 [2022-11-13] and [2022-11-19]. And other minor fixes.

    Now the Images are mounted with Read/Write permission with Imagex.

    May the new year bring you all good things.
    Happy New Year and Happy Holidays!
     
  20. haris_mdlf69

    haris_mdlf69 MDL Senior Member

    Oct 23, 2018
    441
    688
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...