Browse Source

Highlight options if unsupported product is detected

pull/542/head
WindowsAddict 5 months ago
parent
commit
b5a305a14e
  1. 5
      MAS/Separate-Files-Version/Activators/HWID_Activation.cmd
  2. 6
      MAS/Separate-Files-Version/Activators/KMS38_Activation.cmd
  3. 2
      MAS/Separate-Files-Version/Activators/Ohook_Activation_AIO.cmd

5
MAS/Separate-Files-Version/Activators/HWID_Activation.cmd

@ -161,14 +161,15 @@ if %winbuild% LSS 10240 ( @@ -161,14 +161,15 @@ if %winbuild% LSS 10240 (
%eline%
echo Unsupported OS version detected [%winbuild%].
echo HWID Activation is supported only for Windows 10/11.
echo Use Online KMS Activation option.
echo:
call :dk_color %Blue% "Use Online KMS Activation option."
goto dk_done
)
if exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-Server*Edition~*.mum" (
%eline%
echo HWID Activation is not supported for Windows Server.
echo Use KMS38 or Online KMS Activation option.
call :dk_color %Blue% "Use KMS38 or Online KMS Activation option."
goto dk_done
)

6
MAS/Separate-Files-Version/Activators/KMS38_Activation.cmd

@ -167,6 +167,12 @@ if %winbuild% LSS 14393 ( @@ -167,6 +167,12 @@ if %winbuild% LSS 14393 (
%eline%
echo Unsupported OS version detected [%winbuild%].
echo KMS38 Activation is supported for Windows 10/11/Server, build 14393 and later.
echo:
if %winbuild% LSS 10240 (
call :dk_color %Blue% "Use Online KMS Activation option."
) else (
call :dk_color %Blue% "Use HWID Activation option."
)
goto dk_done
)

2
MAS/Separate-Files-Version/Activators/Ohook_Activation_AIO.cmd

@ -161,6 +161,8 @@ if %winbuild% LSS 9200 ( @@ -161,6 +161,8 @@ if %winbuild% LSS 9200 (
%eline%
echo Unsupported OS version detected [%winbuild%].
echo Ohook Activation is supported on Windows 8 and later and their server equivalent.
echo:
call :dk_color %Blue% "Use Online KMS Activation option."
goto dk_done
)

Loading…
Cancel
Save