mirror of
				https://github.com/massgravel/Microsoft-Activation-Scripts.git
				synced 2025-11-04 17:13:24 +08:00 
			
		
		
		
	Detect unsupported languages for Office 2019 Perpetual VL update channel
This commit is contained in:
		
							parent
							
								
									1fb65d4f9c
								
							
						
					
					
						commit
						2b37400aa8
					
				@ -19136,6 +19136,17 @@ set buildchk=0
 | 
				
			|||||||
for /f "tokens=3 delims=." %%a in ("%build%") do set "buildchk=%%a"
 | 
					for /f "tokens=3 delims=." %%a in ("%build%") do set "buildchk=%%a"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
call :oe_getlangs %_firstoId%
 | 
					call :oe_getlangs %_firstoId%
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					echo %targetchannel% | find /i "2019 VL" %nul% && (
 | 
				
			||||||
 | 
					for %%A in (en-gb es-mx fr-ca) do (
 | 
				
			||||||
 | 
					echo %_allLangs% | find /i "%%A" %nul% && (
 | 
				
			||||||
 | 
					%eline%
 | 
				
			||||||
 | 
					echo [%%A] language is not supported on the Office 2019 Perpetual VL update channel. Aborting...
 | 
				
			||||||
 | 
					goto :oe_goback
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
set "c2rcommand="%_c2rExe%" platform=%_oArch% culture=%_lang% productstoadd=%_firstoId%.16_%_allLangs% cdnbaseurl.16=http://officecdn.microsoft.com/pr/%targetFFN% baseurl.16=http://officecdn.microsoft.com/pr/%targetFFN% version.16=%build% mediatype.16=CDN sourcetype.16=CDN deliverymechanism=%targetFFN% %_firstoId%.excludedapps.16=%_firstoIdExcludelist% flt.useteamsaddon=disabled flt.usebingaddononinstall=disabled flt.usebingaddononupdate=disabled"
 | 
					set "c2rcommand="%_c2rExe%" platform=%_oArch% culture=%_lang% productstoadd=%_firstoId%.16_%_allLangs% cdnbaseurl.16=http://officecdn.microsoft.com/pr/%targetFFN% baseurl.16=http://officecdn.microsoft.com/pr/%targetFFN% version.16=%build% mediatype.16=CDN sourcetype.16=CDN deliverymechanism=%targetFFN% %_firstoId%.excludedapps.16=%_firstoIdExcludelist% flt.useteamsaddon=disabled flt.usebingaddononinstall=disabled flt.usebingaddononupdate=disabled"
 | 
				
			||||||
set "c2rclientupdate=!c2rcommand! scenario=CLIENTUPDATE"
 | 
					set "c2rclientupdate=!c2rcommand! scenario=CLIENTUPDATE"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -1158,6 +1158,17 @@ set buildchk=0
 | 
				
			|||||||
for /f "tokens=3 delims=." %%a in ("%build%") do set "buildchk=%%a"
 | 
					for /f "tokens=3 delims=." %%a in ("%build%") do set "buildchk=%%a"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
call :oe_getlangs %_firstoId%
 | 
					call :oe_getlangs %_firstoId%
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					echo %targetchannel% | find /i "2019 VL" %nul% && (
 | 
				
			||||||
 | 
					for %%A in (en-gb es-mx fr-ca) do (
 | 
				
			||||||
 | 
					echo %_allLangs% | find /i "%%A" %nul% && (
 | 
				
			||||||
 | 
					%eline%
 | 
				
			||||||
 | 
					echo [%%A] language is not supported on the Office 2019 Perpetual VL update channel. Aborting...
 | 
				
			||||||
 | 
					goto :oe_goback
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
set "c2rcommand="%_c2rExe%" platform=%_oArch% culture=%_lang% productstoadd=%_firstoId%.16_%_allLangs% cdnbaseurl.16=http://officecdn.microsoft.com/pr/%targetFFN% baseurl.16=http://officecdn.microsoft.com/pr/%targetFFN% version.16=%build% mediatype.16=CDN sourcetype.16=CDN deliverymechanism=%targetFFN% %_firstoId%.excludedapps.16=%_firstoIdExcludelist% flt.useteamsaddon=disabled flt.usebingaddononinstall=disabled flt.usebingaddononupdate=disabled"
 | 
					set "c2rcommand="%_c2rExe%" platform=%_oArch% culture=%_lang% productstoadd=%_firstoId%.16_%_allLangs% cdnbaseurl.16=http://officecdn.microsoft.com/pr/%targetFFN% baseurl.16=http://officecdn.microsoft.com/pr/%targetFFN% version.16=%build% mediatype.16=CDN sourcetype.16=CDN deliverymechanism=%targetFFN% %_firstoId%.excludedapps.16=%_firstoIdExcludelist% flt.useteamsaddon=disabled flt.usebingaddononinstall=disabled flt.usebingaddononupdate=disabled"
 | 
				
			||||||
set "c2rclientupdate=!c2rcommand! scenario=CLIENTUPDATE"
 | 
					set "c2rclientupdate=!c2rcommand! scenario=CLIENTUPDATE"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user