IUpdater throwing error message for users without the plug in
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have an IUpdater that is causing a warning on other machines in a Worksharing or Cloud environment. Originally, I registered the updater onStart-Up and unregistered it onShut-Down. I realize, in the process of synchronizing, I'm sending this registered IUpdater to all other machines who don't have the plug in installed - hence the warning.
I figured if I simply unregistered it at onSynchronizing and registered it again onSynchronized, I would keep it out of the central model, but that doesn't seem to be the case.
I have two methods..
- RegisterUpdater()
- UnregisterUpdater()
I use them in the following events...
- onstartup - RegisterUpdater()
- onDocumentOpened - RegisterUpdater()
- onDocumentSynchronizing - UnregisterUpdater()
- onDocumentSynchronized - RegisterUpdater()
- onDocumentClosing - UnregisterUpdater()
- onShutDown - UnregisterUpdater()
the onStartup call is probably unnecessary, but I thought unregistering it prior to synchronizing would keep it out of the central model, but that isn't the case.
Any advice?