Browse Source

Improve edition package detection

master
WindowsAddict 6 days ago
parent
commit
1bdee1ce6f
  1. 2
      MAS/All-In-One-Version-KL/MAS_AIO.cmd
  2. 2
      MAS/Separate-Files-Version/Activators/HWID_Activation.cmd
  3. 2
      MAS/Separate-Files-Version/Activators/KMS38_Activation.cmd
  4. 2
      MAS/Separate-Files-Version/Activators/Ohook_Activation_AIO.cmd
  5. 2
      MAS/Separate-Files-Version/Activators/Online_KMS_Activation.cmd
  6. 3
      MAS/Separate-Files-Version/Activators/TSforge_Activation.cmd

2
MAS/All-In-One-Version-KL/MAS_AIO.cmd

@ -1676,10 +1676,12 @@ call :dk_color %Red% "Checking License Files [Not Found] [%osed @@ -1676,10 +1676,12 @@ call :dk_color %Red% "Checking License Files [Not Found] [%osed
)
if not exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-*-%osedition%-*.mum" (
if not exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-%osedition%Edition*.mum" (
call :dk_color %Red% "Checking Package Files [Not Found] [%osedition%]"
)
)
)
)
if %_wmic% EQU 1 wmic path %sps% get Version %nul%

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

@ -1379,10 +1379,12 @@ call :dk_color %Red% "Checking License Files [Not Found] [%osed @@ -1379,10 +1379,12 @@ call :dk_color %Red% "Checking License Files [Not Found] [%osed
)
if not exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-*-%osedition%-*.mum" (
if not exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-%osedition%Edition*.mum" (
call :dk_color %Red% "Checking Package Files [Not Found] [%osedition%]"
)
)
)
)
if %_wmic% EQU 1 wmic path %sps% get Version %nul%

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

@ -1522,10 +1522,12 @@ call :dk_color %Red% "Checking License Files [Not Found] [%osed @@ -1522,10 +1522,12 @@ call :dk_color %Red% "Checking License Files [Not Found] [%osed
)
if not exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-*-%osedition%-*.mum" (
if not exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-%osedition%Edition*.mum" (
call :dk_color %Red% "Checking Package Files [Not Found] [%osedition%]"
)
)
)
)
if %_wmic% EQU 1 wmic path %sps% get Version %nul%

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

@ -2040,10 +2040,12 @@ call :dk_color %Red% "Checking License Files [Not Found] [%osed @@ -2040,10 +2040,12 @@ call :dk_color %Red% "Checking License Files [Not Found] [%osed
)
if not exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-*-%osedition%-*.mum" (
if not exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-%osedition%Edition*.mum" (
call :dk_color %Red% "Checking Package Files [Not Found] [%osedition%]"
)
)
)
)
if %_wmic% EQU 1 wmic path %sps% get Version %nul%

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

@ -3092,10 +3092,12 @@ call :dk_color %Red% "Checking License Files [Not Found] [%osed @@ -3092,10 +3092,12 @@ call :dk_color %Red% "Checking License Files [Not Found] [%osed
)
if not exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-*-%osedition%-*.mum" (
if not exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-%osedition%Edition*.mum" (
call :dk_color %Red% "Checking Package Files [Not Found] [%osedition%]"
)
)
)
)
if %_wmic% EQU 1 wmic path %sps% get Version %nul%

3
MAS/Separate-Files-Version/Activators/TSforge_Activation.cmd

@ -2706,10 +2706,13 @@ call :dk_color %Red% "Checking License Files [Not Found] [%osed @@ -2706,10 +2706,13 @@ call :dk_color %Red% "Checking License Files [Not Found] [%osed
)
if not exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-*-%osedition%-*.mum" (
if not exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-%osedition%Edition*.mum" (
call :dk_color %Red% "Checking Package Files [Not Found] [%osedition%]"
)
)
)
)
if %_wmic% EQU 1 wmic path %sps% get Version %nul%
if %_wmic% EQU 0 %psc% "try { $null=([WMISEARCHER]'SELECT * FROM %sps%').Get().Version; exit 0 } catch { exit $_.Exception.InnerException.HResult }" %nul%

Loading…
Cancel
Save