2021-01-02

Azure Windows 10 Multi-Session Language Packs 多國語言包離線安裝

不知為何在 Azure 上建立的 Windows 10 Multi-Session Version 用線上安裝語言包進度都不會動
而且之前記錄的這篇 Windows 10 Language Packs 多國語言字型問題 的指令敲下去也不會動

找了一下,微軟有提供語言包 ISO 檔可以下載
網頁中也有安裝的語法

要下載兩個 ISO 檔,分別是 Language ISO 與 FOD Disk 1 ISO

Mount 後直接下指令
以下列出常用的: 繁體中文、簡體中文及日文的安裝 Powershell Command

$LanguageISODrive = 'F:';
$FODDiskISO = 'G:';


##Chinese(zh-TW)##

Add-AppProvisionedPackage -Online -PackagePath $LanguageISODrive\LocalExperiencePack\zh-tw\LanguageExperiencePack.zh-TW.Neutral.appx -LicensePath $LanguageISODrive\LocalExperiencePack\zh-tw\License.xml
Add-WindowsPackage -Online -PackagePath $LanguageISODrive\x64\langpacks\Microsoft-Windows-Client-Language-Pack_x64_zh-tw.cab

Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-LanguageFeatures-Basic-zh-tw-Package~31bf3856ad364e35~amd64~~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-LanguageFeatures-Fonts-Hant-Package~31bf3856ad364e35~amd64~~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-LanguageFeatures-Handwriting-zh-tw-Package~31bf3856ad364e35~amd64~~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-LanguageFeatures-OCR-zh-tw-Package~31bf3856ad364e35~amd64~~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-LanguageFeatures-Speech-zh-tw-Package~31bf3856ad364e35~amd64~~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-LanguageFeatures-TextToSpeech-zh-tw-Package~31bf3856ad364e35~amd64~~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-InternationalFeatures-Taiwan-Package~31bf3856ad364e35~amd64~~.cab

Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~zh-TW~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~amd64~zh-TW~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-MSPaint-FoD-Package~31bf3856ad364e35~amd64~zh-TW~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-Notepad-FoD-Package~31bf3856ad364e35~amd64~zh-TW~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-PowerShell-ISE-FOD-Package~31bf3856ad364e35~amd64~zh-TW~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-Printing-WFS-FoD-Package~31bf3856ad364e35~amd64~zh-TW~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-StepsRecorder-Package~31bf3856ad364e35~amd64~zh-TW~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-WordPad-FoD-Package~31bf3856ad364e35~amd64~zh-TW~.cab

$LanguageList = Get-WinUserLanguageList
$LanguageList.Add("zh-TW")
Set-WinUserLanguageList $LanguageList -force


##Chinese(zh-CN)##

Add-AppProvisionedPackage -Online -PackagePath $LanguageISODrive\LocalExperiencePack\zh-cn\LanguageExperiencePack.zh-CN.Neutral.appx -LicensePath $LanguageISODrive\LocalExperiencePack\zh-cn\License.xml
Add-WindowsPackage -Online -PackagePath $LanguageISODrive\x64\langpacks\Microsoft-Windows-Client-Language-Pack_x64_zh-cn.cab

Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-LanguageFeatures-Basic-zh-cn-Package~31bf3856ad364e35~amd64~~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-LanguageFeatures-Fonts-Hans-Package~31bf3856ad364e35~amd64~~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-LanguageFeatures-Handwriting-zh-cn-Package~31bf3856ad364e35~amd64~~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-LanguageFeatures-OCR-zh-cn-Package~31bf3856ad364e35~amd64~~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-LanguageFeatures-Speech-zh-cn-Package~31bf3856ad364e35~amd64~~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-LanguageFeatures-TextToSpeech-zh-cn-Package~31bf3856ad364e35~amd64~~.cab

Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~zh-CN~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~amd64~zh-CN~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-MSPaint-FoD-Package~31bf3856ad364e35~amd64~zh-CN~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-Notepad-FoD-Package~31bf3856ad364e35~amd64~zh-CN~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-PowerShell-ISE-FOD-Package~31bf3856ad364e35~amd64~zh-CN~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-Printing-WFS-FoD-Package~31bf3856ad364e35~amd64~zh-CN~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-StepsRecorder-Package~31bf3856ad364e35~amd64~zh-CN~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-WordPad-FoD-Package~31bf3856ad364e35~amd64~zh-CN~.cab

$LanguageList = Get-WinUserLanguageList
$LanguageList.Add("zh-CN")
Set-WinUserLanguageList $LanguageList -force


##Japan(ja-JP)##

Add-AppProvisionedPackage -Online -PackagePath $LanguageISODrive\LocalExperiencePack\ja-jp\LanguageExperiencePack.ja-JP.Neutral.appx -LicensePath $LanguageISODrive\LocalExperiencePack\ja-jp\License.xml
Add-WindowsPackage -Online -PackagePath $LanguageISODrive\x64\langpacks\Microsoft-Windows-Client-Language-Pack_x64_ja-jp.cab

Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-LanguageFeatures-Basic-ja-jp-Package~31bf3856ad364e35~amd64~~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-LanguageFeatures-Fonts-Jpan-Package~31bf3856ad364e35~amd64~~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-LanguageFeatures-Handwriting-ja-jp-Package~31bf3856ad364e35~amd64~~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-LanguageFeatures-OCR-ja-jp-Package~31bf3856ad364e35~amd64~~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-LanguageFeatures-Speech-ja-jp-Package~31bf3856ad364e35~amd64~~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-LanguageFeatures-TextToSpeech-ja-jp-Package~31bf3856ad364e35~amd64~~.cab

Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~ja-JP~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~amd64~ja-JP~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-MSPaint-FoD-Package~31bf3856ad364e35~amd64~ja-JP~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-Notepad-FoD-Package~31bf3856ad364e35~amd64~ja-JP~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-PowerShell-ISE-FOD-Package~31bf3856ad364e35~amd64~ja-JP~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-Printing-WFS-FoD-Package~31bf3856ad364e35~amd64~ja-JP~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-StepsRecorder-Package~31bf3856ad364e35~amd64~ja-JP~.cab
Add-WindowsPackage -Online -PackagePath $FODDiskISO\Microsoft-Windows-WordPad-FoD-Package~31bf3856ad364e35~amd64~ja-JP~.cab

$LanguageList = Get-WinUserLanguageList
$LanguageList.Add("ja-JP")
Set-WinUserLanguageList $LanguageList -force


沒有留言:

張貼留言