diff options
| author | WindowsAddict <[email protected]> | 2025-07-22 02:02:52 +0530 |
|---|---|---|
| committer | WindowsAddict <[email protected]> | 2025-07-22 02:02:52 +0530 |
| commit | 43cceb366ef8a2a9dcd85b31ee72063efbde8ef9 (patch) | |
| tree | 3b9f9dc7005fde5ea911e0750b77ac8ce304a0ad /MAS/Separate-Files-Version/Activators/Ohook_Activation_AIO.cmd | |
| parent | 39bcefa02b71115935f889a9789fdb74839f4a30 (diff) | |
| download | Microsoft-Activation-Scripts-43cceb366ef8a2a9dcd85b31ee72063efbde8ef9.zip | |
Fix issues in checking expired Office products
Diffstat (limited to 'MAS/Separate-Files-Version/Activators/Ohook_Activation_AIO.cmd')
| -rw-r--r-- | MAS/Separate-Files-Version/Activators/Ohook_Activation_AIO.cmd | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/MAS/Separate-Files-Version/Activators/Ohook_Activation_AIO.cmd b/MAS/Separate-Files-Version/Activators/Ohook_Activation_AIO.cmd index aa445f0..6ad1f49 100644 --- a/MAS/Separate-Files-Version/Activators/Ohook_Activation_AIO.cmd +++ b/MAS/Separate-Files-Version/Activators/Ohook_Activation_AIO.cmd @@ -940,8 +940,15 @@ exit /b :oh_expiredpreview
+echo %_oIds% | find /i "Volume" %nul% || exit /b
+
for %%# in (%*) do (
-if exist "!_oLPath!\ProPlus%%#PreviewVL_*.xrm-ms" if not exist "!_oLPath!\ProPlus%%#VL_*.xrm-ms" (
+if %%#==2013 set _offver=
+if %%#==2016 set _offver=
+if %%#==2019 set _offver=2019
+if %%#==2021 set _offver=2021
+if %%#==2024 set _offver=2024
+if exist "!_oLPath!\ProPlus!_offver!PreviewVL_*.xrm-ms" if not exist "!_oLPath!\ProPlus!_offver!VL_*.xrm-ms" (
set error=1
set showfix=1
call :dk_color %Red% "Checking Expired Preview Products [Office %%# Preview Found]"
|
