diff options
| author | WindowsAddict | 2024-09-26 15:26:02 +0000 |
|---|---|---|
| committer | WindowsAddict | 2024-09-26 15:26:02 +0000 |
| commit | 06695612a8491ac7ccd324b3f01fa0a6523ecdb6 (patch) | |
| tree | 278bda5eeb214e91a07e8408c1a21d22c6b033be /MAS/All-In-One-Version-KL | |
| parent | 323c6808af86acaea40e405e4691c111c7c83035 (diff) | |
| download | Microsoft-Activation-Scripts-06695612a8491ac7ccd324b3f01fa0a6523ecdb6.zip | |
Merge the changes in AIO
Diffstat (limited to 'MAS/All-In-One-Version-KL')
| -rw-r--r-- | MAS/All-In-One-Version-KL/MAS_AIO.cmd | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/MAS/All-In-One-Version-KL/MAS_AIO.cmd b/MAS/All-In-One-Version-KL/MAS_AIO.cmd index 7aa0e43..03d218c 100644 --- a/MAS/All-In-One-Version-KL/MAS_AIO.cmd +++ b/MAS/All-In-One-Version-KL/MAS_AIO.cmd @@ -9934,10 +9934,12 @@ for %%# in ( for /f "tokens=1-2 delims=_" %%A in ("%%~#") do (
set supported=
if %winbuild% LSS 10240 (echo %%B | findstr /i "LTSC DevMain" %nul% || set supported=1) else (set supported=1)
-if %winbuild% GEQ 10240 (if defined ltsc19 echo %%B | findstr /i "LTSC\>" %nul% || set supported=)
-if %winbuild% GEQ 10240 (if defined ltsc21 echo %%B | findstr /i "LTSC2021\>" %nul% || set supported=)
-if %winbuild% GEQ 10240 (if defined ltsc24 echo %%B | findstr /i "LTSC2024\>" %nul% || set supported=)
-if %winbuild% GEQ 10240 (if not defined ltscfound echo %%B | findstr /i "LTSC" %nul% && set supported=)
+if %winbuild% GEQ 10240 (
+if defined ltsc19 echo %%A | findstr /i "2019 VL" %nul% || set supported=
+if defined ltsc21 echo %%A | findstr /i "2021 VL" %nul% || set supported=
+if defined ltsc24 echo %%A | findstr /i "2024 VL" %nul% || set supported=
+if not defined ltscfound echo %%B | findstr /i "LTSC" %nul% && set supported=
+)
if defined supported (
set /a counter+=1
if !counter! LSS 10 (
@@ -10107,13 +10109,15 @@ if exist "%_cfolder%\OfficeC2RClient.exe" ( set "_c2rCexe=%_cfolder%\OfficeC2RClient.exe"
)
-echo %_AudienceData% | findstr /i "LTSC\>" %nul% && set ltsc19=LTSC
+set "audidata4=%_AudienceData:~-4%"
+
+if /i "%audidata4%"=="LTSC" set ltsc19=LTSC
echo %_clversion% %_version% | findstr "16.0.103 16.0.104 16.0.105" %nul% && set ltsc19=LTSC
-echo %_AudienceData% | findstr /i "LTSC2021\>" %nul% && set ltsc21=LTSC2021
+if /i "%audidata4%"=="2021" set ltsc21=LTSC2021
echo %_clversion% %_version% | findstr "16.0.14332" %nul% && set ltsc21=LTSC2021
-echo %_AudienceData% | findstr /i "LTSC2024\>" %nul% && set ltsc24=LTSC2024
+if /i "%audidata4%"=="2024" set ltsc24=LTSC2024
:: LTSC 2024 build is not fixed yet
if not "%ltsc19%%ltsc21%%ltsc24%"=="" set ltscfound=1
|
