Installing Visio 2021 after installing Office 365 kept failing with an error message.
After trying multiple suggestions I found the answer at checkyourlogs posted by Cary Sun.
Steps:
configuration.xml
file with the following contents (update product id to match id of your Visio version):<Configuration>
<Add OfficeClientEdition="64">
<Product ID="VisioPro2021Retail">
<Language ID="en-us" />
</Product>
</Add>
</Configuration>
setup /configure configuration.xml