PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook Program Addins Deploying Outlook 2007 Addin using vs2008

Reply

Deploying Outlook 2007 Addin using vs2008

 
Thread Tools Rate Thread
Old 02-07-2008, 10:06 AM   #1
Ivica Muruzovic
Guest
 
Posts: n/a
Default Deploying Outlook 2007 Addin using vs2008



Hi all,

What is best way to deploy Outlook 2007 Addins using visual studio
2008.

Can I use Setup project or I have to use ClickOnce?

Is there some good tutorials for deploying this solutions?

  Reply With Quote
Old 02-07-2008, 02:53 PM   #2
Ken Slovak - [MVP - Outlook]
Guest
 
Posts: n/a
Default Re: Deploying Outlook 2007 Addin using vs2008

Is this addin a shared addin or a VSTO addin?

You can use either type of deployment, do you have objections to a ClickOnce
deployment?

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


"Ivica Muruzovic" <kvin@eunet.yu> wrote in message
news:i3hm64lvuf3a3nd3lcqbh5d5n468asaevr@4ax.com...
>
> Hi all,
>
> What is best way to deploy Outlook 2007 Addins using visual studio
> 2008.
>
> Can I use Setup project or I have to use ClickOnce?
>
> Is there some good tutorials for deploying this solutions?
>


  Reply With Quote
Old 03-07-2008, 08:15 AM   #3
Ivica Muruzovic
Guest
 
Posts: n/a
Default Re: Deploying Outlook 2007 Addin using vs2008

It it VSTO addin.

With ClickOnce deployment I have problem that Addin does not work on
some machines. One of errors was that FormRegion is not register, and
really in registry I could not found Key for Addin FormRegion. (On
some other machines same setup work perfect).
Also problem was too long loading of Addin when Outlook 2007 starts.
After long period of time I get error that was some problem in loading
Addin and Addin will be disable.


On Wed, 2 Jul 2008 09:53:44 -0400, "Ken Slovak - [MVP - Outlook]"
<kenslovak@mvps.org> wrote:

>Is this addin a shared addin or a VSTO addin?
>
>You can use either type of deployment, do you have objections to a ClickOnce
>deployment?

  Reply With Quote
Old 03-07-2008, 02:53 PM   #4
Ken Slovak - [MVP - Outlook]
Guest
 
Posts: n/a
Default Re: Deploying Outlook 2007 Addin using vs2008

Startup time has nothing to do with the installer. It's a function of how
long your addin initialization takes plus various overheads for managed
code.

If your addin is the first managed code application to run in that Outlook
session the CLR has to be started up. Your addin has to be JIT compiled and
put into the cache if it wasn't already JIT compiled and in the cache. Those
operations take some time. You should notice much faster startups if you
close Outlook and then re-open it right away while the addin is still cached
and the CLR is running.

For VSTO addins there's additional overhead of starting the VSTO runtime.

If the registration of things such as COM addins or form regions isn't
working you need to see what's different about where it works and where it
doesn't. User installation rights, permissions on different sections of the
registry and where the addin is being installed (HKCU or HKLM) must be
investigated. In general VSTO addins require admin permissions to install.

For VSTO addins you also have the consideration that the assemblies must be
strong named and must have full trust to run. You need to check whether or
not the CASPOL settings for full trust have been applied to your addin
assemblies.

You also need to check the Fusion logs to see what's failing to load and
why. See
http://blogs.msdn.com/vsod/archive/...d-failures.aspx
for information on how to do that.

Your problems most likely will not be solved by switching installer types.
They will haunt you with a setup project installer until you find out why
your current installer is failing in some cases or why the loads are
failing.

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


"Ivica Muruzovic" <kvin@eunet.yu> wrote in message
newsjuo64l3sam2n9jbn3haktkrlfg3i4tp0m@4ax.com...
> It it VSTO addin.
>
> With ClickOnce deployment I have problem that Addin does not work on
> some machines. One of errors was that FormRegion is not register, and
> really in registry I could not found Key for Addin FormRegion. (On
> some other machines same setup work perfect).
> Also problem was too long loading of Addin when Outlook 2007 starts.
> After long period of time I get error that was some problem in loading
> Addin and Addin will be disable.


  Reply With Quote
Old 04-07-2008, 07:36 AM   #5
Ivica Muruzovic
Guest
 
Posts: n/a
Default Re: Deploying Outlook 2007 Addin using vs2008

Thank you for informations

I will investigate my problem

On Thu, 3 Jul 2008 09:53:00 -0400, "Ken Slovak - [MVP - Outlook]"
<kenslovak@mvps.org> wrote:

>Startup time has nothing to do with the installer. It's a function of how
>long your addin initialization takes plus various overheads for managed
>code.
>
>If your addin is the first managed code application to run in that Outlook
>session the CLR has to be started up. Your addin has to be JIT compiled and
>put into the cache if it wasn't already JIT compiled and in the cache. Those
>operations take some time. You should notice much faster startups if you
>close Outlook and then re-open it right away while the addin is still cached
>and the CLR is running.
>
>For VSTO addins there's additional overhead of starting the VSTO runtime.
>
>If the registration of things such as COM addins or form regions isn't
>working you need to see what's different about where it works and where it
>doesn't. User installation rights, permissions on different sections of the
>registry and where the addin is being installed (HKCU or HKLM) must be
>investigated. In general VSTO addins require admin permissions to install.
>
>For VSTO addins you also have the consideration that the assemblies must be
>strong named and must have full trust to run. You need to check whether or
>not the CASPOL settings for full trust have been applied to your addin
>assemblies.
>
>You also need to check the Fusion logs to see what's failing to load and
>why. See
>http://blogs.msdn.com/vsod/archive/...d-failures.aspx
>for information on how to do that.
>
>Your problems most likely will not be solved by switching installer types.
>They will haunt you with a setup project installer until you find out why
>your current installer is failing in some cases or why the loads are
>failing.

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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