solidworks-api icon indicating copy to clipboard operation
solidworks-api copied to clipboard

MSI add-in installer

Open doronkind opened this issue 6 years ago • 8 comments

@angelsix, good morning!

What do you think about to provide some examples how to create msi/exe installer for your sw add-in? I think it can be useful cause it is really lack of information about this.

Does it works with your framework: http://help.solidworks.com/2015/English/api/sldworksapiprogguide/Miscellaneous/Create_Setup_Project_to_Distribute_SolidWorks_Add-in.htm?id=5e152c0abbef41ad99e957ec76cb2335

I think we can use WiX Toolset, e.g. to create MSI but if you have a working example it will be great to analyze it.

doronkind avatar Jul 10 '18 10:07 doronkind

Yes I will do a video and code on this. I'll leave this open until I do it

angelsix avatar Jul 10 '18 15:07 angelsix

It would be great! Actually I am working on it now but unfortunately can't register COM object with WiX toolset.

BTW Am I right, sw exe path is not necessary for COM registering?

doronkind avatar Jul 10 '18 16:07 doronkind

Correct. I just have that in my Addin Installer tool so the user clearly sees if they actually have SolidWorks installed :P

angelsix avatar Jul 10 '18 16:07 angelsix

Even in the existing an option for installing MacroFeature COM may be necessary in the future.

emersonbottero avatar Jul 11 '18 00:07 emersonbottero

@angelsix, do you have a plan when you approximately complete this video?

doronkind avatar Jul 11 '18 09:07 doronkind

Probably a month, as I go away next week then 2 weeks after that for another 2 weeks. So prob 5-6 weeks away

angelsix avatar Jul 11 '18 12:07 angelsix

@angelsix, it would be great. I've done MSI installer with COM registration using WiX, if you need any help I'll be glad to provide

doronkind avatar Jul 11 '18 14:07 doronkind

Hi @doronkind I am just being in the same situation that an installer from WiX is required for my project, did you ever have permission issue that is preventing you from activating the add-in ? For example, install the addin with a path like: C:\Program Files\Folder\

Venzentzheng avatar May 23 '19 00:05 Venzentzheng