I have created a Windows forms application and a setup for it, both with visual studio 2017. The setup works well in the Development machine and the installed application works flawlessly. But when I tried to install the application on another machine the application installed without errors but when I tried to run the installed application this shows the Error: "Microsoft.ACE.OLEDB.12.0 is not registered on local machine"
If I click ignore/continue the application starts but the error message appears again and again whenever I click any button (Login/Signup/Submit) of the application.
What I have tried:
Tried updating the windows on the target computer