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
Mount Features on Demand ISO
Copy Script
#Path to the mounted Features on Demand ISO
$FodISO = 'G:\'
#Set the Arch and ReleaseId of the mounted FOD ISO
$Arch = 'x64'
$ReleaseId = '1903'
#ContentPack Name
$ContentPack = 'MultiLang FOD RSAT'
#Languages to support
#The first value must be $null for Language Neutral
#Second value can be * for all Languages
#Second or additional values can be the Language. eg. en-us
$Languages = @($null,'*')
#Do not modify below this line
#Initialize OSDBuilder
OSDBuilder -Initialize
#Create the ContentPack
New-OSDBuilderContentPack -Name $ContentPack -ContentType OS
#Destination Path
$Destination = "$SetOSDBuilderPathContentPacks\$ContentPack\OSCapability\$ReleaseID $Arch RSAT"
#Process Content
$Architectures = @('x86','amd64','wow64')
if (!(Test-Path $Destination)) {New-Item $Destination -ItemType Directory -Force | Out-Null}
foreach ($Language in $Languages) {
foreach ($Architecture in $Architectures) {
Get-ChildItem $FodISO -Recurse -Include metadata,FoDMetadata_Client.cab,"Microsoft-Windows*FoD*$Architecture~$Language~.cab" -Exclude *LanguageFeatures*,*Holographic* | foreach {
if (!(Test-Path "$Destination\$($_.Name)")) {
Write-Output "$Destination\$($_.Name)"
Copy-Item $_.FullName $Destination -Force -Recurse
}
}
}
}
Remove Unnecessary Content


New-OSBuildTask

Last updated
Was this helpful?