diff options
| author | WindowsAddict | 2024-07-13 22:12:48 +0000 |
|---|---|---|
| committer | WindowsAddict | 2024-07-13 22:12:48 +0000 |
| commit | 53cda879c1772f0cd8f39fa2c6a7b885d79d672e (patch) | |
| tree | 8508e9bac387b1e42204b269f21614c099fe80e8 /MAS/Separate-Files-Version | |
| parent | 211835666b600793330f7895471acb14d0c2f576 (diff) | |
| download | Microsoft-Activation-Scripts-53cda879c1772f0cd8f39fa2c6a7b885d79d672e.zip | |
Add VL IDs in ProductReleaseIds in old Office builds
Diffstat (limited to 'MAS/Separate-Files-Version')
| -rw-r--r-- | MAS/Separate-Files-Version/Activators/Online_KMS_Activation.cmd | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/MAS/Separate-Files-Version/Activators/Online_KMS_Activation.cmd b/MAS/Separate-Files-Version/Activators/Online_KMS_Activation.cmd index 7dbc021..e05651c 100644 --- a/MAS/Separate-Files-Version/Activators/Online_KMS_Activation.cmd +++ b/MAS/Separate-Files-Version/Activators/Online_KMS_Activation.cmd @@ -705,7 +705,7 @@ set error=1 goto :ks_starto16c2r
)
-call :oh_fixprids
+if "%_actprojvis%"=="0" call :oh_fixprids
call :ks_process
::========================================================================================================================================
@@ -745,7 +745,7 @@ set error=1 goto :ks_startmsi
)
-call :oh_fixprids
+if "%_actprojvis%"=="0" call :oh_fixprids
call :ks_process
::========================================================================================================================================
@@ -949,6 +949,15 @@ set "_osppready=%_config%" )
reg add %_osppready% /f /v %_altoffid%.OSPPReady /t %_osppt% /d 1 %nul1%
+
+:: Office builds before 16.0.10730.20102 need the Installed license product ID in ProductReleaseIds, otherwise product info may not fully reflect
+
+if exist "%_oLPath%\Word2019VL_KMS_Client_AE*.xrm-ms" exit /b
+
+reg query %_prids% | findstr /I "%_altoffid%" %nul1%
+if %errorlevel% NEQ 0 (
+for /f "skip=2 tokens=2*" %%a in ('reg query %_prids%') do reg add %_prids% /t REG_SZ /d "%%b,%_altoffid%" /f %nul1%
+)
exit /b
::========================================================================================================================================
|
