![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi All,
I have AddIn written with VSTO .net 2.0 platform for Outlook 2003. The addin is deployed and installed on the machine level so the registry keys are added under: "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Outl ook\Addins" In some cases, we noticed that when the user aborts the startup process by shutting down Outlook, the next time he will open OL he will get the old message: "do you like to disable addin because it caused a seriuous problem..." - and most users press 'OK'. is there a way to mark an addin as a "Trusted" addin so it never get's disabled. This causes a serious maintenance overhead for our solution and prevents us from reaching more customers... Thanks Evgeny. |
Ads |
#2
|
|||
|
|||
![]()
Well, you could get a more serious customer maintenance nightmare on
your hands if you continue to try to load an addin that keep crashing. As this is generally not a good thing to do, is probably why there have a been a lack of responses. But one way I can think of is to make a tiny exe that runs either on os startup, or on a scheduler, etc. It would check your log file to make sure that your Addin crash was an isolated event and then finds where Outlook indicates this a problem addin in the registry and change it. Once again, though, I'd be concerned about such an approach. There are probably some other safer tricks based on logging successful startup and shutdown. On Mar 20, 3:49 pm, "j" wrote: Hi All, I have AddIn written with VSTO .net 2.0 platform for Outlook 2003. The addin is deployed and installed on the machine level so the registry keys are added under: "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Outl ook\Addins" In some cases, we noticed that when the user aborts the startup process by shutting down Outlook, the next time he will open OL he will get the old message: "do you like to disable addin because it caused a seriuous problem..." - and most users press 'OK'. is there a way to mark an addin as a "Trusted" addin so it never get's disabled. This causes a serious maintenance overhead for our solution and prevents us from reaching more customers... Thanks Evgeny. |
#3
|
|||
|
|||
![]()
Thanks JahMic,
Well, you could get a more serious customer maintenance nightmare on your hands if you continue to try to load an addin that keep crashing. I absolutely agree with you, however the problem is that crashing occured ( seldom but may occured ) when user starts Outlook and then close it after tiny period of time, the AddIn just starts loading and Outlook is being shut down. In regular work Outlook is not crashes because of my AddIn. Any ideas?? |
#4
|
|||
|
|||
![]()
Well, as I mentioned:
make an tiny application, service, or some triggered or scheduled event. Scan your logs (that you have made in your addin) If not smooth shutdown, determine if it's isolated event. if so, Modify registry settings, if it's Com, the LoadBehavior setting, i think is changed. There are probably other places you can find in the registry that Outlook marks such things, Hmmn, I remember skimming a post or article that this maybe a hashed value, If so, you may want to keep a tab on that, so you put it back to the old value. Tread carefully. On Mar 27, 5:09 pm, "j" wrote: Thanks JahMic, Well, you could get a more serious customer maintenance nightmare on your hands if you continue to try to load an addin that keep crashing. I absolutely agree with you, however the problem is that crashing occured ( seldom but may occured ) when user starts Outlook and then close it after tiny period of time, the AddIn just starts loading and Outlook is being shut down. In regular work Outlook is not crashes because of my AddIn. Any ideas?? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
addin tab | Roy | Add-ins for Outlook | 11 | September 29th 06 12:09 AM |
Help with AddIn | nickdu | Add-ins for Outlook | 3 | September 28th 06 03:35 PM |
Another Addin Failure | gandolf | Add-ins for Outlook | 1 | September 7th 06 10:26 AM |
how to program an addin? | Pit | Add-ins for Outlook | 2 | March 31st 06 04:33 AM |
Hummingbird Addin | Danny | Add-ins for Outlook | 0 | February 4th 06 08:00 PM |