miroir de
https://github.com/massgravel/Microsoft-Activation-Scripts.git
synchronisé 2024-11-23 01:34:02 +01:00
More accurate check for Office Products in NoEditionChange mode
Cette révision appartient à :
Parent
dd3d788bfa
révision
6f88a4bf90
1 fichiers modifiés avec 7 ajouts et 1 suppressions
|
@ -984,7 +984,9 @@ for %%# in (%_oIds%) do (
|
|||
|
||||
set skipprocess=
|
||||
if %_NoEditionChange%==1 if not defined _oBranding (
|
||||
echo %%# | findstr /i "Retail" %nul% && (
|
||||
set foundprod=
|
||||
call :ksdata chkprod %%#
|
||||
if not defined foundprod (
|
||||
set skipprocess=1
|
||||
echo Skipping Because NoEditionChange Mode [%%#]
|
||||
)
|
||||
|
@ -3410,6 +3412,10 @@ if %1==winkey if %osSKU%==%%C if not defined key (
|
|||
echo "!allapps!" | find /i "%%A" %nul1% && set key=%%B
|
||||
)
|
||||
|
||||
if %1==chkprod if "%oVer%"=="%%C" if not defined foundprod (
|
||||
echo "%%D" | findstr /I "\<%2.*" %nul% && set foundprod=1
|
||||
)
|
||||
|
||||
if %1==getinfo if not defined key if "%oVer%"=="%%C" (
|
||||
if /i "%2"=="%%D" (
|
||||
set key=%%B
|
||||
|
|
Chargement…
Référencer dans un nouveau ticket