While preparing for a demo for my client Comprehensive Database Performance Health Check, I was installing necessary applications on my laptop. In this blog, I would share my experience with SQL Server Management Studio SSMS install error – Setup is blocked due to another install currently running.
The error message which I received was this:
I click on the link which was provided in the message above and it opened a file.
[1738:173C][2020-02-12T03:38:32]i000: MainViewModel.OnPackageAction: Install Completed for package Microsoft Visual C++ 2013 Redistributable (x86) – 12.0.30501
[1738:173C][2020-02-12T03:38:32]w350: Applied non-vital package: VCRedistD12x86, encountered error: 0x80070652. Continuing…
[1738:173C][2020-02-12T03:38:32]i000: MainViewModel.OnPackageAction: Install Started for package Microsoft Help Viewer 2.3
[171C:1720][2020-02-12T03:38:32]i301: Applying execute package: HelpViewer2_3, action: Install, path: C:\ProgramData\Package Cache\{BEFC10C1-7032-3C8E-80BC-621A77BFEABD}v2.3.28107\redist\help3_vs_net.msi, arguments: ‘ MSIFASTINSTALL=”7″‘
[171C:1720][2020-02-12T03:38:35]e000: Error 0x80070652: Failed to install MSI package.
[171C:1720][2020-02-12T03:38:35]e000: Error 0x80070652: Failed to execute MSI package.
[1738:173C][2020-02-12T03:38:35]e000: Error 0x80070652: Failed to configure per-machine MSI package.
[1738:173C][2020-02-12T03:38:35]i000: MainViewModel.OnPackageAction: Install Completed for package Microsoft Help Viewer 2.3
[1738:173C][2020-02-12T03:38:35]i319: Applied execute package: HelpViewer2_3, result: 0x80070652, restart: None
[1738:173C][2020-02-12T03:38:35]e000: Error 0x80070652: Failed to execute MSI package.
[1738:173C][2020-02-12T03:38:35]i000: MainViewModel.OnPackageAction: Install Started for package Microsoft Help Viewer 2.3
[1738:173C][2020-02-12T03:38:35]e000: MainViewModel.OnBundleAction: Bundle action failed: Setup is blocked due to another install currently running. Please let the other install complete and then restart the computer if necessary.
[1738:173C][2020-02-12T03:38:35]i399: Apply complete, result: 0x80070652, restart: None, ba requested restart: No
[1738:0F7C][2020-02-12T03:39:38]i000: MainViewModel.OpenUrl: Opening url: C:\Users\Pinal\AppData\Local\Temp\SsmsSetup\SSMS-Setup-ENU_20200212033609.log
WORKAROUND/SOLUTION – SSMS Install Error
I didn’t understand much from the logs but I could see a hex code – “Error 0x80070652: Failed to install MSI package”. I searched on the internet and found that 0x80070652 error code means ERROR_INSTALL_ALREADY_RUNNING. In other words, it means that some previous installation has not been completed successfully.
I was in a hurry and was installing many things together. When I was installing SSMS, at the same time SQL Server installation was also in progress. That explains the error message. Now the interesting part is that there were no needs or restart of my computer. As soon as the SQL Server setup finished, I started SSMS installation again and it went smoothly.
Reference: Pinal Dave (https://blog.sqlauthority.com)