1. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    I found the problem. In previous versions the architecture was specified as x64 or x86 in these components, now it is neutral.
    The code need to be changed to look for arch or neutral.

    so as the extension from appx to appxbundle.

    Try this replace.
    Select all from 9755 to 9878 and replace for this whole code:
    Code:
    for /f %%i IN ('dir /b /a:-d /o:d "*3DView*.*xbundle" 2^>nul') do if exist %%i set "MixedRealityViewer_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*Alarms*.*xbundle" 2^>nul') do if exist %%i set "Alarms_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*AV1VideoExtension*.Appx*" 2^>nul') do if exist %%i set "AV1VideoExtension_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*AmazonAppstore*.*xbundle" 2^>nul') do if exist %%i set "AmazonAppStore_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*BingFinance*.*xbundle" 2^>nul') do if exist %%i set "BingFinance_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*BingFoodAndDrink*.*xbundle" 2^>nul') do if exist %%i set "BingFoodDrink_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*BingHealthAndFitness*.*xbundle" 2^>nul') do if exist %%i set "BingHealthFitness_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*BingMaps*.*xbundle" 2^>nul') do if exist %%i set "BingMaps_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*BingNews*.*xbundle" 2^>nul') do if exist %%i set "BingNews_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*BingSports*.*xbundle" 2^>nul') do if exist %%i set "BingSports_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*BingTravel*.*xbundle" 2^>nul') do if exist %%i set "BingTravel_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*BingWeather*.*xbundle" 2^>nul') do if exist %%i set "BingWeather_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*Calculator*.*xbundle" 2^>nul') do if exist %%i set "Calculator_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*Camera*.*xbundle" 2^>nul') do if exist %%i set "Camera_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*Client.WebExperience*.*xbundle" 2^>nul') do if exist %%i set "ClientWebExperience_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*Clipchamp*.*xbundle" 2^>nul') do if exist %%i set "Clipchamp_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*CommunicationsApps*.*xbundle" 2^>nul') do if exist %%i set "CommunicationsApps_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*D3DMappingLayers*.*appx" 2^>nul') do if exist %%i set "D3DMappingLayers_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*DesktopAppInstaller*.*xbundle" 2^>nul') do if exist %%i set "DesktopAppInstaller_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*DirectXRuntime*.Appx*" 2^>nul ^| findstr /i "%ImageArchitecture% neutral"') do if exist %%i set "DirectXRuntime_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*FeedbackHub*.*xbundle" 2^>nul') do if exist %%i set "FeedbackHub_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*GamingApp*.*xbundle" 2^>nul') do if exist %%i set "GamingApp_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*GamingServices*.*xbundle" 2^>nul') do if exist %%i set "GamingServices_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*GetHelp*.*xbundle" 2^>nul') do if exist %%i set "GetHelp_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*Getstarted*.*xbundle" 2^>nul') do if exist %%i set "Getstarted_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*HEIFImageExtension*.Appx*" 2^>nul ^| findstr /i "%ImageArchitecture% neutral"') do if exist %%i set "HEIFImageExtension_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*HelpAndTips*.*xbundle" 2^>nul') do if exist %%i set "HelpAndTips_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*HEVCVideoExtension*.Appx*" 2^>nul ^| findstr /i "%ImageArchitecture% neutral"') do if exist %%i set "HEVCVideoExtension_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*MicrosoftJournal*.*xbundle" 2^>nul') do if exist %%i set "Journal_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*WindowsMaps*.*xbundle" 2^>nul') do if exist %%i set "Maps_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*Messaging*.*xbundle" 2^>nul') do if exist %%i set "Messaging_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*Microsoft.549981C3F5F10*.*xbundle" 2^>nul') do if exist %%i set "Cortana_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*Microsoft.MicrosoftPowerBIForWindows*.*xbundle" 2^>nul') do if exist %%i set "MicrosoftPowerBI_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*Microsoft.MinecraftEducationEdition*.*xbundle" 2^>nul') do if exist %%i set "MinecraftEducationEdition_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*MixedReality.Portal*.*xbundle" 2^>nul') do if exist %%i set "MixedRealityPortal_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*MPEG2VideoExtension*.Appx*" 2^>nul ^| findstr /i "%ImageArchitecture% neutral"') do if exist %%i set "MPEG2VideoExtension_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*OfficeHub*.*xbundle" 2^>nul') do if exist %%i set "OfficeHub_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*OneConnect*.*xbundle" 2^>nul') do if exist %%i set "OneConnect_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*OneNote*.*xbundle" 2^>nul') do if exist %%i set "OneNote_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*QuickAssist*.*xbundle" 2^>nul') do if exist %%i set "QuickAssist_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*Microsoft.Paint*.*xbundle" 2^>nul') do if exist %%i set "Paint_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*MSPaint*.*xbundle" 2^>nul') do if exist %%i set "Paint3D_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*People*.*xbundle" 2^>nul') do if exist %%i set "People_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*Windows.Photos*.*xbundle" 2^>nul') do if exist %%i set "Photos_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*Photos.MediaEngineDLC*.*xbundle" 2^>nul') do if exist %%i set "PhotosMediaEngine_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*PowerAutomateDesktop*.*xbundle" 2^>nul') do if exist %%i set "PowerAutomateDesktop_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*Print3D*.*xbundle" 2^>nul') do if exist %%i set "Print3D_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*RawImageExtension*.*xbundle" 2^>nul') do if exist %%i set "RawImageExtension_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*Reader*.*xbundle" 2^>nul') do if exist %%i set "Reader_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*ReadingList*.*xbundle" 2^>nul') do if exist %%i set "ReadingList_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*Scan*.*xbundle" 2^>nul') do if exist %%i set "Scan_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*ScreenSketch*.*xbundle" 2^>nul') do if exist %%i set "ScreenSketch_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*Skype*.*xbundle" 2^>nul') do if exist %%i set "Skype_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*SolitaireCollection*.*xbundle" 2^>nul') do if exist %%i set "SolitaireCollection_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*SoundRecorder*.*xbundle" 2^>nul') do if exist %%i set "SoundRecorder_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*StickyNotes*.*xbundle" 2^>nul') do if exist %%i set "StickyNotes_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*StorePurchaseApp*.*xbundle" 2^>nul') do if exist %%i set "StorePurchaseApp_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*Teams*.*msix" 2^>nul') do if exist %%i set "Teams_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*Terminal*.*xbundle" 2^>nul') do if exist %%i set "Terminal_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*Todos*.*xbundle" 2^>nul') do if exist %%i set "Todos_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*VP9VideoExtensions*.Appx*" 2^>nul ^| findstr /i "%ImageArchitecture% neutral"') do if exist %%i set "VP9VideoExtensions_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*Wallet*.*xbundle" 2^>nul') do if exist %%i set "Wallet_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*WebMediaExtensions*.*xbundle" 2^>nul') do if exist %%i set "WebMediaExtensions_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*WebpImageExtension*.Appx*" 2^>nul ^| findstr /i "%ImageArchitecture% neutral"') do if exist %%i set "WebpImageExtension_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*Microsoft.Whiteboard*.*xbundle" 2^>nul') do if exist %%i set "Whiteboard_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*WindowsNotepad*.*xbundle" 2^>nul') do if exist %%i set "Notepad_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*Microsoft.SecHealthUI*.Appx*" 2^>nul ^| findstr /i "%ImageArchitecture% neutral"') do if exist %%i set "WindowsDefender_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*WindowsStore*.*xbundle" 2^>nul') do if exist %%i set "WindowsStore_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*WindowsSubsystemForAndroid*.*xbundle" 2^>nul') do if exist %%i set "WindowsSubsystemForAndroid_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*WindowsSubsystemForLinux*.*xbundle" 2^>nul') do if exist %%i set "WindowsSubsystemForLinux_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*Xbox.TCUI*.*xbundle" 2^>nul') do if exist %%i set "XboxTCUI_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*XboxApp*.*xbundle" 2^>nul') do if exist %%i set "Xbox_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*XboxGameOverlay*.*xbundle" 2^>nul') do if exist %%i set "XboxGameOverlay_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*XboxGamingOverlay*.*xbundle" 2^>nul') do if exist %%i set "XboxGamingOverlay_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*XboxIdentityProvider*.*xbundle" 2^>nul') do if exist %%i set "XboxIdentityProvider_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*XboxLIVEGames*.*xbundle" 2^>nul') do if exist %%i set "XboxLiveGames_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*XboxSpeechToTextOverlay*.*xbundle" 2^>nul') do if exist %%i set "XboxSpeechToTextOverlay_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*YourPhone*.*xbundle" 2^>nul') do if exist %%i set "YourPhone_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*ZuneMusic*.*xbundle" 2^>nul') do if exist %%i set "ZuneMusic_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*ZuneVideo*.*xbundle" 2^>nul') do if exist %%i set "ZuneVideo_Appx=%Apps%\%%i"
    
    for /f %%i IN ('dir /b /a:-d /o:d "*AMDLink*.*msix" 2^>nul') do if exist %%i set "AMDLink_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*HPSupportAssistant*.*xbundle" 2^>nul') do if exist %%i set "HPSupportAssistant_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*IntelGraphicsExperience*.*xbundle" 2^>nul') do if exist %%i set "IntelGraphicsCommandCenter_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*ThunderboltControlCenter*.*xbundle" 2^>nul') do if exist %%i set "IntelThunderboltController_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*KillerControlCenter*.*xbundle" 2^>nul') do if exist %%i set "KillerControlCenter_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*NVIDIAControlPanel*.Appx*" 2^>nul ^| findstr /i "%ImageArchitecture% neutral"') do if exist %%i set "NVIDIAControlPanel_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*RealtekAudioControl*.*xbundle" 2^>nul') do if exist %%i set "RealtekAudioControl_Appx=%Apps%\%%i"
    for /f %%i IN ('dir /b /a:-d /o:d "*MaxxAudioProforDell*.*xbundle" 2^>nul') do if exist %%i set "WavesMaxxAudioProforDell_Appx=%Apps%\%%i"
    
    if /i "%SelectedSourceOS%" neq "w11" (
       if /i "%ImageArchitecture%" neq "x86" if /i "%ImageArchitecture%" neq "x64" set "32bit=arm"
       if /i "%ImageArchitecture%" neq "arm" if /i "%ImageArchitecture%" neq "arm64" set "32bit=x86"
    )
    
    if /i "%32bit%" neq "" (
       for /f %%i in ('dir /b /a:-d /o:d "*Advertising.Xaml*%32bit%*.Appx*" 2^>nul') do if /i exist %%i set "AdvertisingXaml_Appx=/DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*WindowsAppRuntime.1.1*%32bit%*.Appx*" 2^>nul') do set "AppRuntime_Appx=/DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*PlayReadyClient*%32bit%*.Appx*" 2^>nul') do if /i exist %%i set "MediaPlayReadyClient2_Appx=/DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*NET.Native.Framework.1.3*%32bit%*.Appx*" 2^>nul') do if /i exist %%i set "NETNativeFramework13_Appx=/DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*NET.Native.Framework.1.6*%32bit%*.Appx*" 2^>nul') do if /i exist %%i set "NETNativeFramework16_Appx=/DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*NET.Native.Framework.1.7*%32bit%*.Appx*" 2^>nul') do if /i exist %%i set "NETNativeFramework17_Appx=/DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*NET.Native.Framework.2.1*%32bit%*.Appx*" 2^>nul') do if /i exist %%i set "NETNativeFramework21_Appx=/DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*NET.Native.Framework.2.2*%32bit%*.Appx*" 2^>nul') do if /i exist %%i set "NETNativeFramework22_Appx=/DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*NET.Native.Runtime.1.3*%32bit%*.Appx*" 2^>nul') do if /i exist %%i set "NETNativeRuntime13_Appx=/DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*NET.Native.Runtime.1.4*%32bit%*.Appx*" 2^>nul') do if /i exist %%i set "NETNativeRuntime14_Appx=/DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*NET.Native.Runtime.1.6*%32bit%*.Appx*" 2^>nul') do if /i exist %%i set "NETNativeRuntime16_Appx=/DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*NET.Native.Runtime.1.7*%32bit%*.Appx*" 2^>nul') do if /i exist %%i set "NETNativeRuntime17_Appx=/DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*NET.Native.Runtime.2.1*%32bit%*.Appx*" 2^>nul') do if /i exist %%i set "NETNativeRuntime21_Appx=/DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*NET.Native.Runtime.2.2*%32bit%*.Appx*" 2^>nul') do if /i exist %%i set "NETNativeRuntime22_Appx=/DependencyPackagePath:"%Apps%\%%i""
    
       for /f %%i in ('dir /b /a:-d /o:d "*Services.Store.Engagement*%32bit%*.Appx*" 2^>nul') do if /i exist %%i set "ServicesStoreEngagement_Appx=/DependencyPackagePath:"%Apps%\%%i""
    
       for /f %%i in ('dir /b /a:-d /o:d "*UI.Xaml.2.0*%32bit%*.Appx*" 2^>nul') do if /i exist %%i set "UIXaml20_Appx=/DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*UI.Xaml.2.1*%32bit%*.Appx*" 2^>nul') do if /i exist %%i set "UIXaml21_Appx=/DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*UI.Xaml.2.2*%32bit%*.Appx*" 2^>nul') do if /i exist %%i set "UIXaml22_Appx=/DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*UI.Xaml.2.3*%32bit%*.Appx*" 2^>nul') do if /i exist %%i set "UIXaml23_Appx=/DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*UI.Xaml.2.4*%32bit%*.Appx*" 2^>nul') do if /i exist %%i set "UIXaml24_Appx=/DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*UI.Xaml.2.5*%32bit%*.Appx*" 2^>nul') do if /i exist %%i set "UIXaml25_Appx=/DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*UI.Xaml.2.6*%32bit%*.Appx*" 2^>nul') do if /i exist %%i set "UIXaml26_Appx=/DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*UI.Xaml.2.7*%32bit%*.Appx*" 2^>nul') do if /i exist %%i set "UIXaml27_Appx=/DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*UI.Xaml.2.8*%32bit%*.Appx*" 2^>nul') do if /i exist %%i set "UIXaml28_Appx=/DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*VCLibs.110.00.UWP*%32bit%*.Appx*" 2^>nul') do if /i exist %%i set "VCLibsUWPDesktop11_Appx=/DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*VCLibs.120.00.UWP*%32bit%*.Appx*" 2^>nul') do if /i exist %%i set "VCLibsUWPDesktop12_Appx=/DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*VCLibs.140.00.UWP*%32bit%*.Appx*" 2^>nul') do if /i exist %%i set "VCLibsUWPDesktop14_Appx=/DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*VCLibs.120.00_*%32bit%*.Appx*" 2^>nul') do if /i exist %%i set "VCLibs12_Appx=/DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*VCLibs.140.00_*%32bit%*.Appx*" 2^>nul') do if /i exist %%i set "VCLibs14_Appx=/DependencyPackagePath:"%Apps%\%%i""
    )
    
    if /i "%ImageArchitecture%" neq "x86" if /i "%ImageArchitecture%" neq "arm" (
       for /f %%i in ('dir /b /a:-d /o:d "*Advertising.Xaml*%ImageArchitecture%*.Appx*" 2^>nul') do if /i exist %%i set "AdvertisingXaml_Appx=%AdvertisingXaml_Appx% /DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*WindowsAppRuntime.1.1*%ImageArchitecture%*.Appx*" 2^>nul') do set "AppRuntime_Appx=%AdvertisingXaml_Appx% /DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*PlayReadyClient*%ImageArchitecture%*.Appx*" 2^>nul') do if /i exist %%i set "MediaPlayReadyClient2_Appx=%MediaPlayReadyClient2_Appx% /DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*NET.Native.Framework.1.3*%ImageArchitecture%*.Appx*" 2^>nul') do if /i exist %%i set "NETNativeFramework13_Appx=%NETNativeFramework13_Appx% /DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*NET.Native.Framework.1.6*%ImageArchitecture%*.Appx*" 2^>nul') do if /i exist %%i set "NETNativeFramework16_Appx=%NETNativeFramework16_Appx% /DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*NET.Native.Framework.1.7*%ImageArchitecture%*.Appx*" 2^>nul') do if /i exist %%i set "NETNativeFramework17_Appx=%NETNativeFramework17_Appx% /DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*NET.Native.Framework.2.1*%ImageArchitecture%*.Appx*" 2^>nul') do if /i exist %%i set "NETNativeFramework21_Appx=%NETNativeFramework21_Appx% /DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*NET.Native.Framework.2.2*%ImageArchitecture%*.Appx*" 2^>nul') do if /i exist %%i set "NETNativeFramework22_Appx=%NETNativeFramework22_Appx% /DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*NET.Native.Runtime.1.3*%ImageArchitecture%*.Appx*" 2^>nul') do if /i exist %%i set "NETNativeRuntime13_Appx=%NETNativeRuntime13_Appx% /DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*NET.Native.Runtime.1.4*%ImageArchitecture%*.Appx*" 2^>nul') do if /i exist %%i set "NETNativeRuntime14_Appx=%NETNativeRuntime14_Appx% /DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*NET.Native.Runtime.1.6*%ImageArchitecture%*.Appx*" 2^>nul') do if /i exist %%i set "NETNativeRuntime16_Appx=%NETNativeRuntime16_Appx% /DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*NET.Native.Runtime.1.7*%ImageArchitecture%*.Appx*" 2^>nul') do if /i exist %%i set "NETNativeRuntime17_Appx=%NETNativeRuntime17_Appx% /DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*NET.Native.Runtime.2.1*%ImageArchitecture%*.Appx*" 2^>nul') do if /i exist %%i set "NETNativeRuntime21_Appx=%NETNativeRuntime21_Appx% /DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*NET.Native.Runtime.2.2*%ImageArchitecture%*.Appx*" 2^>nul') do if /i exist %%i set "NETNativeRuntime22_Appx=%NETNativeRuntime22_Appx% /DependencyPackagePath:"%Apps%\%%i""
    
       for /f %%i in ('dir /b /a:-d /o:d "*Services.Store.Engagement*%ImageArchitecture%*.Appx*" 2^>nul') do if /i exist %%i set "ServicesStoreEngagement_Appx=%ServicesStoreEngagement_Appx% /DependencyPackagePath:"%Apps%\%%i""
    
       for /f %%i in ('dir /b /a:-d /o:d "*UI.Xaml.2.0*%ImageArchitecture%*.Appx*" 2^>nul') do if /i exist %%i set "UIXaml20_Appx=%UIXaml20_Appx% /DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*UI.Xaml.2.1*%ImageArchitecture%*.Appx*" 2^>nul') do if /i exist %%i set "UIXaml21_Appx=%UIXaml21_Appx% /DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*UI.Xaml.2.2*%ImageArchitecture%*.Appx*" 2^>nul') do if /i exist %%i set "UIXaml22_Appx=%UIXaml22_Appx% /DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*UI.Xaml.2.3*%ImageArchitecture%*.Appx*" 2^>nul') do if /i exist %%i set "UIXaml23_Appx=%UIXaml23_Appx% /DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*UI.Xaml.2.4*%ImageArchitecture%*.Appx*" 2^>nul') do if /i exist %%i set "UIXaml24_Appx=%UIXaml24_Appx% /DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*UI.Xaml.2.5*%ImageArchitecture%*.Appx*" 2^>nul') do if /i exist %%i set "UIXaml25_Appx=%UIXaml25_Appx% /DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*UI.Xaml.2.6*%ImageArchitecture%*.Appx*" 2^>nul') do if /i exist %%i set "UIXaml26_Appx=%UIXaml26_Appx% /DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*UI.Xaml.2.7*%ImageArchitecture%*.Appx*" 2^>nul') do if /i exist %%i set "UIXaml27_Appx=%UIXaml27_Appx% /DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*UI.Xaml.2.8*%ImageArchitecture%*.Appx*" 2^>nul') do if /i exist %%i set "UIXaml28_Appx=%UIXaml28_Appx% /DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*VCLibs.110.00.UWP*%ImageArchitecture%*.Appx*" 2^>nul') do if /i exist %%i set "VCLibsUWPDesktop11_Appx=%VCLibsUWPDesktop11_Appx% /DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*VCLibs.120.00.UWP*%ImageArchitecture%*.Appx*" 2^>nul') do if /i exist %%i set "VCLibsUWPDesktop12_Appx=%VCLibsUWPDesktop12_Appx% /DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*VCLibs.140.00.UWP*%ImageArchitecture%*.Appx*" 2^>nul') do if /i exist %%i set "VCLibsUWPDesktop14_Appx=%VCLibsUWPDesktop14_Appx% /DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*VCLibs.120.00_*%ImageArchitecture%*.Appx*" 2^>nul') do if /i exist %%i set "VCLibs12_Appx=%VCLibs12_Appx% /DependencyPackagePath:"%Apps%\%%i""
       for /f %%i in ('dir /b /a:-d /o:d "*VCLibs.140.00_*%ImageArchitecture%*.Appx*" 2^>nul') do if /i exist %%i set "VCLibs14_Appx=%VCLibs14_Appx% /DependencyPackagePath:"%Apps%\%%i""
    )
    
    for /f %%i in ('dir /b /a:-d /o:d "*WinJS.2*.Appx*" 2^>nul') do if /i exist %%i set "WinJS20_Appx=/DependencyPackagePath:"%Apps%\%%i""
    
    Bring the feedback to us.

    Note: for w10, in the dependencies, I added for x64 the respective ones in x86. From what I've seen there are no exceptions to this. It's up to the tests, to see if integration problems end up being remedied.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. tempdrive1

    tempdrive1 MDL Member

    Aug 29, 2021
    103
    135
    10
    @MSMG, @inTerActionVRI,

    Please read my diagnosis for broken Start Menu search issue:

    I am using a UUP dump-based image, which should the equivalent of 10.0.19041.1.vb_release.191206-1406_amd64fre_client-multisku_retail_en-us-CCSA_X64FRE_EN-US_DV5.iso (if it was officially released by MS).

    This .iso has the following Editions:

    Reading Image Information...

    ===============================================================================
    | Index | Arch | Name
    ===============================================================================
    | 1 | x64 | Windows 10 Home
    | 2 | x64 | Windows 10 Home N
    | 3 | x64 | Windows 10 Pro
    | 4 | x64 | Windows 10 Pro N
    ===============================================================================

    For testing purpose, I have only been working with Windows 10 Home (1) Edition.

    Additional information (should not matter):

    Do you want to mount Windows Setup Boot Image ? ['Y'es/'N'o] : N
    Do you want to mount Windows Recovery Image ? ['Y'es/'N'o] : N


    Attached you can find the list of components that were removed.
    They reflect the exact naming from the official release of Toolkit.cmd for both v13.3 and v13.4.
    If you are well familiar with the list (as you should be), it will not be giving you new information.

    For consistency, I have only selected component removal for [1] Remove Internet Components Menu, [2] Remove Multimedia Components Menu, [3] Remove Network Components Menu, [4] Remove Privacy Components Menu, [5] Remove Remoting Components Menu, [6] Remove System Components Menu, [8] Remove Windows Apps Menu.
    For each of these, everything has been marked for removal.
    The list of item is seemingly the same, with minor description differences (as per the attachment - this may not be important for you).
    Nothing has been selected for removal from [7] Remove System Apps Menu for the sake and simplicity of this test.
    No additional changes have been applied to the image.

    Test results:
    - for the image created with v13.3, the search in Start Menu works.
    - for the image created with v13.4, the search in Start Menu does not work.

    This issue is also applicable to every version published (Toolkit.cmd) of v13.5.

    To be concluded:
    Either Toolkit.cmd had a bug introduced in version v13.4 or ToolKitHelper.exe had.
    Alternatively, either the component removal was not done as is it should have been, and this could have been the reason why it was working for v13.3 (and presumably earlier versions as well), and after fixing it for v13.4 (working as intended in that case), which would mean that I am not allowed to remove same components anymore to make search in Start Menu work going forward.

    What has not been done:

    - ToolKitHelper is closed source, so review of the issue is only possible by MSMG
    - I did a very brief file content comparison for Toolkit.cmd between v13.3 and v13.4, but there are far too many changes even for the relevant sections only for me to conclude it on a short notice, and if would be the best for you to review, unless the issue originates from the above or this is how it is intended to work actually

    If there is a fix required, I would highly appreciate if it could be published on the shortest notice possible.
    For additional test and assistance, please feel free to reach out to me.

    Edit: let me know if the above code changes could be related to this, as it was published after my tests were completed.
     

    Attached Files:

  3. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    #26043 inTerActionVRI, Aug 4, 2023
    Last edited: Aug 4, 2023
    No. The above code is for InboxApp integration.

    Let's wait MSMG for this. You can try to use ToolkiHelper from 13.3 in 13.4 to see if you remove the same things will break the search in StartMenu or TaskBar Searchbar.
    Note: if you change ToolkitHelper in 13.4 for an old as it is the suggested case with ToolkitHelper from 13.3, you need to place isos supported by 13.3.
    Than you should ignore the Build not Supported message and continue the test.
    I dont remember if there are any componentes added from 13.3 to 13.4. if there was, for sake of the test, you need to ignore them.

    If it works, we'll already know that it was some modification in ToollkitHelper.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. tempdrive1

    tempdrive1 MDL Member

    Aug 29, 2021
    103
    135
    10
    I feel ashamed not thinking of this!
    Brilliant suggestion!

    Since I am using now 19041.1, it will not matter, since that should be supported since it was released, I suppose.
    You guys were bullying everyone into using supported releases, so I had to recover unreleased/unofficial versions from the deepest parts of the Internet ;-)
    (It kind of makes sense, I am the first release, but I still cannot understand how you don't have any backwards compatibility whatsoever - anyway, I will leave it be, it should not be a concern to me going forward.)
    However, since earlier I was working with 19044.1288, but with Home/Pro Editions (this includes the last image created with v13.3) and I also tested if the issues comes from MS end by changing something between .1 and .1288, but the results were the same, so it is definitely coming from the Toolkit.
     
  5. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    #26045 inTerActionVRI, Aug 4, 2023
    Last edited: Aug 4, 2023
    Yepp.

    ToolkitHelper is closed source, I have no idea either. But it's not bulling, it's always been like that, the guys who don't notice that he always puts which are the supported versions.
    I believe it should at least support the builds made available by MS for Direct Download. But it's more work if it's to keep the project supporting specific builds.


    I recommend to enable this DisableUpdatingUpgrade option changing the value from =0 to =1 in ConvertConfig.ini when download an ISO from UUP.
    If I understand correctly, if you disabled it, Core Editions will be created through its respective file "core_*.esd" and the Pro version will be created based on the Core.
    If you enable it, Professional Editions will be created from its respective "professional_*.esd" file. I think it's better that way.

    I think everyone should redo their .1 ISOs. I do this when abbodi1406 releases some update of uup-converter-wimlib.7z.
    This is just my precaution.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. tempdrive1

    tempdrive1 MDL Member

    Aug 29, 2021
    103
    135
    10
    This .iso I was using was already pre-generated, and supposedly originates from Betanews (if I remember the site name correctly), but it was not downloaded from there.
    I did not bother creating my own, and it is a pity that there is no official release - the lowest I could find as was 19041.264.
    I have no experience with the above, and I have so much to do, that I could only test it in weeks, due to its low priority.
    I did manage to further extend my knowledge, however, and got to understand the builds and patching of 18362-18363, and 19041-19045 releases, and additional solving problems that are seemingly unsolved from what I got to understand (i.e. successfully updating 1609 and 1809 releases with non-Enterprise Editions to the latest patch).

    One final remark for the supported versions: it is just weird to me, that something that literally was supported and test before is being dropped later.
    Basically every update is an official release, and it should not matter if it comes from an official iso or if you construct it yourself as the content for the given version - without any modification - has to be the same.
    Now, given my experience, I can think of a couple "random" naming convention that would be different for every update of the component, but even if you have to keep a list of it (more like a lookup table, as in a hash table), the performance difference would be not noticeable at all.
    And this is for the basic scripting language that I work with, not some advanced coding stuff.
    It's just... not logical to not support something that was supported for a product that is still live.
    Should be minimal effort, really as the patterns used be the components should be (nearly) identical between versions, or definitely traversable based some specific logic (have related experience).
    But anyway, that's just my personal view, and if I could not make a point earlier, I won't be able to do so later, and it does not matter anymore.

    So, in the meantime I managed to finish the mixed version test and the Start Menu search is still broken with Toolkit (Toolkit.cmd) v13.3 and replaced ToolKitHelper.exe from v13.4.
    Please fix it @MSMG (unless it works at it should - which I hope is not true).

    Edit: I forgot to mention that the issue probably originates only from [8] Remove Windows Apps Menu, but I wanted to make sure that I remove as much as I can and still produce inconsistency to ensure that it does not come from another component.
     
  7. tempdrive1

    tempdrive1 MDL Member

    Aug 29, 2021
    103
    135
    10
    #26047 tempdrive1, Aug 4, 2023
    Last edited: Aug 4, 2023
    Just so it will not be forgotten (stuff that I reported the other day and what I noticed during my tests):

    - some menus (only tested the Component removal sub menus) exist if the first try is an Enter in the prompt without typing in anything, but will not exist after you are inside and you did type in and hit Enter before
    - color theme (set in the Toolkit options, e.g. full black background) is lost permanently in the session when you use line-based coloring anywhere
    - give a warning if multiple .iso could be found in the ISO folder for a name pattern that was entered, e.g. * or windows* etc., and do not remove pattern-based input (this may apply to other parts of the Toolkit where * would work as an input)
    - display what .iso will be extracted from the ISO folder
    - offer option to use colorblind mode at start (and if not, please set the background color to black and adjust coloring of menu texts)
    - for the Compatibility menu, enforce * on Components if they are selected to be protected in the Components menu after they were unlocked
    - when the Toolkit is not started with nsudo (e.g. running with standard user privileges), loading the image from the DVD folder will not display any index info and also no information why nothing is displayed (there should be a big red text or something that it was not started properly if there is content in the DVD folder) and if you enter anything but 'q', the Toolkit will silently terminate:

    Reading Image Information...

    ===============================================================================
    | Index | Arch | Name
    ===============================================================================
    ===============================================================================

    Enter the Image Index # [Range : 1,... or 'A'll 'Q'uit] :

    - when there is only 1 index for Editions available, only 'Q'uit will be suggested to be entered instead of 1...'Q'uit or something (for consistency sake):

    ===============================================================================
    | Index | Arch | Name
    ===============================================================================
    | 1 | x64 | Windows 10 Home
    ===============================================================================

    Enter the Image Index # ['Q'uit] :


    Given how many basic questions are posted here, I think it is worth the effort enhancing these things.
     
  8. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. tempdrive1

    tempdrive1 MDL Member

    Aug 29, 2021
    103
    135
    10
  10. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    I give you the link.

    Please, show to us. Everything to improve is welcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. inTerActionVRI

    inTerActionVRI MDL Expert

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

    Is there a need to replace all these entries below?
    This time I'm curious... Or should these files be present in the architecture folder, outside the language folders?

    from:
    Code:
    Setup-Package~31bf3856ad364e35~%PackageArchitecture%~~
    
    to:
    Code:
    Setup-Package~31bf3856ad364e35~%PackageArchitecture%~%LanguagePackCode%~
    
    from:
    Code:
    Setup-Client-Package~31bf3856ad364e35~%PackageArchitecture%~~
    
    to:
    Code:
    Setup-Client-Package~31bf3856ad364e35~%PackageArchitecture%~%LanguagePackCode%~
    
    from:
    Code:
    Setup-Server-Package~31bf3856ad364e35~%PackageArchitecture%~~
    
    to:
    Code:
    Setup-Server-Package~31bf3856ad364e35~%PackageArchitecture%~%LanguagePackCode%~
    
    So, there are need to check this?
    from:
    Code:
    LanguagePacks\%SelectedSourceOS%\%PackageVersion%\%ImageArchitecture%^>
    
    to:
    Code:
    LanguagePacks\%SelectedSourceOS%\%PackageVersion%\%ImageArchitecture%\%LanguagePackCode%^>
    
    and some "if not exist" too.
    from:
    Code:
    %ImageArchitecture%\WinPE
    
    to:
    Code:
    %ImageArchitecture%\%LanguagePackCode%\WinPE
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. fabricio simoes

    fabricio simoes MDL Senior Member

    Dec 17, 2020
    331
    90
    10
    #26052 fabricio simoes, Aug 4, 2023
    Last edited: Aug 5, 2023
  13. serch-tv

    serch-tv MDL Novice

    Dec 28, 2012
    14
    11
    0
    #26053 serch-tv, Aug 4, 2023
    Last edited: Aug 4, 2023
  14. Yanta

    Yanta MDL Senior Member

    May 21, 2017
    491
    284
    10
    Thanks for that. Take a look at my post, I updated it last night. I came to the same conclusion you did.

    My change wasn't as extensive as yours (I only changed the lines for the 4 files I was having a problem with).

    I figured once M$ changed an file to neutral and extension to. appxbundle they were probably not going to change it back, so I didn't cater for all of the scenarios..

    The integration now completes successfully. I'll now install from this ISO and see what happens. Will let you know.

    thanks for your assistance.
     
  15. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    #26055 inTerActionVRI, Aug 5, 2023
    Last edited: Aug 5, 2023
    The changes I did will work for the ones who want to install older version. Who knows why? But always there are someone who wants it. For example for w81.
    And will work for the appx tha are not changed yet to neutral, but may will in the future. So it is solved now.

    I am aldo added
    Code:
     /o:d
    for selecting only the latest downloaded file by datetimestamp.
    maybe should be
    Code:
     /o:-n
    for decreasing alphabetical order and select always the neutral instead of x64 if there are 2 kind of files.
    I just download the files retaining the server timestamp of the files. But if user always leaves the latest file version to be downloaded for last, it also be ok.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. tempdrive1

    tempdrive1 MDL Member

    Aug 29, 2021
    103
    135
    10
    Thank you very much!
     
  17. Yanta

    Yanta MDL Senior Member

    May 21, 2017
    491
    284
    10
    #26057 Yanta, Aug 5, 2023
    Last edited: Aug 5, 2023
    All appxbundles are in the image, including the Realtek Audio console.

    C:\Users\Tanya>dism /get-provisionedappxpackages /image:.\mount

    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844

    Image Version: 10.0.19044.3208

    Getting the list of app packages (.appx or .appxbundle) in this image...

    DisplayName : Microsoft.HEIFImageExtension
    Version : 1.0.61171.0
    Architecture : neutral
    ResourceId : ~
    PackageName : Microsoft.HEIFImageExtension_1.0.61171.0_neutral_~_8wekyb3d8bbwe
    Regions :

    DisplayName : Microsoft.HEVCVideoExtension
    Version : 2.0.61931.0
    Architecture : neutral
    ResourceId : ~
    PackageName : Microsoft.HEVCVideoExtension_2.0.61931.0_neutral_~_8wekyb3d8bbwe
    Regions :

    DisplayName : Microsoft.MPEG2VideoExtension
    Version : 1.0.50901.0
    Architecture : x64
    ResourceId :
    PackageName : Microsoft.MPEG2VideoExtension_1.0.50901.0_x64__8wekyb3d8bbwe
    Regions :

    DisplayName : Microsoft.VP9VideoExtensions
    Version : 1.0.61591.0
    Architecture : neutral
    ResourceId : ~
    PackageName : Microsoft.VP9VideoExtensions_1.0.61591.0_neutral_~_8wekyb3d8bbwe
    Regions :

    DisplayName : Microsoft.WebMediaExtensions
    Version : 1.0.61591.0
    Architecture : neutral
    ResourceId : ~
    PackageName : Microsoft.WebMediaExtensions_1.0.61591.0_neutral_~_8wekyb3d8bbwe
    Regions :

    DisplayName : Microsoft.WebpImageExtension
    Version : 1.0.62011.0
    Architecture : neutral
    ResourceId : ~
    PackageName : Microsoft.WebpImageExtension_1.0.62011.0_neutral_~_8wekyb3d8bbwe
    Regions :

    DisplayName : RealtekSemiconductorCorp.RealtekAudioControl
    Version : 1.44.302.0
    Architecture : neutral
    ResourceId : ~

    However, after installing windows from the image,the audio console disappears. It doesn't show up with /get-provisionedappxpackages command.

    I was able to manually install it via dism.

    It gets added to the Windows start menu, but when I install Openshell it is no longer accessible.I can't find the program.

    I was able to create a shortcut which I can then add to the Openshell start menu, but it doesn't show up in settings or on control panel and I could not find a way to start it.

    To access it and create a shortcut I used;

    Code:
    explorer.exe shell:::{4234d49b-0245-4df3-B780-3893943456e1}
    
    You also can't resize the console. It opens almost full screen and you're stuck with that. On a 32" monitor that's big :eek:

    Not impressed :mad:
     
  18. haris_mdlf69

    haris_mdlf69 MDL Addicted

    Oct 23, 2018
    657
    1,235
    30
    How do you integrate Microsoft.MPEG2VideoExtension? Just curious :g:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. tempdrive1

    tempdrive1 MDL Member

    Aug 29, 2021
    103
    135
    10
    #26059 tempdrive1, Aug 5, 2023
    Last edited: Aug 5, 2023
    Okay, so one last remark regarding UUPDUMP:
    When I open the link, it display Feature update to Windows 10, version 22H2 (19045.3271) amd64, this is already not appealing to me, because this is not what I am looking for, in fact, it is completely misleading for me.
    Then, at then end, i can select some checkbox, but all it does after that it tries to download some scripts, which I have no intentions of study right now.
    Let us assume that I have absolutely no idea what I am doing.
    I would still assume that the downloaded product - based on your description - would be some .zip file with (supposedly original) MS .esd files.
    Now, this site is black box, again, whoever has control can do whatever whatever they want with it (quite a popular topic these days, I believe).
    You have little to no control over verifying this.
    I have spent a lot of time (about 20 hours, maybe) to study the origin of the .eds files (MS links, checksum, naming conventions), so I have more control over the outcome that way if the end goal is to construct .1 builds.
    The reason why I am saying this is because you said I am wasting time (too late for that now), but just because you have something handed over to you on silver plate, does not mean it will not backfire - that is just a super generic remark.
    All in all, I have an image, and if I so desire, I can crosscheck with original data (from MS servers).
    To keep it short: I am not smart enough right now to use that site and that is just because I do not have to care right now, but I appreciate your help.

    Now, the stuff you are interested in.
    I had to spend some time on using this primitive approach, but it is the least demanding (people could have issues with PowerShell or WMIC for whatever reason) and generic approach I could come up with in such a short time.
    What my PowerShell script does is that it elevates the session privileges, allowing me to acquire full access to everything one way or another, but does not use actual impersonation, and I have not tested yet if it would be sufficient.
    So, right now, this will still rely on Nsudo, and since this is what you are most familiar with, it should be the most comfortable implementation for the time being.

    The current Toolkit.cmd looks like this:

    color 1f
    title MSMG Toolkit v13.5

    cd /D "%~dp0" >nul
    set "ROOT=%cd%"
    cd /D "%ROOT%\" >nul


    You need to change it as follows:

    color 1f

    if "%PROCESSOR_ARCHITECTURE%" equ "x86" set "Arch=x86"
    if "%PROCESSOR_ARCHITECTURE%" equ "AMD64" set "Arch=x64"

    whoami | findstr /I "NT AUTHORITY\SYSTEM" >NUL || start /b "ToolKit - TrustedInstaller" "%~dp0Bin\%Arch%\NSudo.exe" -U:T -P:E %0 && exit 0


    title MSMG Toolkit v13.5

    cd /D "%~dp0" >nul
    set "ROOT=%cd%"
    cd /D "%ROOT%\" >nul



    I did a last minute change here, but seems to be working.
    This is the shortest version I could come up with - all you need is the 3 lines of bold text, which you can place pretty much anywhere, but I think this is where it makes the most sense to have it.
    You already know what it is doing, but I am going to explain it anyway :)

    Nsudo will set impersonation to "NT AUTHORITY\SYSTEM".
    You can query who you are by using the command whoami.
    If it does not return this, you are not running the desired elevated session.

    So, after setting the environment reference for Nsudo, you query who you are running the script as and if it does not match for the Findstr case insensitive query, it will use the Nsudo start and then exit the current process with code 0 (success).
    Notice the red highlighted text of %0, which means that the whole script path, whatever it is named as, and pass that to Nsudo.
    This will allow you to test multiple scripts with different names without having to change the name of the file, just placing them next to each other.
    Works also with paths that have spaces in their names, as %0 seems to be coming with quotes surrounded for the stored value by default.

    Again, this is quite a low-tier approach, but should do more justice than harm, I believe.
     
  20. Yanta

    Yanta MDL Senior Member

    May 21, 2017
    491
    284
    10
    #26060 Yanta, Aug 5, 2023
    Last edited: Aug 5, 2023
    Using the toolkit integration menu (2), Windows Features (3), Inbox Apps (P). All the codecs are on that page.
    This adds it to your offline image, from there create your ISO and install Windows. It will have the codec installed.

    manually, using dism on a live system;

    Code:
    DISM.exe /Online /Add-ProvisionedAppxPackage /PackagePath:Microsoft.MPEG2VideoExtension_1.0.50901.0_x64__8wekyb3d8bbwe.Appx /DependencyPackagePath:Microsoft.VCLibs.140.00_14.0.32530.0_x64__8wekyb3d8bbwe.Appx /skiplicense
    
    Make sure the mpeg-2 extension and the dependent vclibs file are in the same folder.