The process of installing, configuring, and customizing Visual Studio to support development workflows across languages, platforms, and workloads.
Hi @Bob Pedi (Admin) ,
Thank you for reaching out regarding the issue.
The error message indicates that the Windows Installer service is not running. Visual Studio cannot be installed without this service. Please follow the steps below to check and troubleshoot the issue.
Step 1: Check Windows Installer service status
- Open Command Prompt as Administrator
- Run the following command:
sc query msiserver
If the service state is STOPPED or PAUSED, start it by running:
net start msiserver
If you see the message “The Windows Installer service was started successfully”, please try installing Visual Studio again. Please run with Admin privilege.
Step 2: Troubleshooting Windows Installer Service
If the issue persists, please try the steps below.
Check if the Installer exists
The Installer folder is hidden by default and is required for Windows Installer to function. In some cases, this folder may be accidentally deleted, which can cause the Windows Installer service to stop working.
cd C:\Windows\Installer
If no error is returned, the folder exists and you can proceed to the next step.
Re-register Windows Installer Services
Run the following commands one by one:
msiexec /unregister
msiexec /regserver
After completing these steps, restart your computer and try installing Visual Studio again.
Repair Windows system files
Run the following commands in Command Prompt (Admin):
DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow
These commands will repair corrupted system files that may prevent Windows Installer from running.
Step 3: Check system policy restrictions
If this is a company managed PC, Windows Installer may be disabled via Group Policy. In this case, you will need to contact your IT administrator to have it enabled. Please always make sure to run the setup file as an administrator.
I hope this can resolve your issue. If my answer was helpful, kindly follow the instructions here so others with the same problem can benefit as well.