MSMG ToolKit

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

  1. 正义羊

    正义羊 MDL Member

    Feb 21, 2016
    115
    52
    10
    #14801 正义羊, Apr 12, 2020
    Last edited: Apr 13, 2020
    @MSMG ,These is some localized code,From :ConvertStoreEsd2Wim in Toolkit.In your localization support,you may add these text,like the "^|索引 ^| 体系结构 ^| 名称",^| %%a ^| - ^|%%c in the code"if %%a equ 1 echo.^| %%a ^| - ^|%%c",and so on.

    Code:
    echo.####正在开始转换 Windows 应用商店 ESD 映像为 WIM 映像##########################
    echo.-------------------------------------------------------------------------------
    echo.
    echo.正在读取映像信息……
    echo.
    echo.===============================================================================
    echo.^|索引    ^| 体系结构    ^| 名称
    echo.===============================================================================
    for /f "tokens=2 delims=: " %%a in ('%DISM% /Get-WimInfo /WimFile:"%InstallEsd%" ^| findstr /i Index') do (
        for /f "tokens=2 delims=:" %%b in ('%DISM% /Get-WimInfo /WimFile:"%InstallEsd%" /Index:%%a ^| findstr /i Architecture') do (
            for /f "tokens=2 delims=:  " %%c in ('%DISM% /Get-WimInfo /WimFile:"%InstallEsd%" /Index:%%a ^| findstr /i Name') do (
                if %%a equ 1 echo.^|  %%a     ^|  -          ^|%%c
                if %%a gtr 1 if %%a leq 9 echo.^|  %%a     ^|%%b          ^|%%c
                if %%a gtr 9 echo.^|  %%a    ^|%%b          ^|%%c
    These changes for localization like the:
    Code:
    echo.%txt1%
    echo.-------------------------------------------------------------------------------
    echo.
    echo.%txt2%
    echo.
    echo.===============================================================================
    echo.%txt3%
    echo.===============================================================================
    for /f "tokens=2 delims=: " %%a in ('%DISM% /Get-WimInfo /WimFile:"%InstallEsd%" ^| findstr /i Index') do (
        for /f "tokens=2 delims=:" %%b in ('%DISM% /Get-WimInfo /WimFile:"%InstallEsd%" /Index:%%a ^| findstr /i Architecture') do (
            for /f "tokens=2 delims=:  " %%c in ('%DISM% /Get-WimInfo /WimFile:"%InstallEsd%" /Index:%%a ^| findstr /i Name') do (
                if %%a equ 1 echo.%txt4%
                if %%a gtr 1 if %%a leq 9 echo.%txt5%
                if %%a gtr 9 echo.%txt6%
    in language cmd file:
    Code:
    set txt1=####正在开始转换 Windows 应用商店 ESD 映像为 WIM 映像##########################
    set txt2=正在读取映像信息……
    set txt3=^|索引    ^| 体系结构    ^| 名称
    set txt4=^|  %%a     ^|  -          ^|%%c
    set txt5=^|  %%a     ^|%%b          ^|%%c
    set txt6=^|  %%a    ^|%%b          ^|%%c
    in txt4,5 and 6,these text is localized format,with Simplified Chinese format.Because In Chinese environment,these text format will not be align.
    These aren't the final code,only example.
    Only build in Toolkit add multi-languages support.
     
  2. Stafamu

    Stafamu MDL Novice

    Sep 22, 2018
    28
    14
    0
    Hi @MSMG
    I think I found a possible bug/issue to report. I'm getting a nag screen like this one user here while I'm trying to remove UnifiedTelemetryClient with the ToolKitHelper! All other components have been removed without any issue.
    I'm modifying Enterprise 1809 LTSC and following the steps inside the Readme.

    Happy Easter weekend to all who celebrate!
     
  3. amnester

    amnester MDL Junior Member

    Nov 9, 2018
    53
    9
    0
    Hello, MSMG! Please update the Microsoft EdgeChromium package. The current version is 81.0.416.53 . Thanks!
     
  4. 正义羊

    正义羊 MDL Member

    Feb 21, 2016
    115
    52
    10
    @MSMG ,Now in ToolKit v9.8,in line 19711, this line code is "echo.Windows 10 v1909 ^(10.0.19041.172^) source OS."

    But it should be like " echo.Windows 10 v2004 ^(10.0.19041.172^) Source OS."

    I think that 19041 is not v1909 build,it's v2004 build.
     
  5. kuroda

    kuroda MDL Senior Member

    Aug 25, 2012
    445
    32
    10
    ...MSMG the c++ VCRuntimes has already been fixed for 19041/1909?
     
  6. mr.brownstone

    mr.brownstone MDL Junior Member

    Feb 15, 2008
    58
    5
    0
    If I integrate Edge Chromium, will it completely replace old Edge? My OSD really don't like 2 Edge entries in Ccleaner :-D
     
  7. 正义羊

    正义羊 MDL Member

    Feb 21, 2016
    115
    52
    10
    No.Chromium Edge will not completely replace old Edge.But it will be replace old Edge icon in Taskbar.
     
  8. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    Excluded.

     
  9. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    Thanks for the template, will workout on this in free time.

     
  10. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    Use Start.cmd to run the Toolkit.

     
  11. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    Will update once my test PC is available.

     
  12. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    Done.

     
  13. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    Not yet.

     
  14. Stafamu

    Stafamu MDL Novice

    Sep 22, 2018
    28
    14
    0
    I always use Start.cmd. I experienced this issue too: https://forums.mydigitallife.net/threads/msmg-toolkit.50572/page-739#post-1589356
    ... but seems it is connected with integration of VCRuntimes. I will try without the integration... as suggested

    i also noticed that my modified image is much bigger (> 5 GB) then the untouched ISO. I never experienced that before. I read someone also reported the similar situation with version 9.6 or above. From my last reply I revert back to version 9.5 and everything works fine for me. Maybe all mentioned is connected with the integration of VCRuntimes. I will try without it and see what will happen.

    Thanks for the reply...
     
  15. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    555
    423
    30

    Attached Files:

  16. Windows 10 User

    Windows 10 User MDL Expert

    Feb 2, 2017
    1,229
    74
    60
    #14817 Windows 10 User, Apr 15, 2020
    Last edited: Apr 17, 2020
    What does this new (at least since after using MSMG ToolKit for the last time) "cleanup windows image" prompt do after choosing the "cleanup source image" setting? May I have problems when trying to remove updates after installing Windows? Also, I pressed the "n" key to not use it and rebuilt the image and the image is bigger than the original after removing some components.

    EDIT: This time I pressed the "y" key to clean the windows image and it's only 0.01 GB smaller than before and still bigger than the original image.
     
  17. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    You need to rebuild the image to reduce the size of the image.

     
  18. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180