diff options
| author | WindowsAddict <[email protected]> | 2025-05-04 01:03:13 +0530 |
|---|---|---|
| committer | WindowsAddict <[email protected]> | 2025-05-04 01:03:13 +0530 |
| commit | 1bdee1ce6fd3ad64d1ae708daa7df65b54993ac2 (patch) | |
| tree | 6ff229465f1046b6c36a1861770cd92fcfc947cc /MAS/Separate-Files-Version/Activators/TSforge_Activation.cmd | |
| parent | 4e702068bea2cd5372904389ac687c75bc13223f (diff) | |
| download | Microsoft-Activation-Scripts-1bdee1ce6fd3ad64d1ae708daa7df65b54993ac2.zip | |
Improve edition package detection
Diffstat (limited to 'MAS/Separate-Files-Version/Activators/TSforge_Activation.cmd')
| -rw-r--r-- | MAS/Separate-Files-Version/Activators/TSforge_Activation.cmd | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/MAS/Separate-Files-Version/Activators/TSforge_Activation.cmd b/MAS/Separate-Files-Version/Activators/TSforge_Activation.cmd index 40d9914..9bf5ba0 100644 --- a/MAS/Separate-Files-Version/Activators/TSforge_Activation.cmd +++ b/MAS/Separate-Files-Version/Activators/TSforge_Activation.cmd @@ -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%
|
