cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
christopher_loe
Level 3

How to register an SolidWorks Addin

Hi,
I try to create a setup for a SolidWorks Addin and I don't have any idea how to create registry keys while running the .msi.
I am not aware of all registry keys which are necessary to run the Addin.
Normally I run a batch file which does all the registry stuff.

See example for 64bit:

"%Windir%\Microsoft.NET\Framework64\v4.0.30319\regasm.exe" /nologo /codebase "C:\UGS\Tools_SW_TC\bin\Tools_SW_TC.dll"

Is it possible to implement this in the setup project without knowing about all registry key which are created by this command?

Thanks for any help in advance

Christopher
0 Kudos
(3) Replies
NameTooShort
Level 7 Flexeran
Level 7 Flexeran

Hi,

You could try creating a EXE custom action or another custom action type that runs that command if it creates all the registry for you.
0 Kudos
christopher_loe
Level 3

kyi wrote:
Hi,

You could try creating a EXE custom action or another custom action type that runs that command if it creates all the registry for you.



I could try this, but how run this exe within the msi?
0 Kudos
christopher_loe
Level 3

Hi,
I think I found how to implement an exe file in the installer.
Thanks for your help.
0 Kudos