Multilang FOD RSAT

To properly add RSAT to Windows 10 using ContentPacks and proper Language support, follow these steps. Languages are selected by the System Language and the installed Language Packs

Windows 10 1909 uses the same FOD as Windows 10 1903

Mount Features on Demand ISO

You will need to first mount the Features on Demand ISO

Copy Script

Adjust the following script to copy the content to the ContentPack. Modify and repeat as necessary
1
#Path to the mounted Features on Demand ISO
2
$FodISO = 'G:\'
3
4
#Set the Arch and ReleaseId of the mounted FOD ISO
5
$Arch = 'x64'
6
$ReleaseId = '1903'
7
8
#ContentPack Name
9
$ContentPack = 'MultiLang FOD RSAT'
10
11
#Languages to support
12
#The first value must be $null for Language Neutral
13
#Second value can be * for all Languages
14
#Second or additional values can be the Language. eg. en-us
15
$Languages = @($null,'*')
16
17
#Do not modify below this line
18
#Initialize OSDBuilder
19
OSDBuilder -Initialize
20
21
#Create the ContentPack
22
New-OSDBuilderContentPack -Name $ContentPack -ContentType OS
23
24
#Destination Path
25
$Destination = "$SetOSDBuilderPathContentPacks\$ContentPack\OSCapability\$ReleaseID $Arch RSAT"
26
27
#Process Content
28
$Architectures = @('x86','amd64','wow64')
29
if (!(Test-Path $Destination)) {New-Item $Destination -ItemType Directory -Force | Out-Null}
30
foreach ($Language in $Languages) {
31
foreach ($Architecture in $Architectures) {
32
Get-ChildItem $FodISO -Recurse -Include metadata,FoDMetadata_Client.cab,"Microsoft-Windows*FoD*$Architecture~$Language~.cab" -Exclude *LanguageFeatures*,*Holographic* | foreach {
33
if (!(Test-Path "$Destination\$($_.Name)")) {
34
Write-Output "$Destination\$($_.Name)"
35
Copy-Item $_.FullName $Destination -Force -Recurse
36
}
37
}
38
}
39
}
Copied!

Remove Unnecessary Content

You can now safely remove all directories in the ContentPack except for OSCapability
In the OSCapability directory, remove the non-RSAT directories

New-OSBuildTask

Now simply add the ContentPack to your MultiLang OSBuild Task with the AddContentPacks parameter. During New-OSBuild, RSAT will be enabled with the proper Language support
Last modified 1yr ago