Help!

outlook addins/everyone


Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Program Add-Ins RSS
Next:  Adding image to Outlook commandbar button  
Author Message
njdude
External


Since: Aug 01, 2007
Posts: 5



PostPosted: Wed Aug 01, 2007 8:21 pm    Post subject: outlook addins/everyone
Archived from groups: microsoft>public>outlook>program_addins (more info?)

i have created an outlook addin which has to be installed for
everyone. it installs fine for the user installing the addin. then i
noticed HKCU being used so changed it to HKLM and then installer
installs it fine for all users.. i see the addin in the outlook COM
addins. But it just does not get loaded. it stays in unloaded state.
what is the reason and how to get it to work.

Please help
Back to top
Michael Bauer [MVP - Outl
External


Since: Aug 04, 2006
Posts: 594



PostPosted: Thu Aug 02, 2007 2:16 am    Post subject: Re: outlook addins/everyone [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You cannot activate/deactivate addins in HKLM via Outlook's dialog. In the
registry, set the LoadBehaviour=3.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Organize eMails:
<http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6>

Am Wed, 01 Aug 2007 20:21:28 -0700 schrieb njdude:

> i have created an outlook addin which has to be installed for
> everyone. it installs fine for the user installing the addin. then i
> noticed HKCU being used so changed it to HKLM and then installer
> installs it fine for all users.. i see the addin in the outlook COM
> addins. But it just does not get loaded. it stays in unloaded state.
> what is the reason and how to get it to work.
>
> Please help
Back to top
njdude
External


Since: Aug 01, 2007
Posts: 5



PostPosted: Thu Aug 02, 2007 3:29 am    Post subject: Re: outlook addins/everyone [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

yes i did but as soon as i start outlook the addins dont lond and the
value is set back to 0 !
On Aug 2, 1:06 am, "Michael Bauer [MVP - Outlook]" <m....TakeThisOut@mvps.org>
wrote:
> You cannot activate/deactivate addins in HKLM via Outlook's dialog. In the
> registry, set the LoadBehaviour=3.
>
> --
> Viele Gruesse / Best regards
> Michael Bauer - MVP Outlook
> Organize eMails:
> <http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6>
>
> Am Wed, 01 Aug 2007 20:21:28 -0700 schrieb njdude:
>
>
>
> > i have created an outlook addin which has to be installed for
> > everyone. it installs fine for the user installing the addin. then i
> > noticed HKCU being used so changed it to HKLM and then installer
> > installs it fine for all users.. i see the addin in the outlook COM
> > addins. But it just does not get loaded. it stays in unloaded state.
> > what is the reason and how to get it to work.
>
> > Please help- Hide quoted text -
>
> - Show quoted text -
Back to top
Ken Slovak - [MVP - Outlo
External


Since: Oct 17, 2003
Posts: 3213



PostPosted: Thu Aug 02, 2007 8:47 am    Post subject: Re: outlook addins/everyone [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You're going to have to supply more information. What platform are you using
to code and deploy your addin? Is it a managed code shared addin or perhaps
a VSTO addin?

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"njdude" <njdude31 RemoveThis @gmail.com> wrote in message
news:1186050545.614871.183200@22g2000hsm.googlegroups.com...
> yes i did but as soon as i start outlook the addins dont lond and the
> value is set back to 0 !
Back to top
njdude
External


Since: Aug 01, 2007
Posts: 5



PostPosted: Fri Aug 03, 2007 6:56 am    Post subject: Re: outlook addins/everyone [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Aug 3, 9:16 am, "Ken Slovak - [MVP - Outlook]" <kenslo....TakeThisOut@mvps.org>
wrote:
> VSTOaddinsdo not support registration in HKLM, only in HKCU. So forget
> registering in HKLM. For VSTO you also must very closely follow the
> deployment walkthroughs to make sure you are checking for and/or installing
> all pre-requisites and that you set the security for the addin dll to full
> trust using either custom actions in the installer or CASPOL to set that
> security. Again, that's covered in the deployment walkthroughs for your
> version of VSTO.
>
> --
> Ken Slovak
> [MVP -Outlook]http://www.slovaktech.com
> Author: Professional ProgrammingOutlook2007
> Reminder Manager, Extended Reminders, Attachment Optionshttp://www.slovaktech.com/products.htm
>
> "njdude" <njdud....TakeThisOut@gmail.com> wrote in message
>
> news:1186142219.529940.219930@r34g2000hsd.googlegroups.com...
>
>
>
> > Visual Studio 2005 SP1, VSTO Addin.
> > Im also having the same problem with Excel,Wordaddins.
> > If i install all reg keys in HKLM theaddinswont get loaded. but as
> > soon as i move the 1 single entry which is Software\Microsoft\Office
> > \Excel\Addins\MyAddin entry to HKCU from HKLM the addin loads fine.
>
> > Help !!- Hide quoted text -
>
> - Show quoted text -

does this mean that i will not be able to install the addin for all
users in shot install ?
would i be better of building a different kind of addin ? COM Addin or
something
Back to top
Ken Slovak - [MVP - Outlo
External


Since: Oct 17, 2003
Posts: 3213



PostPosted: Fri Aug 03, 2007 11:21 am    Post subject: Re: outlook addins/everyone [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

If you want to us VSTO that's exactly what it means. VSTO addins can only be
registered in HKCU so you'd have to register a VSTO addin (and set security
for that user) for each user under their Windows logon so the addin gets
registered correctly in HKCU for each user.

You can use a shared addin, which can be registered in HKLM. Of course then
you must directly handle the IDTExtensibility2 events in your addin and
change your code accordingly and remove all VSTO related things in your
code. Shared addins should always be shimmed so they have their own
AppDomain, something that VSTO takes care of for you with its own built-in
shimming. So you'd have to also download and use the new Shimming Wizard to
set up a shim for your shared addin.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"njdude" <njdude31 DeleteThis @gmail.com> wrote in message
news:1186149384.260594.83400@g4g2000hsf.googlegroups.com...
<snip>
> does this mean that i will not be able to install the addin for all
> users in shot install ?
> would i be better of building a different kind of addin ? COM Addin or
> something
>
Back to top
njdude
External


Since: Aug 01, 2007
Posts: 5



PostPosted: Fri Aug 03, 2007 11:56 am    Post subject: Re: outlook addins/everyone [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Visual Studio 2005 SP1, VSTO Addin.
Im also having the same problem with Excel,Word addins.
If i install all reg keys in HKLM the addins wont get loaded. but as
soon as i move the 1 single entry which is Software\Microsoft\Office
\Excel\Addins\MyAddin entry to HKCU from HKLM the addin loads fine.

Help !!
On Aug 2, 8:47 am, "Ken Slovak - [MVP - Outlook]" <kenslo... DeleteThis @mvps.org>
wrote:
> You're going to have to supply more information. What platform are you using
> to code and deploy your addin? Is it a managed code shared addin or perhaps
> a VSTO addin?
>
> --
> Ken Slovak
> [MVP -Outlook]http://www.slovaktech.com
> Author: Professional ProgrammingOutlook2007
> Reminder Manager, Extended Reminders, Attachment Optionshttp://www.slovaktech.com/products.htm
>
> "njdude" <njdud... DeleteThis @gmail.com> wrote in message
>
> news:1186050545.614871.183200@22g2000hsm.googlegroups.com...
>
>
>
> > yes i did but as soon as i startoutlookthe addins dont lond and the
> > value is set back to 0 !- Hide quoted text -
>
> - Show quoted text -
Back to top
Ken Slovak - [MVP - Outlo
External


Since: Oct 17, 2003
Posts: 3213



PostPosted: Fri Aug 03, 2007 11:57 am    Post subject: Re: outlook addins/everyone [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

VSTO addins do not support registration in HKLM, only in HKCU. So forget
registering in HKLM. For VSTO you also must very closely follow the
deployment walkthroughs to make sure you are checking for and/or installing
all pre-requisites and that you set the security for the addin dll to full
trust using either custom actions in the installer or CASPOL to set that
security. Again, that's covered in the deployment walkthroughs for your
version of VSTO.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"njdude" <njdude31.DeleteThis@gmail.com> wrote in message
news:1186142219.529940.219930@r34g2000hsd.googlegroups.com...
> Visual Studio 2005 SP1, VSTO Addin.
> Im also having the same problem with Excel,Word addins.
> If i install all reg keys in HKLM the addins wont get loaded. but as
> soon as i move the 1 single entry which is Software\Microsoft\Office
> \Excel\Addins\MyAddin entry to HKCU from HKLM the addin loads fine.
>
> Help !!
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Program Add-Ins All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum