Unable to create registration information for file named '<filename>'
The specified file has the Register property set to vsdrfCOM or vsdrfCOMRelativePath, but the file does not contain COM registration information or is not a COM component.
This error can also occur if two components with the same ProgID are added to the deployment project. In this case, you will need to remove one of the files and, if necessary, change its ProgID before adding it back to the project.
To correct this error
Double-click the error message in the Task List to go to the file in the File System Editor.
In the Properties window, select the Register property and choose a different registration option.
For COM components created in Visual C++ using ATL 6.0 you should choose the vsdrfCOMSelfReg option.