Q: How to check which dependencies are for which System Apps? If hassle to find out its target packages... How about construct 20279.1 without them, and slim down the image at the same time?
doesn't work Spoiler EDIT: i tried installing it offline and the package installed successfully but I can't change my language Spoiler
Install it offline, but on a mounted image, remove the old zh-CN language pack, and also install language FoD's.
3-1: These en-US Language feature packs are also necessary: Code: microsoft-windows-languagefeatures-basic-en-us-package-amd64 microsoft-windows-languagefeatures-handwriting-en-us-package-amd64 microsoft-windows-languagefeatures-ocr-en-us-package-amd64 microsoft-windows-languagefeatures-speech-en-us-package-amd64 microsoft-windows-languagefeatures-texttospeech-en-us-package-amd64 3-2: These Fod Language packs are also necessary: Code: microsoft-windows-mspaint-fod-package-amd64-en-us microsoft-windows-mspaint-fod-package-wow64-en-us microsoft-windows-notepad-fod-package-amd64-en-us microsoft-windows-notepad-fod-package-wow64-en-us microsoft-windows-powershell-ise-fod-package-amd64-en-us microsoft-windows-powershell-ise-fod-package-wow64-en-us Microsoft-Windows-Printing-PMCPPC-FoD-Package-amd64-en-US microsoft-windows-printing-wfs-fod-package-amd64-en-us microsoft-windows-stepsrecorder-package-amd64-en-us microsoft-windows-stepsrecorder-package-wow64-en-us Microsoft-Windows-WirelessDisplay-FOD-Package-amd64-en-us microsoft-windows-wordpad-fod-package-amd64-en-us microsoft-windows-wordpad-fod-package-wow64-en-us 3-3: Run this to set Default System Language: Code: dism /image:C: /set-skuintldefaults:en-US It is Dual-Lang System now. To make it in single en-US, remove aforementioned zh-CN packages. PS: If C:\Windows\System32\Recovery\winre.wim is needed, its zh-CN language packs should be removed and install en-US ones. [zh-CN] Code: lp.cab (Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~zh-CN~10.0.20348.1) winpe-appxpackaging_zh-cn.cab winpe-atbroker_zh-cn.cab winpe-audiocore_zh-cn.cab winpe-audiodrivers_zh-cn.cab winpe-enhancedstorage_zh-cn.cab WinPE-FontSupport-ZH-CN.cab winpe-hta_zh-cn.cab winpe-narrator_zh-cn.cab winpe-opcservices_zh-cn.cab winpe-rejuv_zh-cn.cab winpe-scripting_zh-cn.cab winpe-securestartup_zh-cn.cab WinPE-Speech-TTS-zh-CN.cab winpe-speech-tts_zh-cn.cab winpe-srh_zh-cn.cab winpe-srt_zh-cn.cab winpe-storagewmi_zh-cn.cab winpe-wds-tools_zh-cn.cab winpe-wifi_zh-cn.cab winpe-wmi_zh-cn.cab [en-US] Code: lp.cab (Microsoft-Windows-WinPE-LanguagePack-Package~31bf3856ad364e35~amd64~en-US~10.0.20348.1) winpe-appxpackaging_en-us.cab winpe-atbroker_en-us.cab winpe-audiocore_en-us.cab winpe-audiodrivers_en-us.cab winpe-enhancedstorage_en-us.cab winpe-hta_en-us.cab winpe-narrator_en-us.cab winpe-opcservices_en-us.cab winpe-rejuv_en-us.cab winpe-scripting_en-us.cab winpe-securestartup_en-us.cab winpe-speech-tts_en-us.cab winpe-srh_en-us.cab winpe-srt_en-us.cab winpe-storagewmi_en-us.cab winpe-wds-tools_en-us.cab winpe-wifi_en-us.cab winpe-wmi_en-us.cab PS: 20348.1.210507-1500.fe_release_amd64fre_SERVER_LOF_PACKAGES_OEM.iso
Does anyone know how to fix this (20348.1)? Code: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Extract source packages :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Creating files: 11399 of 11399 (100%) done Extracting file data: 1137 MiB of 1137 MiB (100%) done Applying metadata to files: 11399 of 11399 (100%) done Done extracting files. ======================================================================================================== Reconstruct 20348.1 Windows 10 Pro Education N (Retail with Edge without Store with NetFx3 with Media features) amd64 en-US ======================================================================================================== :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Mount Neutral image Index:1 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Deployment Image Servicing and Management tool Version: 10.0.19041.3636 Mounting image [==========================100.0%==========================] The operation completed successfully. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Convert Neutral to ProfessionalEducationN :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Deployment Image Servicing and Management tool Version: 10.0.19041.3636 Image Version: 10.0.20348.1 Removing package Microsoft-Windows-NeutralEdition~31bf3856ad364e35~amd64~~10.0.20348.1 Removing package Microsoft-Windows-NeutralEdition~31bf3856ad364e35~amd64~~10.0.20348.1 [==========================100.0%==========================] The operation completed successfully. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Expand en-US Client language :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Add en-US Client language :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Deployment Image Servicing and Management tool Version: 10.0.19041.3636 Image Version: 10.0.20348.1 Processing 1 of 1 - Adding package Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~amd64~en-US~10.0.20348.1 [==========================100.0%==========================] The operation completed successfully. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Add en-US Language features :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Microsoft-Windows-LanguageFeatures-Basic-en-us-Package~31bf3856ad364e35~amd64~~.cab Microsoft-Windows-LanguageFeatures-Handwriting-en-us-Package~31bf3856ad364e35~amd64~~.cab Microsoft-Windows-LanguageFeatures-OCR-en-us-Package~31bf3856ad364e35~amd64~~.cab Microsoft-Windows-LanguageFeatures-Speech-en-us-Package~31bf3856ad364e35~amd64~~.cab Microsoft-Windows-LanguageFeatures-TextToSpeech-en-us-Package~31bf3856ad364e35~amd64~~.cab :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Add NetFx3 OnDemand :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~amd64~~10.0.20348.1.cab Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~amd64~en-US~10.0.20348.1.cab :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Add Media Features :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Microsoft-Windows-Media-Features-Package-amd64.cab Error: 0x800f081e The specified package is not applicable to this image. Microsoft-Windows-Media-Features-Package-wow64.cab Microsoft-Windows-Media-Features-Package-amd64-en-US.cab Microsoft-Windows-Media-Features-Package-wow64-en-US.cab
Add these two command lines in front of "Add Media Features". Code: if exist %MT%\Windows\servicing\FodMetadata rd /s /q %MT%\Windows\servicing\FodMetadata if exist %MT%\Windows\servicing\InboxFodMetadataCache rd /s /q %MT%\Windows\servicing\InboxFodMetadataCache Code: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: if defined WMP if /i %MEDIAFEATURE%==with ( echo. echo ------------------------------------------------------------ echo Add Media Features echo ------------------------------------------------------------ echo. echo Microsoft-Windows-Media-Features-Package-amd64.cab dism /english /quiet /image:%MT% /add-package:files\MediaFeature\Microsoft-Windows-Media-Features-Package-amd64.cab echo Microsoft-Windows-Media-Features-Package-wow64.cab dism /english /quiet /image:%MT% /add-package:files\MediaFeature\Microsoft-Windows-Media-Features-Package-wow64.cab echo Microsoft-Windows-Media-Features-Package-amd64-%LANG%.cab dism /english /quiet /image:%MT% /add-package:files\MediaFeature\Microsoft-Windows-Media-Features-Package-amd64-%LANG%.cab echo Microsoft-Windows-Media-Features-Package-wow64-%LANG%.cab dism /english /quiet /image:%MT% /add-package:files\MediaFeature\Microsoft-Windows-Media-Features-Package-wow64-%LANG%.cab ) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ---> Code: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: if exist %MT%\Windows\servicing\FodMetadata rd /s /q %MT%\Windows\servicing\FodMetadata if exist %MT%\Windows\servicing\InboxFodMetadataCache rd /s /q %MT%\Windows\servicing\InboxFodMetadataCache if defined WMP if /i %MEDIAFEATURE%==with ( echo. echo ------------------------------------------------------------ echo Add Media Features echo ------------------------------------------------------------ echo. echo Microsoft-Windows-Media-Features-Package-amd64.cab dism /english /quiet /image:%MT% /add-package:files\MediaFeature\Microsoft-Windows-Media-Features-Package-amd64.cab echo Microsoft-Windows-Media-Features-Package-wow64.cab dism /english /quiet /image:%MT% /add-package:files\MediaFeature\Microsoft-Windows-Media-Features-Package-wow64.cab echo Microsoft-Windows-Media-Features-Package-amd64-%LANG%.cab dism /english /quiet /image:%MT% /add-package:files\MediaFeature\Microsoft-Windows-Media-Features-Package-amd64-%LANG%.cab echo Microsoft-Windows-Media-Features-Package-wow64-%LANG%.cab dism /english /quiet /image:%MT% /add-package:files\MediaFeature\Microsoft-Windows-Media-Features-Package-wow64-%LANG%.cab ) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: = Code: ------------------------------------------------------------ Add Media Features ------------------------------------------------------------ Microsoft-Windows-Media-Features-Package-amd64.cab Microsoft-Windows-Media-Features-Package-wow64.cab Microsoft-Windows-Media-Features-Package-amd64-fr-FR.cab Microsoft-Windows-Media-Features-Package-wow64-fr-FR.cab ------------------------------------------------------------
Thank you, FoD LPs install properly but the language feature packs are not installing... (getting error 0x800f081f) Spoiler also for .NET 3.5 is it fine to add this package? Code: Microsoft-Windows-NetFx3-OnDemand-Package-amd64.cab
ISO or script? This is to gailium's zh-CN ISO image: Code: C:\windows\system32>dism /english /image:K: /add-package:Z:\en-us\microsoft-windows-languagefeatures-basic-en-us-package-amd64 Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.20348.1 Processing 1 of 1 - Adding package Microsoft-Windows-LanguageFeatures-Basic-en-us-Package~31bf3856ad364e35~amd64~~10.0.20348.1 [==========================100.0%==========================] The operation completed successfully. C:\windows\system32>dism /english /image:K: /add-package:Z:\microsoft-windows-netfx3-ondemand-package~31bf3856ad364e35~amd64~~.cab Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.20348.1 Processing 1 of 1 - Adding package Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~amd64~~10.0.20348.1 [==========================100.0%==========================] The operation completed successfully. C:\windows\system32> This is to en-GB IoTEnterpriseS being reconstructed: Code: ------------------------------------------------------------ Add en-GB Client language ------------------------------------------------------------ Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.20348.1 Processing 1 of 1 - Adding package Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~amd64~en-GB~10.0.20348.1 [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------ Add en-GB language features ------------------------------------------------------------ Microsoft-Windows-LanguageFeatures-Basic-en-gb-Package-amd64 Microsoft-Windows-LanguageFeatures-Handwriting-en-gb-Package-amd64 Microsoft-Windows-LanguageFeatures-OCR-en-gb-Package-amd64 Microsoft-Windows-LanguageFeatures-Speech-en-gb-Package-amd64 Microsoft-Windows-LanguageFeatures-TextToSpeech-en-gb-Package-amd64 ------------------------------------------------------------
I exported the IoT LTSC index in the install.esd to a seperate WIM file and added packages using DISMTools.
Try to "expand" the packages before installation, and install by the "folder" or its "update.mum". e.g. dism /image:K: /add-package:Z:\microsoft-windows-languagefeatures-basic-en-us-package-amd64 and dism /image:K: /add-package:Z:\microsoft-windows-languagefeatures-basic-en-us-package-amd64\update.mum
Still doesn't work. This is part of the script responsible for FoD's: Code: echo. echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: echo Add FoD echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: echo. if exist %MT%\Windows\servicing\FodMetadata rd /s /q %MT%\Windows\servicing\FodMetadata if exist %MT%\Windows\servicing\InboxFodMetadataCache rd /s /q %MT%\Windows\servicing\InboxFodMetadataCache if /i %SELECTABILITY%==Yes if /i %TARGET%==IoTEnterpriseS ( for /f %%i in ('dir /b files\FOD\Neutral ^| findstr /i /v "Face MediaPlayer Printing Wallpaper"') do (echo %%i&dism /english /quiet /image:%MT% /add-package:files\FOD\Neutral\%%i) goto:WIN32CALC ) if defined PMCPPC if defined WMP if /i %MEDIAFEATURE%==without ( for /f %%i in ('dir /b files\FOD\Neutral ^| findstr /i /v "pmcppc MediaPlayer"') do (echo %%i&dism /english /quiet /image:%MT% /add-package:files\FOD\Neutral\%%i) goto:WIN32CALC ) if defined PMCPPC ( for /f %%i in ('dir /b files\FOD\Neutral ^| findstr /i /v "pmcppc"') do (echo %%i&dism /english /quiet /image:%MT% /add-package:files\FOD\Neutral\%%i) goto:WIN32CALC ) if defined WMP if /i %MEDIAFEATURE%==without ( for /f %%i in ('dir /b files\FOD\Neutral ^| findstr /i /v "MediaPlayer"') do (echo %%i&dism /english /quiet /image:%MT% /add-package:files\FOD\Neutral\%%i) goto:WIN32CALC ) for /f %%i in ('dir /b files\FOD\Neutral') do (echo %%i&dism /english /quiet /image:%MT% /add-package:files\FOD\Neutral\%%i) :WIN32CALC if defined LTSC ( for /f %%i in ('dir /b files\FOD\Win32Calc') do (echo %%i&dism /english /quiet /image:%MT% /add-package:files\FOD\Win32Calc\%%i) ) echo. echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: echo Add %LANG% FoD languages echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: echo. if /i %SELECTABILITY%==Yes if /i %TARGET%==IoTEnterpriseS ( for /f %%i in ('dir /b files\FOD\%LANG% ^| findstr /i /v "MediaPlayer Printing"') do (echo %%i&dism /english /quiet /image:%MT% /add-package:files\FOD\%LANG%\%%i) goto:BYFoDLang ) if defined PMCPPC if defined WMP if /i %MEDIAFEATURE%==without ( for /f %%i in ('dir /b files\FOD\%LANG% ^| findstr /i /v "pmcppc MediaPlayer"') do (echo %%i&dism /english /quiet /image:%MT% /add-package:files\FOD\%LANG%\%%i) goto:BYFoDLang ) if defined PMCPPC ( for /f %%i in ('dir /b files\FOD\%LANG% ^| findstr /i /v "pmcppc"') do (echo %%i&dism /english /quiet /image:%MT% /add-package:files\FOD\%LANG%\%%i) goto:BYFoDLang ) if defined WMP if /i %MEDIAFEATURE%==without ( for /f %%i in ('dir /b files\FOD\%LANG% ^| findstr /i /v "MediaPlayer"') do (echo %%i&dism /english /quiet /image:%MT% /add-package:files\FOD\%LANG%\%%i) goto:BYFoDLang ) for /f %%i in ('dir /b files\FOD\%LANG%') do (echo %%i&dism /english /quiet /image:%MT% /add-package:files\FOD\%LANG%\%%i) :BYFoDLang if defined LTSC ( echo Microsoft-Windows-win32calc-Package-amd64-%LANG%.cab dism /english /quiet /image:%MT% /add-package:temp\%LANG%\Microsoft-Windows-win32calc-Package~31bf3856ad364e35~%ARCH%~%LANG%~%LVER%.mum ) rd /s /q temp\%LANG% if /i %NETFX3%==with ( echo. echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: echo Add NetFx3 OnDemand echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: echo. echo Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~%ARCH%~~%LVER%.cab dism /english /quiet /image:%MT% /add-package:files\NetFx3\Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~%ARCH%~~%LVER%.cab echo Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~%ARCH%~%LANG%~%LVER%.cab dism /english /quiet /image:%MT% /add-package:files\NetFx3\Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~%ARCH%~%LANG%~%LVER%.cab ) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: if exist %MT%\Windows\servicing\FodMetadata rd /s /q %MT%\Windows\servicing\FodMetadata if exist %MT%\Windows\servicing\InboxFodMetadataCache rd /s /q %MT%\Windows\servicing\InboxFodMetadataCache if defined WMP if /i %MEDIAFEATURE%==with ( echo. echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: echo Add Media Features echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: echo. echo Microsoft-Windows-Media-Features-Package-amd64.cab dism /english /quiet /image:%MT% /add-package:files\MediaFeature\Microsoft-Windows-Media-Features-Package-amd64.cab echo Microsoft-Windows-Media-Features-Package-wow64.cab dism /english /quiet /image:%MT% /add-package:files\MediaFeature\Microsoft-Windows-Media-Features-Package-wow64.cab echo Microsoft-Windows-Media-Features-Package-amd64-%LANG%.cab dism /english /quiet /image:%MT% /add-package:files\MediaFeature\Microsoft-Windows-Media-Features-Package-amd64-%LANG%.cab echo Microsoft-Windows-Media-Features-Package-wow64-%LANG%.cab dism /english /quiet /image:%MT% /add-package:files\MediaFeature\Microsoft-Windows-Media-Features-Package-wow64-%LANG%.cab ) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Does it make sense to delete FodMetadata and InboxFodMetadataCache twice?