cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Build Warning 4354

Build Warning 4354

Summary

Warning -4354: The build was unable to extract COM information from the file [1] in component [2]. Please ensure that the file is self-registering and verify that the self-registration process does not fail.

Symptoms

When building a project, the following warning (s) may occur:

  • Warning -4354: The build was unable to extract COM information from the file [1] in component [2]. Please ensure that the file is self-registering and verify that the self-registration process does not fail.
  • isdev warning -4354 the build was unable to extract com information from the file


[1] is a placeholder that contains the specific filename that the build is attempting to extract COM information from, while [2] is the component name that contains this file.

 

Cause

This warning message occurs when the key file specified in the message cannot be registered. There are a number of known causes for this error. Please see potential solutions below.

 

Resolution

File Is Not Self-Registering
If the file is not a self-registering file, verify that this file is not marked as self-registering and not marked to extract COM information at build time in the project. After this is done the setup will simplt copy the file to the target machine at install time and does not attempt to register it.
 
The File is Self-Registering, but its Dependent Files are Not Present
If the file is self-registering, but its dependent files are not present on the build machine then you will need to determine your application's file dependencies. The Dependencies view contains scanning tools that can also be used to determine a file's dependencies. Once the dependencies are identified, make sure they are present on your build machine and registered properly. Once all dependent files are present and registered properly, rebuild the project to resolve this build warning.

The File is Self-Registering, the Dependent Files are Present, but the Dependent Files are Not Registered Properly

If all dependent files are present on the build machine, make sure they are all registered properly. Once all dependent files are registered properly, rebuild the project to resolve this build warning.
 
UAC is Turned Off
Some customers have also reported that after turning on the UAC and rebuilding their project, the -4354 build error disappeared.
 
3rd Party Security Application Blocking COM Extraction
Check that Anti-Virus software\Network Security Applications are not blocking COM extraction by temporarily stopping or pausing the security software and running the build again.

 

Additional Information

See the following helpnet article for further information about Self-registration: Self-Registration Methods

Labels (2)
Was this article helpful? Yes No
No ratings
Version history
Last update:
‎May 14, 2024 07:15 AM
Updated by:
Contributors