Skip to content

Commit

Permalink
Bug fix - Add a missing label in change edition section in AIO
Browse files Browse the repository at this point in the history
  • Loading branch information
WindowsAddict committed Nov 2, 2024
1 parent a5dd99a commit 1c9fe08
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions MAS/All-In-One-Version-KL/MAS_AIO.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1c9fe08

Please sign in to comment.