Note: %DeployRoot% is the path you specified when the deployment share was created.
Locate the Function ConstructLPQuery ( isLangPack ) in DeployWiz_Initialization.vbs and replace the following code:
ElseIf isServer and left(ImgBuild,4) = "6.0." then
' All Windows Server 2008 Language Packs use Product Version 6.0.6001.18000
LPQuery = "PackageType = 'LanguagePack' and ProductName = 'Microsoft-Windows-Server-LanguagePack-Package' and substring(ProductVersion,1,8) = '6.0.6001' "
ElseIf left(ImgBuild,4) = "6.0." then
' All Windows Vista Language Packs use Product Version 6.0.6000.16386
LPQuery = "PackageType = 'LanguagePack' and ProductName = 'Microsoft-Windows-Client-LanguagePack-Package' and substring(ProductVersion,1,8) = '6.0.6000' "
ElseIf isServer then
LPQuery = "PackageType = 'LanguagePack' and ProductName = 'Microsoft-Windows-Server-LanguagePack-Package' and substring(ProductVersion,1,7) = '" & left(ImgBuild,7) & "' and substring(ProductVersion,5,4) >= '" & mid(ImgBuild,5,4) & "'"
Else
LPQuery = "PackageType = 'LanguagePack' and ProductName = 'Microsoft-Windows-Client-LanguagePack-Package' and substring(ProductVersion,1,7) = '" & left(ImgBuild,7) & "' and substring(ProductVersion,5,4) >= '" & mid(ImgBuild,5,4) & "'"
End if
ElseIf isServer and left(ImgBuild,4) = "6.0." then
' All Windows Server 2008 Language Packs use Product Version 6.0.6001.18000
LPQuery = "PackageType = 'LanguagePack' and (ProductName = 'Microsoft-Windows-Server-LanguagePack-Package' or ProductName = 'Microsoft-Windows-Server-Refresh-LanguagePack-Package') and substring(ProductVersion,1,8) = '6.0.6001' "
ElseIf left(ImgBuild,4) = "6.0." then
' All Windows Vista Language Packs use Product Version 6.0.6000.16386
LPQuery = "PackageType = 'LanguagePack' and (ProductName = 'Microsoft-Windows-Client-LanguagePack-Package' or ProductName = 'Microsoft-Windows-Client-Refresh-LanguagePack-Package') and substring(ProductVersion,1,8) = '6.0.6000' "
ElseIf isServer then
LPQuery = "PackageType = 'LanguagePack' and (ProductName = 'Microsoft-Windows-Server-LanguagePack-Package' or ProductName = 'Microsoft-Windows-Server-Refresh-LanguagePack-Package') and substring(ProductVersion,1,7) = '" & left(ImgBuild,7) & "' and substring(ProductVersion,5,4) >= '" & mid(ImgBuild,5,4) & "'"
Else
LPQuery = "PackageType = 'LanguagePack' and (ProductName = 'Microsoft-Windows-Client-LanguagePack-Package' or ProductName = 'Microsoft-Windows-Client-Refresh-LanguagePack-Package') and substring(ProductVersion,1,7) = '" & left(ImgBuild,7) & "' and substring(ProductVersion,5,4) >= '" & mid(ImgBuild,5,4) & "'"
End if