On the desktop, press Windows key + R to open the Run Dialog.
Type services.msc in the Run Dialog, and then press Enter to open Services.
Right-click the Windows Installer service, and then click Properties.
If the Startup type box is set to Disabled, change it to Manual.
Click OK to close the Properties window.
Right-click the Windows Installer service, and then click Start. The service should start without error
On the desktop, press Windows key + R to open a Run dialog.
Type msiexec /unreg, and press Enter.
Follow step A again.
Type msiexec /regserver, and press Enter.
The error message i get is in double quotations. i get no other notification. No, i did not make any changes to the pc. And in the method 4, while giving permissions, it gives the following error : " Failed to enumerate objects in the container. Access is denied "
a. Press Windows key + X and select Command Prompt (Admin).
b. At the Command Prompt, type “takeown /f Temp /r /d y” without quotes and then press Enter.
c. Then, type “icacls Temp /grant administrators:F /T” without quotes and hit Enter.
Attempt method 4 once again and check if the issue is resolved.
solution4
Follow this path C: \Users \ <username> \ AppData\ Local\.
Right-click on the Temp folder and select Properties.
Select Security and click on Edit, then Add.
Add the username you are using and give yourself all the permissions.