Un-Install issues...

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

Un-Install issues...
Outlook doesn't close on uninstall... 
Jeff Gilbert




Posts: 36
Joined: 2006-03-31
I've got an issue where Outlook doesn't close after my Toolbar Addin is uninstalled. During uninstall ADX starts Outlook but outlook doesn't shutdown outlook at the end of the process. The causes a problem in that most of the time in this scenario it's being uninstalled from a nested Wise install then when the installation package tries to install the new version it halts prompting the user to Close Outlook first.

At first I thought some of my code might be running from the ExplorerActivate or ExplorerFolderSwitch events. So, I added some code to stop execution of that code during the install/uninstall process. I was able to determine that both of those events are firing even though Outlook is started invisibly.

This issue is happening almost universally. Any help would be greatly appreciated!

ADX version
Posted 12 Apr, 2007 18:29:39 Top
Jeff Gilbert




Posts: 36
Joined: 2006-03-31
Almost forgot...
I'm using version: v1.1.4322 of ADX and the Toolbar addin.
VB.NET 2003.
I'm using the setup that is generated by the wizard. And using the ADXLoader.
Posted 12 Apr, 2007 18:32:14 Top
Pascal G




Posts: 9
Joined: 2006-08-01
I'm not at the office right now.. I'm not sure but I think you've not set the toolbar/button Temporary property to true.
Posted 12 Apr, 2007 23:59:17 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Jeff.

v1.1.4322 is the version of .NET Framework.
What version of the Add-in Express product do you use?


P.S. Note that we take up your forum requests in the order we receive them. Besides, it may take us some time to investigate your issue. Please be sure we will let you know as soon as the best possible solution is found.
Posted 13 Apr, 2007 11:20:42 Top
Jeff Gilbert




Posts: 36
Joined: 2006-03-31
2.8.1763.2003
Posted 13 Apr, 2007 12:58:26 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Jeff, could you please describe the issue in more details?
Do you uninstall the previous version of the add-in before you install a new one?

Posted 13 Apr, 2007 13:24:49 Top
Jeff Gilbert




Posts: 36
Joined: 2006-03-31
I have a nested install package with 3 MSI's... one being the toolbar addin's MSI. During uninstallation Outlook starts up and doesn't close unless I manually kill the process in task manager. The uninstall process could be as a result of a regular uninstall or it could be the result of a newer version uninstalling the previous installation. But, the problem seems universal.

It looks like the ExplorerActivate and FolderSwitch events are firing in my addin during uninstall. I tested this by adding some msgbox's in those events. They both fire off during uninstall. My initial thought was that some of my code was failing because it was being run in a state that would generate errors... I added some code in those events to bypass my code when the Install process is running. But that also did not seem to remedy the situation. Outlook still stays open.
Posted 13 Apr, 2007 13:58:07 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Jeff.

Do you install the add-in for all users (RegisterForAllUser = true)?

Posted 16 Apr, 2007 07:47:05 Top
Jeff Gilbert




Posts: 36
Joined: 2006-03-31
Yes.
Posted 16 Apr, 2007 17:36:41 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Jeff.

I fixed this issue in the latest versions of Add-in Express 2007.
Please upgrade the product.
Posted 18 Apr, 2007 08:56:50 Top