1. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    #26001 inTerActionVRI, Jul 31, 2023
    Last edited: Jul 31, 2023
    @MSMG,

    all from:
    Code:
        if /i "%%#" neq "A" for %%# in (!MenuChoice!) do (
    
    to:
    Code:
        if /i "!MenuChoice!" neq "A" for %%# in (!MenuChoice!) do (
    


    This can be removed:
    Code:
        if /i "!MenuChoice!" equ "X" goto :SelectWindowsComponentsMenu
    
    As you already put it as:
    Code:
           if /i "%%#" equ "X" goto :SelectWindowsComponentsMenu
    

    In :WIMSplit it is already done.
    But in :WIMMerge there is the possibility of occurrence of the same issue.
    so, from:
    Code:
    call :RemoveFile "%DVD%\sources\*.swm"
    
    to:
    Code:
    if exist "%InstallWim%" call :RemoveFile "%DVD%\sources\*.swm"
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. mateszabo2001

    mateszabo2001 MDL Novice

    Jul 29, 2023
    4
    1
    0
    No, I dont had to extract, because my iso came with .wim by default. Not integratwd anything, removed some components, and applied tweaks. Maybe the converting is missing, thats why so big the iso
     
  3. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    I understood. So, it's really weird. At the moment, nothing comes to my mind.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. tempdrive1

    tempdrive1 MDL Member

    Aug 29, 2021
    103
    135
    10
    @mateszabo2001,

    Open your .iso and check the size of the folders and the .wim inside - I recommend using 7-Zip, the details are nicely displayed there.
    Normally the Sources folder should be around 4GB and install.wim around 3.5 - 4.5 GB. depending on how many Editions there are.
    If the install.wim appears to be too large, open it and check what is consuming too much space in it.
    The Editions (numbered folders) inside the install.wim should be between 10-15 GB each, depending on how many components were removed.
    These are unpacked sizes, and the packed size of an Edition folder should be the around half of its normal size.

    Once you have checked, we will have a better idea what was going on.
     

    Attached Files:

  5. Bira

    Bira MDL Senior Member

    Oct 4, 2017
    364
    210
    10
    #26005 Bira, Aug 1, 2023
    Last edited: Aug 1, 2023
    Export or optimize install.wim with wimlib ;

    optimize ;
    Code:
    wimlib-imagex optimize install.wim
    
    Export;
    Code:
    wimlib-imagex export "install.wim" all "install_Exportado.wim" --compress=LZX
    
    I believe that I have gathered everything that was integrated and removed it, and in the end it will have its size reduced, I hope I have helped
     
  6. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    How many Editions do you have and which ones have you changed?

    Ex:
    If you have 5 Editions and you change only the Pro without removing the others with Trim, the optimization will detect the differences and not reduce the size of the final install.wim.
    If you change all Editions, the final result will be effective with size reduction.

    What @Bira said is already done by Toolkit with wimlibimagex optimize without Trim and wimlibimagex export if with Trim.

    Perhaps the pause issue affected it in some way.
    Download the fixed version of Toolkit.cmd that MSMG posted today.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    @MSMG,

    This:
    if "%C_DesktopAppInstaller%" neq "*"
    Should it completely disable option 3?
    If so, it will still run "else". I did these tests a while ago in other codes.

    from:
    Code:
           if "%%#" equ "3" (
               if "%C_DesktopAppInstaller%" neq "*" if "%C_DesktopAppInstaller%" equ "+" (
               ) else (
               )
           )
    
    to:
    In order not to execute the else, the neq "*" must be in the scope of the if "%%#" equ "3":
    Code:
           if "%%#" equ "3" if "%C_DesktopAppInstaller%" neq "*" (
               if "%C_DesktopAppInstaller%" equ "+" (
               ) else (
               )
           )
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Ok, can you test only the component removal without applying those tweaks and the custom scripts.
     
  9. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Yes correct, have fixed it.
     
  10. mateszabo2001

    mateszabo2001 MDL Novice

    Jul 29, 2023
    4
    1
    0

    I used uupdump, got only the Professional edition, no other editions on the iso. Gonna try the comoression
     
  11. kokos76

    kokos76 MDL Novice

    Sep 27, 2015
    10
    1
    0
    #26011 kokos76, Aug 1, 2023
    Last edited: Aug 1, 2023
    I compared 3 online systems after trying to install (via Settings) the "Wireless Display" component:
    1) processed MSMG with Internet access but with disabled Windows Update
    2) original with internet access
    3) original without internet access
    The component I needed was successfully installed only on system #2. After that, using the command:
    Code:
    Dism /online /Get-Packages > C:\work\list.txt
    I determined that the packages
    Code:
    Package Identity : Microsoft-Windows-WirelessDisplay-FOD-Package~31bf3856ad364e35~amd64~ru-RU~10.0.22621.1
    State : Superseded
    Release Type : OnDemand Pack
    Install Time :
    
    Package Identity : Microsoft-Windows-WirelessDisplay-FOD-Package~31bf3856ad364e35~amd64~ru-RU~10.0.22621.608
    State : Installed
    Release Type : OnDemand Pack
    Install Time : 31.07.2023 15:40
    
    Package Identity : Microsoft-Windows-WirelessDisplay-FOD-Package~31bf3856ad364e35~amd64~~10.0.22621.1
    State : Superseded
    Release Type : OnDemand Pack
    Install Time :
    
    Package Identity : Microsoft-Windows-WirelessDisplay-FOD-Package~31bf3856ad364e35~amd64~~10.0.22621.1105
    State : Installed
    Release Type : OnDemand Pack
    Install Time : 31.07.2023 15:40
    
    present only in system #2. So, this is just such a "Modern" mechanism for installing components and MSMG has nothing to do with it. By the way, those components that can still be installed / removed from the Control Panel are installed without problems in all systems.
     
  12. bala1

    bala1 MDL Member

    May 2, 2015
    179
    150
    10
    #26012 bala1, Aug 1, 2023
    Last edited: Aug 1, 2023
    @MSMG

    If I add this option in the menu
    Code:
    echo.  [D]    Revert to Default
    the way I changed the script below will it work?
    Code:
        if /i "!MenuChoice!" equ "D" (
            if "%ImageBuild%" geq "17763" if "%ImageBuild%" leq "19045" (
                set "C_3DViewer=+"
                set "C_AdvertisingXaml=+"
            )
            set "C_Alarms=+"
            if "%ImageBuild%" geq "22000" if "%ImageBuild%" leq "22631" set "C_BingNews=+"
            set "C_BingWeather=+"
            if "%C_DesktopAppInstaller%" neq "*" set "C_DesktopAppInstaller=+"
            set "C_CalculatorApp=+"
            set "C_Camera=+"
            if "%ImageBuild%" geq "22000" if "%ImageBuild%" leq "22631" set "C_ClientWebExperience=+"
            if "%ImageBuild%" geq "22621" if "%ImageBuild%" leq "22631" set "C_Clipchamp=+"
            set "C_CommunicationsApps=+"
            if "%ImageBuild%" geq "19041" if "%ImageBuild%" leq "22631" set "C_Cortana=+"
            if "%ImageBuild%" geq "22621" if "%ImageBuild%" leq "22631" set "C_Family=+"
            set "C_FeedbackHub=+"
            set "C_GetHelp=+"
            set "C_Getstarted=+"
            set "C_HEIFImageExtension=+"
            if "%ImageBuild%" geq "22621" if "%ImageBuild%" leq "22631" set "C_HEVCVideoExtension=+"
            set "C_Maps=+"
            if "%ImageBuild%" geq "17763" if "%ImageBuild%" leq "18363" set "C_Messaging=+"
            if "%ImageBuild%" geq "17763" if "%ImageBuild%" leq "19045" if "%ImageArchitecture%" equ "x64" set "C_MixedRealityPortal=+"
            if "%ImageBuild%" equ "17763" if "%C_NETNativeFramework16%" neq "*" set "C_NETNativeFramework16=+"
            if "%ImageBuild%" geq "17763" if "%ImageBuild%" leq "19045" if "%C_NETNativeFramework17%" neq "*" set "C_NETNativeFramework17=+"
            if "%ImageBuild%" geq "18362" if "%ImageBuild%" leq "22631" if "%C_NETNativeFramework22%" neq "*" set "C_NETNativeFramework22=+"
            if "%ImageBuild%" equ "17763" if "%C_NETNativeRuntime16%" neq "*" set "C_NETNativeRuntime16=+"
            if "%ImageBuild%" geq "17763" if "%ImageBuild%" leq "19045" if "%C_NETNativeRuntime17%" neq "*" set "C_NETNativeRuntime17=+"
            if "%ImageBuild%" geq "18362" if "%ImageBuild%" leq "22631" if "%C_NETNativeRuntime22%" neq "*" set "C_NETNativeRuntime22=+"
            if "%ImageBuild%" geq "22000" if "%ImageBuild%" leq "22631" set "C_NotepadApp=+"
            set "C_OfficeHub=+"
            if "%ImageBuild%" geq "17763" if "%ImageBuild%" leq "19045" set "C_OfficeOneNote=+"
            if "%ImageBuild%" geq "17763" if "%ImageBuild%" leq "18363" set "C_OneConnect=+"
            if "%ImageBuild%" geq "22000" if "%ImageBuild%" leq "22631" set "C_Paint=+"
            if "%ImageBuild%" geq "17763" if "%ImageBuild%" leq "19045" set "C_Paint3D=+"
            set "C_People=+"
            set "C_Photos=+"
            if "%ImageBuild%" geq "17763" if "%ImageBuild%" leq "18363" set "C_Print3D=+"
            if "%ImageBuild%" geq "22000" if "%ImageBuild%" leq "22631" set "C_PowerAutomateDesktop=+"
            if "%ImageBuild%" geq "22621" if "%ImageBuild%" leq "22631" (
                set "C_QuickAssist=+"
                set "C_RawImageExtension=+"
            )
            set "C_ScreenSketch=+"
            if "%ImageBuild%" geq "17763" if "%ImageBuild%" leq "19045" (
                set "C_ServicesStoreEngagement=+"
                set "C_SkypeApp=+"
            )
            set "C_SolitaireCollection=+"
            set "C_SoundRecorder=+"
            set "C_StickyNotes=+"
            set "C_StorePurchaseApp=+"
            if "%ImageBuild%" geq "22000" if "%ImageBuild%" leq "22631" (
                set "C_Terminal=+"
                set "C_Todos=+"
            )
            if "%ImageBuild%" geq "18362" if "%ImageBuild%" leq "19045" if "%C_UIXaml20%" neq "*" set "C_UIXaml20=+"
            if "%ImageBuild%" geq "22000" if "%ImageBuild%" leq "22631" if "%C_UIXaml24%" neq "*" set "C_UIXaml24=+"
            if "%ImageBuild%" geq "22621" if "%ImageBuild%" leq "22631" if "%C_UIXaml27%" neq "*" set "C_UIXaml27=+"
            if "%C_VCLibs140UWP%" neq "*" set "C_VCLibs140UWP=+"
            if "%ImageBuild%" geq "18362" if "%ImageBuild%" leq "22631" if "%C_VCLibs140UWPDesktop%" neq "*" set "C_VCLibs140UWPDesktop=+"
            set "C_VP9VideoExtensions=+"
            if "%ImageBuild%" geq "17763" if "%ImageBuild%" leq "19045" set "C_Wallet=+"
            set "C_WebMediaExtensions=+"
            set "C_WebpImageExtension=+"
            if "%C_WindowsStore%" neq "*" set "C_WindowsStore=+"
            if "%C_XboxApp%" neq "*" set "C_XboxApp=+"
            set "C_XboxGameOverlay=+"
            set "C_XboxGamingOverlay=+"
            if "%C_XboxIdentityProvider%" neq "*" set "C_XboxIdentityProvider=+"
            set "C_XboxSpeechToTextOverlay=+"
            set "C_XboxTCUI=+"
            set "C_YourPhone=+"
            set "C_ZuneMusic=+"
            set "C_ZuneVideo=+"
        )
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. Nahi Degi

    Nahi Degi MDL Novice

    Feb 10, 2023
    4
    0
    0
    I see these three cumulative updates on Microsoft catalog after the supported Windows 11 22h2 version.

    Cumulative Update for Windows 11 for x64-based Systems (KB5028182)
    Cumulative Update Preview for Windows 11 for x64-based Systems (KB5028245)
    Cumulative Update Preview for Windows 11 Version 22H2 for x64-based Systems (KB5028254)

    1. Do I need to download them all in order and install one by one or just integrate the latest one?

    2. Do I need to integrate .NET updates too(there are so many) or just ignore them?

    3. What's the proper way to install these updates? I've struggled with them in the past and would like to know the exact steps to avoid a bad install again.

    Thank you!
     
  14. Yanta

    Yanta MDL Senior Member

    May 21, 2017
    491
    284
    10
    Back in late May I asked about the Audio Console for Realtek and @MSMG kindly provided the package name for me.
    Well, I've been so busy with things I haven't had a chance to try it until today. I used the following command to install, and it took less than a second.

    DISM.exe /Online /Add-ProvisionedAppxPackage /PackagePath:RealtekSemiconductorCorp.RealtekAudioControl_1.41.294.0_neutral_~_dt26b99r8h8gj.AppxBundle /DependencyPackagePath:Microsoft.VCLibs.140.00_14.0.30704.0_x64__8wekyb3d8bbwe.Appx /skiplicense

    It responds that it completed successfully.

    When I attempt to run the audio console it crashes immediately upon attempt to open.

    Given I removed almost everything using toolkit v13.3 when the ISO was created, I'm wondering if I may have removed something the audio console uses?

    I've also just built a new PC for myself:MSI Z790 Ace, 64GB DDR5-6400CL32 RAM, 4x2TB Kingston PCIe4 SSD, RTX 3080 Ti GPU, Corsair H150i cooler, HX1200i PSU, The motherboard is using an ALC 4082 codec and I've installed the USB Audio drivers from the MSI website.
     
  15. serch-tv

    serch-tv MDL Novice

    Dec 28, 2012
    14
    11
    0
    #26016 serch-tv, Aug 2, 2023
    Last edited: Aug 3, 2023
    Remove WindowsStoreClient (v13.3) crush uwp app panel - Nvidia, realtek. I
    personally did it.
     
  16. tempdrive1

    tempdrive1 MDL Member

    Aug 29, 2021
    103
    135
    10
    #26017 tempdrive1, Aug 2, 2023
    Last edited: Aug 2, 2023
    @MSMG, @inTerActionVRI,

    I tested the latest Toolkit.cmd, and here are my findings and suggestions:

    I changed the default color to black background and white text from the options, however, when line coloring is used, it breaks the main settings (see attachment - this happens as soon as I load a menu with line coloring added), and as soon as I enter an option, the background will be reset to blue.
    Additionally, whenever I enter a sub menu and press Enter (without any input specified), it automatically exists that sub menu.
    I can hit Enter after I have input a valid option, and then it will not exit the same sub menu.

    I personally think the background colors are not so much user friendly - they are a bight to bright and not "matching" (blue, green, pink).
    I would suggest to have the default background color set as black everywhere, and where you have now the green background text for "Compatibility", the background should still be black, but the text should be green.
    Similarly the "Depends On" should be black background and red text, and wherever you have warning added, it should also look like that.
    "Depends On" and "Compatiblity" could also be fully capitalized, and perhaps the extra spacing could be removed.
    In short: exchange the background color to text color and keep a matching background everywhere.
    The gray background for the text right next to the option is OK actually, just because it should be a bit more noticeable.
    There is just too much color included, and generally speaking a black background always works and is mostly used in command line-based applications, such as this one.
    And the full line background color for this additional text feels also weird (it should be exactly as wide as the text, or maybe 1 extra character before and after, kindly like how it is with the component titles, but as soon as you resize the window, it goes for the whole line).
    Additionally, you could reduce the length of the option list by skipping the empty lines as the different colors are already work as separators.

    Without a doubt all this would take quite some effort again, but it would be so much more appealing to the eye in my opinion.
     

    Attached Files:

  17. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    Just an example:
    People with color blindness cannot see red letters on a black background.

    The color scheme has to be well contrasted to suit everyone.

    As for the background to be completely black again, you forgot to finish the line with the default color. At the beginning of a line there must be the foreground and background color at the end of that same line there must be the respective colors for reset. 0m is the default black background and white lettering. In the case of the toolkit you have to check what the reset values are, go to the end of a line that you haven't changed and check it out.

    If you want several subsequent lines to be the same color put the reset only at the end of the last line of that block of echoes.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. tempdrive1

    tempdrive1 MDL Member

    Aug 29, 2021
    103
    135
    10
    I did not change colors by editing, I was using the Toolkit's options, which are now seemingly rendered unusable.

    I understand the concern about the color blind, although I do not have the experience to comment on.
    These colors are making my eyes burn, but it's fine, because I do not need to use the Toolkit often.
     
  19. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    From what users are reporting this is happening ramdomically.
    Really, I was even thinking that it was solved with the version that MSMG released yesterday. Bala1 who had had this problem, said that it was no longer happening.

    But today it happened to you. If you're using yesterday's toolkit.cmd testing version, then this color scheme has become very unstable.

    Perhaps it is consuming too much memory. I have 20gb DDR4. So considering the memory, maybe it is why I had no problems with scrolling through the menus.

    Perhaps more people with up to 8Gb RAM will bring their feedback on this.


    Since I started using dark themes I started to realize how bad light colors are for me too.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...