To register a COM DLL, you need either Microsoft Visual Studio or .NET Framework installed on the system.
Scenario 1: When Microsoft Visual Studio 2010 is installed on the system
Perform the following steps:
Open the Visual Studio Command Prompt
Register the DLL in the Visual Studio Command Prompt as:
regasm /codebase
Scenario 2: When .NET Framework is installed on the system
Open Command Prompt in Administrator mode & then go to the directory where .NET Framework is installed i.e. to “C:WindowsMicrosoft.NETFramework” & register the DLL using:
regasm /codebase “Location of the DLL in the system”
Note: Go to “C:WindowsMicrosoft.NETFramework” & make sure that .NET Framework (preferably 4.0) is installed on the system. If it is not installed, then install it & repeat Step 1.