https://www.winchatsupport.com..../error-code-0-20390-

Fix Error Code 0-2039 (0) in Office 2021/2019 or Microsoft 365

Due to network or firewall constraints, Error Code 0-2039 (0) often occurs during the installation or upgrade of Microsoft Office.