MS SQL server application installation failed, error code:-2054422498

Daniel Long 0 Reputation points
2023-07-17T14:57:46.48+00:00

I had already check the drive I am installing MS SQL server to, it's not compressed. I also double check the folder, it's also uncompressed. I uncompressed the entire drive again just to be sure. And the installer still says the directory is compressed and cannot install. I am just generally confused, I mean it's not like the installer could be wrong, but I checked everywhere and it all showed uncompressed.

I had already tried accessing through the cmd prompt and used the following command:

compact /u c:\program files

returns:

0 files within the 2 directories had been uncompressed.

I tried install it after that but it still fails.

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

2 answers

Sort by: Most helpful
  1. Erland Sommarskog 116.9K Reputation points MVP
    2023-07-17T15:15:11.8533333+00:00

    What if you try:

    compact /u "c:\program files"
    

  2. Erland Sommarskog 116.9K Reputation points MVP
    2023-07-18T09:38:20.3066667+00:00

    Sorry for the delay, but for some reason I did not get notifications for your last posts yesterday, so I missed them.

    Anyway, the error message in the screenshot makes it clear that you have been barking up the wrong tree. It is C:\Program Files (x86)\Microsoft SQL Server you need to uncompress.

    COMPACT /U /S:"C:\Program Files (x86)\Microsoft SQL Server"
    
    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.