How to automatically make your ATL COM DLL add-in appear in the SolidWorks Add-in Manager
You can modify the DllRegisterServer() and DllUnregisterServer() functions to add or remove SolidWorks-specific entries to the registry for your add-in. These functions typically are called by installation programs (e.g., InstallShield) when they register or unregister a COM DLL.