Core component of SQL Server for storing, processing, and securing data
Hi @Mike Roberson ,
This error (1722 / Windows Installer package failed) is not related to ports or .NET. It happens due to a corrupted Windows Installer state from a failed SQL setup.
Fix that worked:
- Uninstall any existing SQL Server entries.
- Reboot and delete these folders (if present):
C:\Program Files\Microsoft SQL Server
C:\Program Files (x86)\Microsoft SQL Server
C:\ProgramData\Microsoft\SQL Server - Open Command Prompt as Admin and run:
msiexec /unregister
msiexec /regserver - Reboot.
- Install SQL Server 2022 Express using the offline ISO (run setup as Admin, Basic install).
After this, SQL Server installed successfully.
Thanks,
Akhil.