'Object reference not set to an instance of an object on mySQL Installer while configuring mySQL Server 8.0.25

I recently deleted mySQL and now when i am trying to reinstall it is giving me an error while configuring the mySQL Server i have tried deleting everything from program file and registry also still no success enter image description here



Solution 1:[1]

I found the issue. When you install with the Installer 1.4, it won't work.

You should be good if you use V.1.6 of the installer. https://dev.mysql.com/downloads/installer/

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1