Unable to install SQL Server Exit Code (Decimal): -2068052294. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor

Minh Phuc Le 0 Reputation points
2024-07-04T17:00:33.37+00:00

I just bought this laptop to support my study for data analysis (Dell XPS 13 which run on Window 11). When I tried to both install SQL Express 2019 or 2022, I cannot install the application and the same error occurred as mentioned above. I have tried some of the suggested method such as run as administrator or uninstall and reinstall and I even factory reset the laptop, but nothing worked so far. I am wondering if this could be the product (the laptop) being defective or it is some error of the application that I can fix it. Please help me solve it! Many thanks. Summary.txt (This is the summary log).
P/s: Detail.txt

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,784 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Erland Sommarskog 111.1K Reputation points MVP
    2024-07-04T18:47:54.62+00:00

    Things seem to start to go wrong here:

    File 'C:\SQL2022\Express_ENU\x64\setup\x64\sql_engine_core_shared.msi' does not exist

    This is an error I've seen many times in these forums. I have never understood exactly why the file would be missing, but my suspicion is that this error occur when you make multiple install attempts, possibly with some random cleanup in between. The error for the first installation attempt is likely to have been a different one.

    Try this article: https://www.sql-easy.com/learn/how-to-uninstall-sql-server/. Some people have reported success after having followed this article. (In fact, I learnt about the article from one of them).
    Also, check out this article: https://video2.skills-academy.com/en-us/troubleshoot/sql/database-engine/database-file-operations/troubleshoot-os-4kb-disk-sector-size. It discusses a known issue with the combination of Windows 11, SQL Server and certain disk drives. This could the reason for your original failure.


  2. MikeyQiaoMSFT-0444 3,025 Reputation points
    2024-07-05T02:28:07.9933333+00:00

    Hi,Minh Phuc Le

    Welcome to Microsoft Q&A fourm!

    As Erland mentioned, indeed he successfully installed after properly cleaning up the residual installation traces when faced with a problem similar to yours.

    The key is uninstalling properly, cleaning up leftover files in registry entries, and service.msc.

    This is the thread mentioned.

    • I suggest you first try to clean up the installation traces(Since you have already tried to install SQL Server many times) before selecting the option 'Download media and run directly from the ISO' in the SQL Server Setup wizard.
    • Sometimes the absence of vcredist.exe can also lead to installation failure.Refer to https://video2.skills-academy.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170&WT.mc_id=twitter&sharingId=DP-MVP-7914
    • Additionally, the issue of Windows 11 often exposing disk sector problems with SQL Server, as mentioned by Erland, is a common one. The questioner in the thread mentioned above also encountered the same issue. That being said, you can refer to their resolution process and thoughts.

    In the end, it is likely your system that is causing the issue, so take it step by step, and we will keep up with your latest progress in the forum.

    Best Regards,

    Mikey Qiao


    If you're satisfied with the answer, don't forget to "Accept it," as this will help others who have similar questions to yours.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.