From 9fd5a661ab3d30412967aeb3845a0aa4bdf6013d Mon Sep 17 00:00:00 2001 From: WindowsAddict Date: Fri, 17 Jan 2025 20:24:54 +0530 Subject: Change some variable names --- MAS/Separate-Files-Version/Activators/HWID_Activation.cmd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'MAS/Separate-Files-Version/Activators/HWID_Activation.cmd') diff --git a/MAS/Separate-Files-Version/Activators/HWID_Activation.cmd b/MAS/Separate-Files-Version/Activators/HWID_Activation.cmd index b4eac27..00b545e 100644 --- a/MAS/Separate-Files-Version/Activators/HWID_Activation.cmd +++ b/MAS/Separate-Files-Version/Activators/HWID_Activation.cmd @@ -1281,7 +1281,7 @@ echo Checking WPA Registry Count [%wpainfo%] ) -if not defined officeact if exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-*EvalEdition~*.mum" ( +if not defined notwinact if exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-*EvalEdition~*.mum" ( reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v EditionID %nul2% | find /i "Eval" %nul1% || ( set error=1 call :dk_color %Red% "Checking Eval Packages [Non-Eval Licenses are installed in Eval Windows]" @@ -1305,7 +1305,7 @@ if "%osSKU%"=="164" set osedition=ProfessionalEducation if "%osSKU%"=="165" set osedition=ProfessionalEducationN ) -if not defined officeact ( +if not defined notwinact ( if %osedition%==0 ( call :dk_color %Red% "Checking Edition Name [Not Found In Registry]" ) else ( @@ -1348,7 +1348,7 @@ set showfix=1 ) -if not defined officeact ( +if not defined notwinact ( if %winbuild% GEQ 10240 ( %nul% set /a "sum=%slcSKU%+%regSKU%+%wmiSKU%" set /a "sum/=3" -- cgit v1.2.3