Error: Error 1904 c:\arcgis\arcexe8x\bin\afcontrols.ocx h result - 2147221164
When installing ArcGIS Desktop, the following error may be returned:
Error: "Error 1904 arcgis\arcexe8x\bin\afcontrols.ocx h result - 2147221164. Contact your support personnel. Ignore/Abort/Retry"
If the error is ignored the installation continues until another error appears:
Error: "Error 1904 arcgis\arcexe8x\bin\uicontrols.dll h result - 2147221164. Contact your support personnel. Ignore/Abort/Retry"
If you Ignore these errors the installation will continue and finish.
Windows cannot register the two files named in the errors.
Solution or Workaround
Ignore the two errors when they occur and let the installation finish. When it is done, register the ArcGIS DLLs.
WARNING: The instructions below include making changes to essential parts of your operating system. It is recommended that you backup your operating system and files, including the registry, before proceeding. Consult with a qualified computer systems professional, if necessary. Esri cannot guarantee results from incorrect modifications while following these instructions; therefore, use caution and proceed at your own risk.
- Copy the script below into a text file.
@echo Registering files... @for %%f in (*.dll) do start /wait regsvr32 /s "%%f" @for %%f in (*.olb) do start /wait regsvr32 /s "%%f" @for %%f in (*.ocx) do start /wait regsvr32 /s "%%f" @echo Registering Help files... cd ..\help @for %%f in (*.olb) do start /wait regsvr32 /s "%%f"
- Name the file register_arcgis.bat and save it to the following location: <install path of ArcGIS Desktop>\bin\.
- Double-click, from Windows Explorer, on <install path of ArcGIS Desktop>\bin\register_arcgis.bat to register the .dlls.