1. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    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.
     
  2. jinvidia

    jinvidia MDL Member

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

    chev7 MDL Novice

    Dec 7, 2019
    22
    2
    0
    Thanks for the update!!!
     
  4. 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.
     
  5. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    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"
     
  6. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    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
     
  7. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    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.
     
  8. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    #22288 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.
    
     
  9. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    #22289 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
    
     
  10. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    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
     
  11. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    #22291 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.
     
  12. xlincn

    xlincn MDL Novice

    Nov 9, 2013
    48
    15
    0
    #22293 xlincn, Mar 16, 2022
    Last edited: Mar 16, 2022
    win11.22000.588 does not support integration VC, Net6?!
     
  13. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Yes it does supports.
     
  14. sebasthian.ike

    sebasthian.ike MDL Novice

    Feb 1, 2022
    21
    1
    0
    Yo @MSMG what's up with UndockedDevKit and Client.CBS? Are they going to be removable in 12.2? Or is there some problem with it? I don't think these are essential in any way.
     
  15. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    #22296 inTerActionVRI, Mar 16, 2022
    Last edited: Mar 17, 2022
    @MSMG
    from
    Code:
    if "%ImageBuild%" equ "18362" if "%ImageBuild%" equ "18363"
    
    to
    Code:
    if "%ImageBuild%" geq "18362" if "%ImageBuild%" lss "19041"
    

    Here, it will not influence the operation since the menu is for build equal to or greater than 17763.
    So less then or equal then, will also apply for the mentioned build.

    From leq to equ for ImageBuild 17763 and, we can optimize a little bit, considering that this entire code block is already in the scope of "neq w7 neq w81", in this case of the "Windows Store" InboxApp, you can work directly with the build. Just like it was done with I_ZuneVideo.
    Code:
                   if "%%j" equ "I_WindowsStore" (
                       if "%SelectedSourceOS%" equ "w10" if "%ImageBuild%" leq "17763" call :AddProvisionedAppxPackage "%InstallMount%\%%i", "Windows Store", "%WindowsStore_Appx%", "%NETNativeFramework22_Appx% %NETNativeRuntime22_Appx% %UIXaml24_Appx% %VCLibs14_Appx%", "%WindowsStore_License%"
                       if "%SelectedSourceOS%" equ "w10" if "%ImageBuild%" geq "18362" call :AddProvisionedAppxPackage "%InstallMount%\%%i", "Windows Store", "%WindowsStore_Appx%", "%NETNativeFramework22_Appx% %NETNativeRuntime22_Appx% %UIXaml27_Appx% %VCLibs14_Appx%", "%WindowsStore_License%"
                       if "%SelectedSourceOS%" equ "w11" call :AddProvisionedAppxPackage "%InstallMount%\%%i", "Windows Store", "%WindowsStore_Appx%", "%NETNativeFramework22_Appx% %NETNativeRuntime22_Appx% %UIXaml27_Appx% %VCLibs14_Appx%", "%WindowsStore_License%"
                   )
    
    to
    Code:
                   if "%%j" equ "I_WindowsStore" (
                       if "%ImageBuild%" equ "17763" call :AddProvisionedAppxPackage "%InstallMount%\%%i", "Windows Store", "%WindowsStore_Appx%", "%NETNativeFramework22_Appx% %NETNativeRuntime22_Appx% %UIXaml24_Appx% %VCLibs14_Appx%", "%WindowsStore_License%"
                       if "%ImageBuild%" geq "18362" call :AddProvisionedAppxPackage "%InstallMount%\%%i", "Windows Store", "%WindowsStore_Appx%", "%NETNativeFramework22_Appx% %NETNativeRuntime22_Appx% %UIXaml27_Appx% %VCLibs14_Appx%", "%WindowsStore_License%"
                   )
    

    About RawImageExtension
    I wrote it like this, but I modified some details in the ":AddProvisionedAppxPackage" function to work with the call command.
    from
    Code:
    %DISM% /Image:%~1 /Add-ProvisionedAppxPackage /PackagePath:%~3 %~4 /LicensePath:%~5
    
    to
    Code:
    %DISM% /Image:%~1 /Add-ProvisionedAppxPackage /PackagePath:%~3 %~4 %~5
    
    So I can send /SkipLicense.
    But for the purposes of maintaining this standard, I have added the parameter "/LicensePath:" to the license variables.


    Code:
                   if "%%j" equ "I_RawImageExtension" (
                       if "%ImageBuild%" leq "22000" call :AddProvisionedAppxPackage "%InstallMount%\%%i", "Raw Image Extension", "%RawImageExtension_Appx%", "%VCLibs14_Appx%", /SkipLicense
                       if "%ImageBuild%" gtr "22000" call :AddProvisionedAppxPackage "%InstallMount%\%%i", "Raw Image Extension", "%RawImageExtension_Appx%", "", /SkipLicense
                   )
    
     
  16. Loxmox

    Loxmox MDL Novice

    Oct 23, 2020
    17
    7
    0
    According to changelog new "Remove Windows Component" has been added to the list for Windows 10 Client v1809/v1903/v1909/v2004/v20H2/v21H1.
    But those packages has been added also to w11 toolkithelper template, it's a mistake or what?
    For example SearchApp, AppResolverUX, AddSuggestedFoldersToLibraryDialog, FilePicker etc.
    From where can I get any description of these?
     
  17. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    UndockedDevKit - it is required for Settings -> System page and also for OOBE
    Client.CBS - Contains the Input App, Screen Clipping and it is required for OOBE, Windows Store, Touch screen devices.
     
  18. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Have made the changes, will upload the newer Toolkit.cmd later do check out.
     
  19. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Yes it was a mistake just forgot to include the Windows 10 v21H2 and Windows 11 v21H2 in the changelog, here's the correct list


    Code:
    + Updated the Feature "Remove Windows Component" to remove the below list of System Apps components for Windows 10 Client v1809/v1903/v1909/v2004/v20H2/v21H1/v21H2, Windows 11 Client v21H2 Source OS.
    
    AddSuggestedFoldersToLibraryDialog
    AppResolverUX
    FilePicker
    PinningConfirmationDialog
    PrintDialog
    
    + Updated the Feature "Remove Windows Component" to remove the NcsiUwpApp and SearchApp System Apps components for Windows 10 Client v1909/v2004/v20H2/v21H1/v21H2, Windows 11 Client v21H2 Source OS.
    
    You can get the description for the component either through the Toolkit's Remove menus or by running the below command

    Code:
    Bin\ToolKitHelper.exe mount\install /?