how to register dll ?

Hi , dear all !

I follow the instructions as the picture shown below and make an installer for a dll, but after I complete the setup , it shows me that the dll did not register when I load it in the SW.

Why the dll have not been registered ? Can any one solve it ?

Thanks a lot !

SolidworksApi macros