I have programmed an add-on for sap B1 and registered under sap. Also it has automatic update feature and can update the add-on during the start up if an update is available. First it checks for running processes(instances) of this add-on on the customer server and notify them to close those before updating to avoid problems.
But my problem is when ever I disconnect the add-on using add-on manager still it keeps running in the background(I can see it in task manager) but it's disconnected inside SAP. And then I have to close it in task manager before relaunching the add-on to be able to update it. How can I avoid this problem? Please help.