Hi, I'm making an auto-updater for my addin. The method I used, was one mentioned throughout the forum on this matter, which is to create a dummy addin that updates (replaces files) and loads the real addin when needed.
The problem is though, that when I use the ISldWorks::LoadAddin it automatically sets it to startup automatically as well. If I use the ISldWorks::UnloadAddin is also removes it from startup, but for some reason I can't get it to work when the Disconnect call is made.
The addin do seem to load in alphabetical order, so if my Updater is first, is seems to work...but I don't like that.
Is there any other way to start the addin besides ISldWorks::LoadAddin? Or is there a way to change the Startup option for each addin (I know about changing the registry, but solidworks re-writes to the registry on shutdown, so I don't like that solution either)?
Any help/opinions appreciated!
Thanks in advance!
Filipe
