Solidworks Add-in

322 views
Skip to first unread message

Rodney Michels

unread,
Jul 27, 2009, 2:43:08 PM7/27/09
to SolidWorks-API
I have created a Solidworks Add-in using VB.Net and Solidworks's
Template. When I did my first debug, it adds that DLL into my
installation of Solidworks. Here are my two questions.

How do I deploy this to multiple machines?

How do I properly uninstall it from a machine?

Thanks,
Rodney

Eduardo

unread,
Aug 27, 2009, 9:10:26 AM8/27/09
to SolidWorks-API
First question: Create a Setup Project in your solution. Then
run the built msi/exe file on the target machines.

Second question: If you followed my suggestion above, simply
uninstall it from the control panel add/remove programs.

Eduardo

Corey Scheich

unread,
Aug 29, 2009, 10:05:44 AM8/29/09
to solidwo...@googlegroups.com
In the past I have had problems getting the MSI to properly register on x64 machines.   If that happens you need to use the following command line to install

C:\Windows\Microsoft.Net\Framework64\v2.0.50727\regasm.exe "<Path to your dll"> /CODEBASE



> Date: Thu, 27 Aug 2009 06:10:26 -0700
> Subject: Re: Solidworks Add-in
> From: ebr...@althima.com
> To: solidwo...@googlegroups.com

With Windows Live, you can organize, edit, and share your photos. Click here.

WstCstJP

unread,
Sep 2, 2009, 12:00:28 AM9/2/09
to SolidWorks-API
One last comment, on some x64 machines you have to sign with a strong
password.

On Aug 29, 7:05 am, Corey Scheich <cdsmor...@hotmail.com> wrote:
> In the past I have had problems getting the MSI to properly register on x64 machines.   If that happens you need to use the following command line to install
> C:\Windows\Microsoft.Net\Framework64\v2.0.50727\regasm.exe "<Path to your dll"> /CODEBASE
>
> > Date: Thu, 27 Aug 2009 06:10:26 -0700
> > Subject: Re: Solidworks Add-in
> > From: ebri...@althima.com
> > To: solidwo...@googlegroups.com
>
> > First question:         Create a Setup Project in your solution. Then
> > run the built msi/exe file on the target machines.
>
> > Second question:     If you followed my suggestion above, simply
> > uninstall it from the control panel add/remove programs.
>
> > Eduardo
>
> _________________________________________________________________
> With Windows Live, you can organize, edit, and share your photos.http://www.windowslive.com/Desktop/PhotoGallery

Fábio Vargas

unread,
Oct 6, 2009, 2:17:46 PM10/6/09
to SolidWorks-API
I have the following problem, I try to open the dll in solidworks, but
it shows error saying: Unable to initialize add-in component. Use
solidworks 2009sp4 and created the dll in visual studio 2008, can
someone help me?

Eduardo

unread,
Oct 7, 2009, 9:08:54 AM10/7/09
to SolidWorks-API
That's probably because your code contains errors. Try to debug it.

If your problem persists please send me an e-mail with your code. If
you speak portuguese, manda-me em português :)
> > > With Windows Live, you can organize, edit, and share your photos.http://www.windowslive.com/Desktop/PhotoGallery- Ocultar texto citado -
>
> - Mostrar texto citado -
Reply all
Reply to author
Forward
0 new messages