ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
ARAli Rashidikamjani21/03/2013

Hi Everyone

I have followed the instructions in http://help.solidworks.com/2012/English/api/sldworksapiprogguide/miscellaneous/create_setup_project_to_distribute_solidworks_add-in.htm to create setup files for my addin.

When I install the setup file on another machine, the AddIn gets installed and I can see the Add-In inside the software, however when I try to make the add-in active (load), nothing happens.

I discovered that this setup file does not register the xxxx.dll on the target machine and I had to run the REGASM on the target machine manually inside the command prompt to register the dll.

Could someone PLEASE explain to me:

1) why the setup file does not register the dll

2) If I need to use the REGASM tool, how can I embed it in my setup project so that after the installation is complete, the dll gets registered automatically?

Cheers

Ali