2

SQL Folks

Not sure if anyone has came across this problem but any help is greatly appreciated.

I have SSMS 18.0 Preview 4 installed on my local machine. Whenever I am trying to install any new released version of SSMS I get below error.

Error: The Generally Available (GA) version of SQL Server Management Studio (SSMS) v18.0 cannot be installed because a pre-release version of SSMS is installed on your computer. Uninstall the pre-release version of SSMS from 'Add/Remove Programs' in the Control Panel and run SSMS setup again.

SO i followed the Error and completely removed Preview version. And when i am running new SSMS set up file it still showing same error though i do not have Preview version installed on. I restarted machine after uninstall as well.

Though in error image it says set up is blocked but when i run the SSMS 18 prview 4 it doesn't give me this error and take me to install click.

Any thoughts or solution will highly helpful.

Thank you.

Thom A
  • 88,727
  • 11
  • 45
  • 75
SQLLogic
  • 31
  • 1
  • 7
  • Have you restarted since you uninstalled? Also, why are you trying to reinstall preview 4? – Thom A Nov 18 '19 at 16:43
  • I am trying to install newest version 18.4. so i uninstalled preview version , restarted local machine and still showing this error. – SQLLogic Nov 18 '19 at 16:58
  • Just FYI... This tool helped me to remove the SSMS for SSAS and SSRS which i wasn't noticing during regular uninstall. – SQLLogic Nov 19 '19 at 14:13

4 Answers4

4

If you encounter this error with the reason being "ssms is currently running", check the file name of the setup exe. If it's ssms.exe, rename it to anything else, I suspect the setup is detecting itself as being management studio based on file name. This worked for me.

J. Minjire
  • 1,003
  • 11
  • 22
  • This was the answer for me. I had the installer named `ssms.exe` and renaming it to something else allowed the installation to proceed. – kennyvh Apr 05 '22 at 17:58
1

Just FYI... This tool helped me to remove the SSMS for SSAS and SSRS which wasn't showing up during regular uninstall.

Tried the MS removal tool and it was showing 4 different SSMS which i uninstalled and finally i was able to install SSMS 18.4.

https://support.microsoft.com/en-sg/help/17588/windows-fix-problems-that-block-programs-being-installed-or-removed

Thank you Dedmon Dai from Microsoft Support. https://social.msdn.microsoft.com/Forums/sqlserver/en-US/c4e73534-8371-4557-b653-25f87b1c9cbe/ssms-18-installation-error?forum=sqldatabaseengine

SQLLogic
  • 31
  • 1
  • 7
0

In my case, I was getting the error "SSMSCurrentlyRunning = SSMS is currently running. Please close any open instances of SSMS and run this installer again."

I downloaded the file again and it worked.

jbrabant
  • 245
  • 4
  • 11
0

I had this problem, reinstalled version 18 public preview 7 on https://cloudblogs.microsoft.com/sqlserver/2019/03/01/sql-server-management-studio-18-0-public-preview-7-released/ and then uninstalled and installed the updated version.