How to resolve SQL Server installation error: 1722?

blur.net 0 Reputation points
2023-07-04T09:38:20.7333333+00:00

My DBA team is facing issues lately with installing SQL Server on VMs.

Every time the first attempt fails with: "Error 1722. 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." Each time they run the installer again, the installation succeeds eventually on the second try.

According to the install summary, the failing components are the engine and the full text service. The dependent service that causes the error is the Shared Features. If I go to the Shared Features log, it says that the problematic service is the AzureAttestService. And indeed, even after the successful installation, the AzureAttestService is stopped, and timeouts when I try to start it.

First I found the following MS article, but it's not helpful, as it happens with SQL 2022 as well: https://support.microsoft.com/en-au/topic/kb4530084-fix-error-occurs-when-you-try-to-install-sql-server-2019-on-a-low-power-cpu-f2ab38f7-1def-c6a3-790e-bfff86f89820

This guy had the exact same issue but could not come to a permanent fix: https://learn.microsoft.com/en-us/answers/questions/986583/micosoft-sql-server-2019-standard-azureattestservi

Did anyone face the same issue and managed to resolve it? Any kind of advice is more than welcome!

SQL Server Other
{count} votes

2 answers

Sort by: Most helpful
  1. ZoeHui-MSFT 41,491 Reputation points
    2023-07-05T02:04:35.2066667+00:00

    Hi @blur.net,

    It seems the issue is more related with your environment.

    I'd like suggest you may open a ticket to Microsoft support and the engineers will help to resolve the issue.

    Services Hub (microsoft.com)

    Regards,

    Zoe Hui


    If the answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

  2. Olaf Helper 47,436 Reputation points
    2023-07-05T04:58:40.3366667+00:00

    Just by an error number no one can guess the cause.

    Review SQL Server installation logs for more details.

    https://learn.microsoft.com/en-us/sql/database-engine/install-windows/view-and-read-sql-server-setup-log-files?view=sql-server-ver16

    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.