A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Dibale this addin



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 20th 07, 07:49 AM posted to microsoft.public.outlook.program_addins
j
external usenet poster
 
Posts: 109
Default Dibale this addin

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  
Old March 26th 07, 02:29 PM posted to microsoft.public.outlook.program_addins
JahMic
external usenet poster
 
Posts: 35
Default Dibale this addin

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  
Old March 27th 07, 10:09 AM posted to microsoft.public.outlook.program_addins
j
external usenet poster
 
Posts: 109
Default Dibale this addin

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  
Old March 28th 07, 03:54 PM posted to microsoft.public.outlook.program_addins
JahMic
external usenet poster
 
Posts: 35
Default Dibale this addin

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 06:48 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.