When installing a new SQL Server instance (or updating/removing it), you may find that the installation process freezes when reaching the Install_SQLSupport_CPU64_Action step:
Install_sql_common_core_Cpu64_Action : Write_NativeImage_64. : Generating native images
The problem may occur when installing/uninstalling/updating Microsoft SQL Server 2019, 2017, 2014, or 2012, as well as SQL Server Management Studio
To fix the error, go to the SQL Server distribution directory (
SQLServerMedia\<YOUR_SQL_ENU>\1033_ENU_LP\x64\Setup) and run SQLSUPPORT.msi.
The next step is to kill the Windows Installer (
msiserver) process. Open a command prompt as an administrator and run the following command:
taskkill /F /FI "SERVICES eq msiserver"
Once you’ve done that, the SQL Server installation shall proceed as usual.
The bug usually occurs when another program or process is currently using some Windows Installer service handlers and prevents you from continuing to install another package. It may cause the SQL Server installation to crash.
You might want your SQL Server installer to skip checking Windows Installer handlers. To do this, you need to run it with the /SkipInstallerRunCheck parameter: