1. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Retain Capture Picker it will work.
     
  2. fxp

    fxp MDL Novice

    Sep 13, 2008
    9
    6
    0
    Small typing error on homepage, in the downloads page: there is an extra digit "8" at the end of SHA1 checksum.
     
  3. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Thanks for the quick reporting, have made the changes.

    Windows C_Paint is only displayed for Windows 10 in System component menu and for Windows 11 it is only displayed in Windows Apps menu.
    Also the Toolkit Helper checks for the Windows version to whether to remove the classic paint or the modern app depending on the Windows version.
     
  4. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Thanks for reporting will fix it.
     
  5. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    #22265 inTerActionVRI, Mar 15, 2022
    Last edited: Mar 15, 2022
    @MSMG
    Inbox Apps Menu.

    from
    Code:
    for /f %%i IN ('"dir /b *Maps*.*xbundle" 2^>nul') do if exist %%i set "Maps_Appx=%Apps%\%%i"
    
    to
    Code:
    for /f %%i IN ('"dir /b *WindowsMaps*.*xbundle" 2^>nul') do if exist %%i set "Maps_Appx=%Apps%\%%i"
    
    If we leave only "Maps" it will get the "BingMaps" file if it is present in the folder.
    I have corrected this, to preserve storage space by duplicating components, as I switched to using single folder for Windows 10 and 11, instead of separating by Windows Product ID. But I'm adding Windows 8.1 Components as well.



    Zune Music "Media Player" is only for greater then 22000?
    if "%ImageBuild%" gtr "22000"

    Not equal?
    Shouldnt be...
    if "%ImageBuild%" geq "22000"
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. jinvidia

    jinvidia MDL Member

    Aug 7, 2016
    238
    36
    10
    #22267 jinvidia, Mar 15, 2022
    Last edited: Mar 15, 2022
    Sir, despite removing capture picker and the snipping tool from the removepkgslist.txt, screen snip doesn't work from quick actions panel. Any workaround ?
     
  7. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    "retaining capture picker", means keeping the component in the system.

    Since the list is removal, then you must remove it from the list to keep it in the system.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. jinvidia

    jinvidia MDL Member

    Aug 7, 2016
    238
    36
    10
    Sorry, I meant removing capture picker and snipping tool from removepkgslist.txt. Sorry its a typo. Thanx
     
  9. chev7

    chev7 MDL Novice

    Dec 7, 2019
    22
    2
    0
    Thanks for the update!!!
     
  10. Lometon6254

    Lometon6254 MDL Novice

    Nov 8, 2018
    8
    1
    0
    So I was trying to remove just UWP apps with msmg and whenever it attempted to, an error popped up complaining about "System.Reflection.TargetInvocationException" and "Error.WinIOError" "AppxBlockMap.xml is denied". I'm using the latest MSMG from the download site and Win11 22000.318 ISO. I ran Toolkit.cmd as administrator. The host OS is Win11 22000.556. I have also had trouble finding downloads for certain functions of msmg because it was taken down, and I have no idea what tpk files are.
     
  11. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210

    Ok have made changes to *WindowsMaps*.*xbundle", I have kept the separate folder structure for debugging purpose since some apps use different versions for different OS.

    Zune Music "Media Player" was added when it was introduced and was available for W11 22H2 but forgot to change the code after the support was added by MS for W11 21H2.

    So it should be if "%ImageBuild%" geq "22000"
     
  12. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Checked with the stock LTSC 2021 source image even with this the Screen snip won't work from quick actions panel.

    One reason might be that the LTSC 2021 stock source image is missing these dependency files

    Microsoft.VCLibs.140.00.UWPDesktop_14.0.27629.0_x64__8wekyb3d8bbwe
    Microsoft.VCLibs.140.00_14.0.27323.0_x64__8wekyb3d8bbwe
     
  13. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Use the 22000.556 source image for Windows 11 coz that's the latest version the Toolkit supports and use the Start.cmd to run the Toolkit.

    .Tpk files are custom packs created for Toolkit like .NET 6 Runtimes, VC++ Runtimes etc.
     
  14. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    #22275 inTerActionVRI, Mar 15, 2022
    Last edited: Mar 15, 2022
    How do I know which apps and their respective OS versions? From what I've seen, there are some apps that have different versioning.
    Some starting with year.x.x.x, others 1.x.x.x, others with fivedigts.x.x.x . OneNote is the weirdest of all.

    And, it is because of the versioning that the download script is difficult to complete.

    In store.rg-adguard there is no Windows ID specification.So we end up getting the most current files and, because of that, sometimes we have integration problems that we only notice when we already have our custom ISO installed.

    I think it would be interesting to implement, when searching for the file, a part of the version suitable for the correct Windows ID.
    Here is a somewhat truncated idea, just to see if it helps:
    Code:
    if "%SelectedSourceOS%" equ "w81" (
    if %majorversionlength% leq 2 (
    search with for command  *file*.%ImageArch%*.*xbundle*
    )
    if %majorversionlength% equ 4 (
    search with for command *file*202*.*.%ImageArch%*.*xbundle*
    )
    if %majorversionlength% equ 5 (
    search with for command *file*1600*.*.%ImageArch%*.*xbundle*
    )
    Only for apps that have these nuances.
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    #22276 inTerActionVRI, Mar 15, 2022
    Last edited: Mar 16, 2022
    And for RawImageExtension?

    if "%SelectedSourceOS%" equ "w10" (
    if "%ImageBuild%" geq "18362" if "%ImageBuild%" leq "19044"
    For w10, ok.

    if "%SelectedSourceOS%" equ "w11" (
    And for w11?... it remains: if "%ImageBuild%" gtr "22000" (


    suggesstions
    to
    suggestions


    In Windows Apps Menu:
    For w11 should be Movies ^& TV ^(ZuneVideo^)?
    from
    Code:
        echo.  [07] %C_ZuneVideo% Films ^& TV
    
    to
    Code:
        echo.  [07] %C_ZuneVideo% Movies ^& TV
    
    Or did it go back to being named as "Films & TV" anyway?

    and
    For w11, Groove Music
    from
    Code:
        echo.  [11] %C_ZuneMusic% Groove Music
    
    to
    Code:
        echo.  [11] %C_ZuneMusic% Media Player
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210

    Open any appx file with 7-zip and look for the file AppxManifest.xml, open this file with notepad and look for the node/tag Dependencies like below

    Code:
      <Dependencies>
        <TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.17763.0" MaxVersionTested="10.0.19041.0" />
      </Dependencies>
    
    Here you get the Minimum OS version for which the app is supported or tested.

    You may need some kind of xml parsing tool to get details from AppxManifest.xml
     
  17. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    #22278 MSMG, Mar 16, 2022
    Last edited: Mar 16, 2022
    (OP)
    The current Microsoft.RawImageExtension_2.1.30391.0_neutral___8wekyb3d8bbwe.AppxBundle for Windows 11 is supported for v22H2

    Code:
      <Dependencies>
        <TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.22401.0" MaxVersionTested="10.0.22401.0" />
      </Dependencies>
    
    I think you can use the Microsoft.RawImageExtension_2.0.30391.0_neutral___8wekyb3d8bbwe.AppxBundle provided for Windows 10 with Windows 11

    Just remove the condition if "%ImageBuild%" geq "22000" or if "%ImageBuild%" gtr "22000" for Windows 11 as it is not required but instead make the below change.

    Code:
                    if "%%j" equ "I_RawImageExtension" (
                        echo.-------------------------------------------------------------------------------
                        echo.Integrating Raw Image Extension Provisioned Appx Package...
                        echo.-------------------------------------------------------------------------------
                        if "%SelectedSourceOS%" equ "w10" %DISM% /Image:"%InstallMount%\%%i" /Add-ProvisionedAppxPackage /PackagePath:%RawImageExtension_Appx% %VCLibs14_Appx% /SkipLicense
                        if "%SelectedSourceOS%" equ "w11" if "%ImageBuild%" equ "22000" %DISM% /Image:"%InstallMount%\%%i" /Add-ProvisionedAppxPackage /PackagePath:%RawImageExtension_Appx% %VCLibs14_Appx% /SkipLicense
                        if "%SelectedSourceOS%" equ "w11" if "%ImageBuild%" gtr "22000" %DISM% /Image:"%InstallMount%\%%i" /Add-ProvisionedAppxPackage /PackagePath:%RawImageExtension_Appx% /SkipLicense
                        echo.
                    )
    


    Have corrected the ZuneMusic naming, will check with ZuneVideo naming for Windows 11 and make the corrections.
     
  18. xlincn

    xlincn MDL Junior Member

    Nov 9, 2013
    59
    18
    0
    #22280 xlincn, Mar 16, 2022
    Last edited: Mar 16, 2022
    win11.22000.588 does not support integration VC, Net6?!