mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts.git
synced 2025-06-12 05:13:11 +00:00
Show info related to expired Office preview products
This commit is contained in:
parent
dc90e1ff0f
commit
482600c890
4 changed files with 110 additions and 38 deletions
|
@ -876,6 +876,7 @@ set error=1
|
|||
goto :ks_starto16c2r
|
||||
)
|
||||
|
||||
call :oh_expiredpreview 2013
|
||||
if "%_actprojvis%"=="0" call :oh_fixprids
|
||||
call :ks_process
|
||||
|
||||
|
@ -916,6 +917,7 @@ set error=1
|
|||
goto :ks_startmsi
|
||||
)
|
||||
|
||||
call :oh_expiredpreview 2016 2019 2021 2024
|
||||
if "%_actprojvis%"=="0" call :oh_fixprids
|
||||
call :ks_process
|
||||
|
||||
|
@ -1096,6 +1098,21 @@ exit /b
|
|||
|
||||
::========================================================================================================================================
|
||||
|
||||
:oh_expiredpreview
|
||||
|
||||
for %%# in (%*) do (
|
||||
if exist "!_oLPath!\ProPlus%%#PreviewVL_*.xrm-ms" if not exist "!_oLPath!\ProPlus%%#VL_*.xrm-ms" (
|
||||
set error=1
|
||||
set showfix=1
|
||||
call :dk_color %Red% "Checking Expired Preview Products [Office %%# Preview Found]"
|
||||
call :dk_color %Blue% "Please run the Office updates first, and then attempt to activate it again."
|
||||
)
|
||||
)
|
||||
|
||||
exit /b
|
||||
|
||||
::========================================================================================================================================
|
||||
|
||||
:: Some Office Retail to Volume converter tools may edit the ProductReleaseIds to add VL products. This code restores it because it may affect features.
|
||||
|
||||
:oh_fixprids
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue