When does AddinModule_OnRegister (Handles MyBase.OnRegister) run?

Add-in Express™ Support Service
That's what is more important than anything else

When does AddinModule_OnRegister (Handles MyBase.OnRegister) run?
 
aweber




Posts: 83
Joined: 2013-11-21
I'm troubleshooting an install (or upgrade) issue, and trying to rule-out some possibilities.

Will the OnRegister method be called/run when an update is installed to an existing AddIn? Or is this method only called on initial installation of the addin (and subsequent updates that are downloaded via ClickOnce will not call this method again)?

Thanks,
AJ
Posted 07 Aug, 2014 08:49:16 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hello AJ,

Updating an add-in means unregistering the current version, installing a new add-in version and registering it. That is, this method will be called whether you register an initial version or an update.


Andrei Smolin
Add-in Express Team Leader
Posted 08 Aug, 2014 07:23:21 Top