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

No setup project with Outlook 2007 Add-In project



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 11th 09, 12:03 AM posted to microsoft.public.dotnet.framework.setup,microsoft.public.dotnet.languages.vb,microsoft.public.outlook.program_addins
John[_11_]
external usenet poster
 
Posts: 83
Default No setup project with Outlook 2007 Add-In project

Hi

In vs 2008 when I create an Outlook 2003 Add-In project it automatically
creates an associated setup project too. But when I create an Outlook 2007
Add-In project it does not automatically creates an associated setup project
too. What is going on?

Thanks

Regards


Ads
  #2  
Old July 13th 09, 02:11 PM posted to microsoft.public.dotnet.framework.setup,microsoft.public.dotnet.languages.vb,microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default No setup project with Outlook 2007 Add-In project

Create one manually then.

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


"John" wrote in message
...
Hi

In vs 2008 when I create an Outlook 2003 Add-In project it automatically
creates an associated setup project too. But when I create an Outlook 2007
Add-In project it does not automatically creates an associated setup
project too. What is going on?

Thanks

Regards



  #3  
Old July 13th 09, 03:50 PM posted to microsoft.public.dotnet.framework.setup,microsoft.public.dotnet.languages.vb,microsoft.public.outlook.program_addins
John[_11_]
external usenet poster
 
Posts: 83
Default No setup project with Outlook 2007 Add-In project

Hi

I added the project out put but that did not work. I tried to manually add
the MyAddin.dll to OL2007's addins on target machine but it says "...is not
a valid add-in."

Thanks

Regards

"Ken Slovak - [MVP - Outlook]" wrote in message
...
Create one manually then.

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


"John" wrote in message
...
Hi

In vs 2008 when I create an Outlook 2003 Add-In project it automatically
creates an associated setup project too. But when I create an Outlook
2007 Add-In project it does not automatically creates an associated setup
project too. What is going on?

Thanks

Regards





  #4  
Old July 13th 09, 07:03 PM posted to microsoft.public.dotnet.framework.setup,microsoft.public.dotnet.languages.vb,microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default No setup project with Outlook 2007 Add-In project

Is this on a machine where Outlook 2007 is installed? That would be
required. In addition you can't just add an Outlook addin, it has to be
registered correctly. If it's not correctly registered in either HKCU or
HKLM with the correct values in the correct location the addin would never
load in Outlook.

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


"John" wrote in message
...
Hi

I added the project out put but that did not work. I tried to manually add
the MyAddin.dll to OL2007's addins on target machine but it says "...is
not a valid add-in."

Thanks

Regards


  #5  
Old July 16th 09, 07:04 PM posted to microsoft.public.dotnet.framework.setup,microsoft.public.dotnet.languages.vb,microsoft.public.outlook.program_addins
Lasyapriya P
external usenet poster
 
Posts: 7
Default No setup project with Outlook 2007 Add-In project

hi

i got the same problem. i have created an outlook 2007 addin project.
added a setup project and a setSecurity project to the solution.
and then added the outputs of setSecurity and MyAddIn projects to
setup project. Created the registries manually and imported into setup
project`s registry.
i have created the registry entries in a file as follows.

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Office\Outloo k\Addins
\MyOutlookAddIn]

"Description"="MyOutlookAddIn -- an addin created with VSTO
technology"
"Manifest"="[TARGETDIR]MyOutlookAddIn.dll.manifest"
"FriendlyName"="MyOutlookAddIn"
"LoadBehavior"=dword:00000003
"CommandLineSafe"=dword:00000001

In add-in project properties-Signing (Tab)-'Click Once' is checked.
And I have created a test certificate.
Still, the add-in is not loading. The load behavior is setting to 2
after opening outlook.
I tried to change it to 3 and open outlook but i am getting the same
error.



Thanks

On Jul 13, 11:03*pm, "Ken Slovak - [MVP - Outlook]"
wrote:
Is this on a machine where Outlook 2007 is installed? That would be
required. In addition you can't just add an Outlook addin, it has to be
registered correctly. If it's not correctly registered in either HKCU or
HKLM with the correct values in the correct location the addin would never
load in Outlook.

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

"John" wrote in message

...



Hi


I added the project out put but that did not work. I tried to manually add
the MyAddin.dll to OL2007's addins on target machine but it says "...is
not a valid add-in."


Thanks


Regards- Hide quoted text -


- Show quoted text -


  #6  
Old July 16th 09, 07:26 PM posted to microsoft.public.dotnet.framework.setup,microsoft.public.dotnet.languages.vb,microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default No setup project with Outlook 2007 Add-In project

Since this is for a VSTO project it really should be posted in the VSTO
forum. However, to debug load problems for managed code, including VSTO, see
this article:
http://blogs.msdn.com/vsod/archive/2...-failures.aspx.
The Fusion logs more often than not pinpoint where the problem is.

You also should be using the Framework configuration utility to make sure
that your security settings are propagated to the target machine correctly,
no VSTO addin will load and run without full trust. You also need to make
sure you are deploying the required dependencies for your addin including
the VSTO runtime, Framework, PIA's, etc.

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


"Lasyapriya P" wrote in message
...
hi

i got the same problem. i have created an outlook 2007 addin project.
added a setup project and a setSecurity project to the solution.
and then added the outputs of setSecurity and MyAddIn projects to
setup project. Created the registries manually and imported into setup
project`s registry.
i have created the registry entries in a file as follows.

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Office\Outloo k\Addins
\MyOutlookAddIn]

"Description"="MyOutlookAddIn -- an addin created with VSTO
technology"
"Manifest"="[TARGETDIR]MyOutlookAddIn.dll.manifest"
"FriendlyName"="MyOutlookAddIn"
"LoadBehavior"=dword:00000003
"CommandLineSafe"=dword:00000001

In add-in project properties-Signing (Tab)-'Click Once' is checked.
And I have created a test certificate.
Still, the add-in is not loading. The load behavior is setting to 2
after opening outlook.
I tried to change it to 3 and open outlook but i am getting the same
error.



Thanks

  #7  
Old July 16th 09, 10:02 PM posted to microsoft.public.dotnet.framework.setup,microsoft.public.dotnet.languages.vb,microsoft.public.outlook.program_addins
Lasyapriya P
external usenet poster
 
Posts: 7
Default No setup project with Outlook 2007 Add-In project

Thanks for the reply Ken.

I have created an empty addin with a msgbox in ThisAddIn_StartUp
method and generated a build from the setup project.
I tried to install this build in my development system itself. It is
not working in the development system itself.
But, the addin is working fine in debug mode (when i ran it from
visual studio using F5).
My development system has VS2008 in Windows Vista, Outlook 2007 and
PIAs installed.

I will generate the fusion log and go through it now.
I think, there are no dependencies to the project that are missing, as
I am trying to install it in the development system itself.


Regards


On Jul 16, 11:26*pm, "Ken Slovak - [MVP - Outlook]"
wrote:
Since this is for a VSTO project it really should be posted in the VSTO
forum. However, to debug load problems for managed code, including VSTO, see
this article:http://blogs.msdn.com/vsod/archive/2...ooting-com-add....
The Fusion logs more often than not pinpoint where the problem is.

You also should be using the Framework configuration utility to make sure
that your security settings are propagated to the target machine correctly,
no VSTO addin will load and run without full trust. You also need to make
sure you are deploying the required dependencies for your addin including
the VSTO runtime, Framework, PIA's, etc.

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

"Lasyapriya P" wrote in message

...
hi

i got the same problem. i have created an outlook 2007 addin project.
added a setup project and a setSecurity project to the solution.
and then added the outputs of setSecurity and MyAddIn projects to
setup project. Created the registries manually and imported into setup
project`s registry.
i have created the registry entries in a file as follows.

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Office\Outloo k\Addins
\MyOutlookAddIn]

"Description"="MyOutlookAddIn -- an addin created with VSTO
technology"
"Manifest"="[TARGETDIR]MyOutlookAddIn.dll.manifest"
"FriendlyName"="MyOutlookAddIn"
"LoadBehavior"=dword:00000003
"CommandLineSafe"=dword:00000001

In add-in project properties-Signing (Tab)-'Click Once' is checked.
And I have created a test certificate.
Still, the *add-in is not loading. The load behavior is setting to 2
after opening outlook.
I tried to change it to 3 and open outlook but i am getting the same
error.

*Thanks


  #8  
Old July 16th 09, 10:26 PM posted to microsoft.public.dotnet.framework.setup,microsoft.public.dotnet.languages.vb,microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default No setup project with Outlook 2007 Add-In project

In that case my money is on faulty trust setup.

If it runs in debug mode and not in run mode on the same dev machine it's
almost always a trust issue.

You can easily check that by manually creating a full trust for your
assemblies using the Framework Assistant and seeing if things run then.

The other thing to look at is if the assemblies are strong named. They have
to be unless you grant the installation folder full trust, and that's a bad
idea unless it's just for testing things.

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


"Lasyapriya P" wrote in message
...
Thanks for the reply Ken.

I have created an empty addin with a msgbox in ThisAddIn_StartUp
method and generated a build from the setup project.
I tried to install this build in my development system itself. It is
not working in the development system itself.
But, the addin is working fine in debug mode (when i ran it from
visual studio using F5).
My development system has VS2008 in Windows Vista, Outlook 2007 and
PIAs installed.

I will generate the fusion log and go through it now.
I think, there are no dependencies to the project that are missing, as
I am trying to install it in the development system itself.


Regards

  #9  
Old July 16th 09, 10:46 PM posted to microsoft.public.dotnet.framework.setup,microsoft.public.dotnet.languages.vb,microsoft.public.outlook.program_addins
Lasyapriya P
external usenet poster
 
Posts: 7
Default No setup project with Outlook 2007 Add-In project

I have granted Full Trust to the add-in dll using CASPOL security
policy and added CustomActions to the setup project.
I also strong named the assembly by signing it.

I have copied the setSecurity project from an Outlook 2003 project
which I have developed in VS2005.
Is there any new version of CASPOL (setSecurity) project for Outlook
2007 add-ins [ or VSTO 3.0]? If yes, where can I get that?

Regards
  #10  
Old July 16th 09, 11:51 PM posted to microsoft.public.dotnet.framework.setup,microsoft.public.dotnet.languages.vb,microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default No setup project with Outlook 2007 Add-In project

I use the caspol custom actions described in the VSTO deployment articles,
I'm not sure about new versions or whatever, but the actions work on Outlook
2003 and Outlook 2007 here on all my setups. That's from this article:
http://msdn.microsoft.com/en-us/library/bb332051.aspx.

You can also check the deployment information and such at
http://social.msdn.microsoft.com/for.../vsto/threads/, and the VSTO
team hangs out there, so they'd be the ones to ask.

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


"Lasyapriya P" wrote in message
...
I have granted Full Trust to the add-in dll using CASPOL security
policy and added CustomActions to the setup project.
I also strong named the assembly by signing it.

I have copied the setSecurity project from an Outlook 2003 project
which I have developed in VS2005.
Is there any new version of CASPOL (setSecurity) project for Outlook
2007 add-ins [ or VSTO 3.0]? If yes, where can I get that?

Regards


 




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
setup project: how to add a custom form and make the form as default Jason Add-ins for Outlook 5 March 3rd 09 06:57 AM
One Setup project for outlook 2003 AND 2007 Neetu Add-ins for Outlook 7 February 23rd 09 02:31 PM
Setup project for Office Addin Neetu Outlook - Installation 5 February 23rd 09 02:29 PM
Custom message in setup project Nita Jadhav Add-ins for Outlook 1 February 13th 09 03:07 PM
dependencies not showing up in visual studio setup project [email protected] Add-ins for Outlook 1 October 26th 07 03:08 PM


All times are GMT +1. The time now is 08:56 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.