mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts.git
synced 2025-05-23 20:04:56 +00:00
Improve edition package detection
This commit is contained in:
parent
4e702068be
commit
1bdee1ce6f
6 changed files with 13 additions and 0 deletions
|
@ -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%
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue