Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: VSTO Add-In Deployment

Geek News

VSTO Add-In Deployment
Paulem0071 10/10/2008 2:16:06 PM
I am using VSTO 3.x with for use with an Outlook 2007 Add-In. I cannot
figure out how to deploy the stupid thing.

I have tried Publish. The installation runs, but get a "Not Loaded. A
runtime error occurred during the loading of the COM Add-in" error.

I also tried creating a setup project, but have been unsuccessful there as
well as my DLL refuses to load.

Is there a proven reference document for deployment somewhere? The docs I
have found do not help.

Thanks!
Re: VSTO Add-In Deployment
"Ken Slovak - [MVP - Outlook]" <kenslovak[ at ]mvps.org> 10/10/2008 2:56:09 PM
For deployment see http://msdn.microsoft.com/en-us/library/bb332051.aspx.

For troubleshooting deployment problems like you're seeing see
http://blogs.msdn.com/vsod/archive/2008/04/22/Troubleshooting-com-add-in-load-failures.aspx.

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


"Paulem0071" <Paulem0071[ at ]discussions.microsoft.com> wrote in message
news:31B1C1C2-D243-4C62-8A84-E2BC705EB40C[ at ]microsoft.com...
[Quoted Text]
>I am using VSTO 3.x with for use with an Outlook 2007 Add-In. I cannot
> figure out how to deploy the stupid thing.
>
> I have tried Publish. The installation runs, but get a "Not Loaded. A
> runtime error occurred during the loading of the COM Add-in" error.
>
> I also tried creating a setup project, but have been unsuccessful there as
> well as my DLL refuses to load.
>
> Is there a proven reference document for deployment somewhere? The docs I
> have found do not help.
>
> Thanks!

RE: VSTO Add-In Deployment
Paulem0071 10/10/2008 3:12:01 PM
Figured it out. Did not select the Office Primary Interop Assemblies as a
Prerequisite. You DO need them, even if Office2007 is already installled on
the target.

"Paulem0071" wrote:

[Quoted Text]
> I am using VSTO 3.x with for use with an Outlook 2007 Add-In. I cannot
> figure out how to deploy the stupid thing.
>
> I have tried Publish. The installation runs, but get a "Not Loaded. A
> runtime error occurred during the loading of the COM Add-in" error.
>
> I also tried creating a setup project, but have been unsuccessful there as
> well as my DLL refuses to load.
>
> Is there a proven reference document for deployment somewhere? The docs I
> have found do not help.
>
> Thanks!
Re: VSTO Add-In Deployment
"Ken Slovak - [MVP - Outlook]" <kenslovak[ at ]mvps.org> 10/10/2008 3:58:24 PM
You need them as prereq's yes. If Framework is installed prior to
installation of Office 2007 they should be installed automatically unless a
custom installation prevents installation of the PIA's but best practice is
to always check for the prereq's and install them if they're not there.

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


"Paulem0071" <Paulem0071[ at ]discussions.microsoft.com> wrote in message
news:D1EABCDE-B026-4030-AF00-EDD93861FC63[ at ]microsoft.com...
[Quoted Text]
> Figured it out. Did not select the Office Primary Interop Assemblies as a
> Prerequisite. You DO need them, even if Office2007 is already installled
> on
> the target.

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net