

Hi @RAravind-8319, welcome to Microsoft Q&A! Could you please check the setup log to get more details? The detail.txt in below path: %programfiles%\Microsoft SQL Server\nnn\Setup Bootstrap\Log\YYYYMMDD_hhmmss\Detail.txt. And you could search 'error' in the file to get some details.
For more information, please check View and Read SQL Server Setup Log Files
I had attached the log file. But I can't understand what error and what I supposed to do with it?. Can you please guide me for a successful installation,
Hi @RAravind-8319, this error may occurs when the registry be corrupted, you need repair the registry first, please refer to this similar thread. And after you uninstall SQL Server completely, please disable your Firewall service and antivirus software before you reinstall SQL Server.

I reinstalled the OS. Now it's working. Thanks for the community support.
Hi @RAravind-8319, good to know that! Could you please do "Accept Answer" for this thread? It will benefit for community members who have this similar issue. Your contribution is highly appreciated. Thank you!
Hi RAravind-8319,
Welcome to Microsoft Q&A!
Thanks for posting the Detail.txt. After checked that file, I got below error:
The MOF compiler could not connect with the WMI server. This is either because of a semantic error such as an incompatibility with the existing WMI repository or an actual error such as the failure of the WMI server to start.
Have you try to install SQL Server for several times? If yes, there will have fragments from previous install attempts lodged in the windows registry. You need to delete the all fragments, and then right click run as administrator to reinstall SQL Server again.
You could follow below steps to delete SQL Server:
1. Uninstall the existing SQL Server and all the components from the add remove program.
2. Backup the registry.
3. Delete the following keys using regedit:
--HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server
--HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer
4. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall and delete all the sub-keys referencing SQL Server.
5. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services and delete all the keys referencing SQL Server.
6. Rename all the SQL Server folders in the computer.
7. Reboot the machine.
Here has one similar threads you could refer to:
https://docs.microsoft.com/en-us/answers/questions/80329/sql-server-installer-says-mof-compiler-could-not-c.html
Best regards,
Carrin
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

I followed the above steps, and on the setup installation at last, it had end up with this error. Can you please help me get out of this error.
Thank you,111167-detail.txt
Hi @RAravind-8319,
Below error details are from the new file:
(01) 2021-07-02 12:03:29 Slp: Sco: File 'C:\SQL2019\Developer_ENU\1053_SVE_LP\x64\setup\x64\sql_as_loc.msi' does not exist
(01) 2021-07-02 12:03:31 Slp: Sco: File 'C:\SQL2019\Developer_ENU\1053_SVE_LP\x64\setup\x64\sql_dq_loc.msi' does not exist
These problems may occur when the Windows Installer database file (.msi) or the Windows Installer patch file (.msp) is missing from the Windows Installer cache. The Windows Installer cache is located in the folder: %windir%\installer. Please refer to this link to get the resolution.

Hi, I had refollowed the steps you told before and I had ran setup file and got this error. I had also attached the detail.txt111362-detail.txt
I ran that FixMissingMsi, it haven't detected any missing msi files there now. It shows still the error. I had checked that the previous missing msi files were now there after the repetition of steps you told before. I think now it is some other error, Can you help me with this ?.
I had referred this link for that error : https://support.threattracksecurity.com/support/solutions/articles/1000070819-msi-error-1639-invalid-command-line-argument-during-installation#:~:text=%22Error%201639%3A%20Invalid%20command%20line%20argument.%22%20This%20is,change%20the%20Temp%20folder%20to%20a%20new%20location.
Now something new error occurred on running the setup file !!!.
Here's the image attached for reference.
Can you please guide me for a successful installation ?
Hi CarrinWu-MSFT,
I again downloaded the iso and ran setup file in that. While installation I had seen multiple error dialogs popping one after another. I had attached the images of those dialogs for reference.


I had also attached the log file : summary for reference . 111477-summary-vwkudsp-d0247-20210703-103544-landingpage.txt
Can you please guide for a successful installation ?.
Thank you.
14 people are following this question.