mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts.git
synced 2025-07-19 07:46:01 +08:00
Show Ohook in green if O365 is installed
This commit is contained in:
parent
cb36c19f01
commit
10b6e8b6dc
@ -415,6 +415,8 @@ if %winbuild% GEQ 19041 if %winbuild% LEQ 19045 set _ohookgo=
|
||||
if defined _serexist set _ohookgo=
|
||||
if defined _evalexist set _ohookgo=
|
||||
if defined _ltscexist set _ohookgo=
|
||||
reg query HKLM\SOFTWARE\Microsoft\Office\ClickToRun\Configuration /v ProductReleaseIds %nul2% | find /i "O365" %nul% && set _ohookgo=1
|
||||
reg query HKLM\SOFTWARE\Wow6432Node\Microsoft\Office\ClickToRun\Configuration /v ProductReleaseIds %nul2% | find /i "O365" %nul% && set _ohookgo=1
|
||||
)
|
||||
if not defined _ohookgo set _tsforgego=1
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user