Browse Source

Check license files instead of folder in change edition

dev
WindowsAddict 6 days ago
parent
commit
8e2677b1f9
  1. 2
      MAS/All-In-One-Version-KL/MAS_AIO.cmd
  2. 2
      MAS/Separate-Files-Version/Change_Windows_Edition.cmd

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

@ -8853,7 +8853,7 @@ set _dismapi=0
:: Check if DISM API or slmgr.vbs is required for edition upgrade :: Check if DISM API or slmgr.vbs is required for edition upgrade
if not exist "%SysPath%\spp\tokens\skus\%targetedition%\" ( if not exist "%SysPath%\spp\tokens\skus\%targetedition%\%targetedition%*.xrm-ms" (
echo %_wtarget% | find /i " %targetedition% " || ( echo %_wtarget% | find /i " %targetedition% " || (
set _dismapi=1 set _dismapi=1
) )

2
MAS/Separate-Files-Version/Change_Windows_Edition.cmd

@ -506,7 +506,7 @@ set _dismapi=0
:: Check if DISM API or slmgr.vbs is required for edition upgrade :: Check if DISM API or slmgr.vbs is required for edition upgrade
if not exist "%SysPath%\spp\tokens\skus\%targetedition%\" ( if not exist "%SysPath%\spp\tokens\skus\%targetedition%\%targetedition%*.xrm-ms" (
echo %_wtarget% | find /i " %targetedition% " || ( echo %_wtarget% | find /i " %targetedition% " || (
set _dismapi=1 set _dismapi=1
) )

Loading…
Cancel
Save