summaryrefslogtreecommitdiff
path: root/MAS
diff options
context:
space:
mode:
authorWindowsAddict <[email protected]>2024-11-03 05:01:19 +0530
committerWindowsAddict <[email protected]>2024-11-03 05:01:19 +0530
commit1c9fe0815e81c38e4203d11ed556bcbb1c02194f (patch)
treef29cc72940b9d6fe4115700bee6d40f2265f3566 /MAS
parenta5dd99ac0022b9e6a76d78888ff60264e46c2375 (diff)
downloadMicrosoft-Activation-Scripts-1c9fe0815e81c38e4203d11ed556bcbb1c02194f.zip
Bug fix - Add a missing label in change edition section in AIO
Diffstat (limited to 'MAS')
-rw-r--r--MAS/All-In-One-Version-KL/MAS_AIO.cmd11
1 files changed, 11 insertions, 0 deletions
diff --git a/MAS/All-In-One-Version-KL/MAS_AIO.cmd b/MAS/All-In-One-Version-KL/MAS_AIO.cmd
index 3bc8a48..c1e1e87 100644
--- a/MAS/All-In-One-Version-KL/MAS_AIO.cmd
+++ b/MAS/All-In-One-Version-KL/MAS_AIO.cmd
@@ -9001,6 +9001,17 @@ exit /b
::========================================================================================================================================
+:: Get Edition list
+
+:ced_edilist
+
+if %_wmic% EQU 1 set "chkedi=for /f "tokens=2 delims==" %%a in ('"wmic path %spp% where (ApplicationID='55c92734-d682-4d71-983e-d6ec3f16059f' AND LicenseDependsOn is NULL) get LicenseFamily /VALUE" %nul6%')"
+if %_wmic% EQU 0 set "chkedi=for /f "tokens=2 delims==" %%a in ('%psc% "(([WMISEARCHER]'SELECT LicenseFamily FROM %spp% WHERE ApplicationID=''55c92734-d682-4d71-983e-d6ec3f16059f'' AND LicenseDependsOn is NULL').Get()).LicenseFamily ^| %% {echo ('LicenseFamily='+$_)}" %nul6%')"
+%chkedi% do call set "_wtarget= !_wtarget! %%a "
+exit /b
+
+::========================================================================================================================================
+
:: Check pending reboot flags
:ced_rebootflag