Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
tools
vsnet.act
vsnet.debugging
vsnet.documentation
vsnet.enterprise.tools
vsnet.general
vsnet.ide
vsnet.jlca
vsnet.servicepacks
vsnet.setup
vsnet.vsip
vsnet.vss
vsnet.vstools.office
vstudio.development
vstudio.extensibility
vstudio.general
vstudio.helpauthoring
vstudio.setup
vstudio.sourcesafe
  
 
date: Sun, 10 Aug 2008 12:07:23 +0300,    group: microsoft.public.vsnet.vstools.office        back       


Outlook 2003 Add-In (VS 2008) Setup Problems   
Hi all,

I am building an Outlook 2003 Add-In with VS 2008.
I build and F5 and my command bar appears and my buttons fire events just 
fine.
However, when I install with the setup project, they wont fire.

Here is the detail of my sad story.

First, I used the setup project that gets created with the project template 
and the Add-In didn't load.
(The Com Add-In tab in Outlook 2003 told me there was a problem loading).

Eventually I found  this:
Deploying Visual Studio 2005 Tools for Office Solutions Using Windows 
Installer: Walkthroughs (Part 2 of 2) 
(http://msdn.microsoft.com/en-us/library/aa537179(office.11).aspx), which 
explained how I need to add a custom-action to grant trust to the assembly.
My troubles werent over because this process required that I sign my 
assembly and every assembly I reference.
I didnt have the source code for one of those - so I need to resort to this 
trick:
http://www.elucidweb.com/blog/PermaLink,guid,6cd917b9-07ac-417a-8f85-1b2252d3c2ed.aspx

Finally, my Add-In gets installed and loads.
However, the buttons are not firing my code.
I checked this out, but it wasnt the cause in my case: 
http://www.outlookcode.com/threads.aspx?forumid=5&messageid=15990

When I uninstall the Add-In from the control panel, build the project again 
from VS 2008 and run (without even invoking the setup install project), the 
Add-In loads and functions correctly.

Help ! I have wasted 2 days on this seemingly trivial issue : )

Thanks

David

P.S.
I didnt read the Part 1 of the article "Deploying Visual Studio 2005 Tools 
for Office Solutions Using Windows Installer" as it is not directly related 
to Outlook and I despaired at the length. Could it be that there is 
something in there that would help me?

does
date: Sun, 10 Aug 2008 12:07:23 +0300   author:   David Sackstein

Re: Outlook 2003 Add-In (VS 2008) Setup Problems   
Hi all,

I see noone has responded to my question : (
Is it truly a tough one - or maybe my explanation is a bit unclear?
Please let me know what you think ...
Basically, my situation is that after having added a custom-action to grant 
trust to the add-in assembly my add-in gets loaded, but the button events do 
not fire.

Thanks a lot!

David

"David Sackstein"  wrote in message 
news:%239uyDis%23IHA.4788@TK2MSFTNGP02.phx.gbl...
> Hi all,
>
> I am building an Outlook 2003 Add-In with VS 2008.
> I build and F5 and my command bar appears and my buttons fire events just 
> fine.
> However, when I install with the setup project, they wont fire.
>
> Here is the detail of my sad story.
>
> First, I used the setup project that gets created with the project 
> template and the Add-In didn't load.
> (The Com Add-In tab in Outlook 2003 told me there was a problem loading).
>
> Eventually I found  this:
> Deploying Visual Studio 2005 Tools for Office Solutions Using Windows 
> Installer: Walkthroughs (Part 2 of 2) 
> (http://msdn.microsoft.com/en-us/library/aa537179(office.11).aspx), which 
> explained how I need to add a custom-action to grant trust to the 
> assembly.
> My troubles werent over because this process required that I sign my 
> assembly and every assembly I reference.
> I didnt have the source code for one of those - so I need to resort to 
> this trick:
> http://www.elucidweb.com/blog/PermaLink,guid,6cd917b9-07ac-417a-8f85-1b2252d3c2ed.aspx
>
> Finally, my Add-In gets installed and loads.
> However, the buttons are not firing my code.
> I checked this out, but it wasnt the cause in my case: 
> http://www.outlookcode.com/threads.aspx?forumid=5&messageid=15990
>
> When I uninstall the Add-In from the control panel, build the project 
> again from VS 2008 and run (without even invoking the setup install 
> project), the Add-In loads and functions correctly.
>
> Help ! I have wasted 2 days on this seemingly trivial issue : )
>
> Thanks
>
> David
>
> P.S.
> I didnt read the Part 1 of the article "Deploying Visual Studio 2005 Tools 
> for Office Solutions Using Windows Installer" as it is not directly 
> related to Outlook and I despaired at the length. Could it be that there 
> is something in there that would help me?
>
> does
>
date: Thu, 14 Aug 2008 21:17:53 +0300   author:   David Sackstein

Re: Outlook 2003 Add-In (VS 2008) Setup Problems   
There's no way to tell from outside why your code isn't working. You really 
need to run it in debug mode and to put lots of error logging in so you can 
figure it out. If the code works on the dev machine then it's fundamentally 
OK, but that's all anyone else could tell.

As far as not reading the first part of the article, all I can say is 
there's lots of important and valuable information there, otherwise it 
wouldn't have been published. I find it useful as an Outlook developer.

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


"David Sackstein"  wrote in message 
news:%23bx2Voj$IHA.3380@TK2MSFTNGP04.phx.gbl...
> Hi all,
>
> I see noone has responded to my question : (
> Is it truly a tough one - or maybe my explanation is a bit unclear?
> Please let me know what you think ...
> Basically, my situation is that after having added a custom-action to 
> grant trust to the add-in assembly my add-in gets loaded, but the button 
> events do not fire.
>
> Thanks a lot!
>
> David
>
> "David Sackstein"  wrote in message 
> news:%239uyDis%23IHA.4788@TK2MSFTNGP02.phx.gbl...
>> Hi all,
>>
>> I am building an Outlook 2003 Add-In with VS 2008.
>> I build and F5 and my command bar appears and my buttons fire events just 
>> fine.
>> However, when I install with the setup project, they wont fire.
>>
>> Here is the detail of my sad story.
>>
>> First, I used the setup project that gets created with the project 
>> template and the Add-In didn't load.
>> (The Com Add-In tab in Outlook 2003 told me there was a problem loading).
>>
>> Eventually I found  this:
>> Deploying Visual Studio 2005 Tools for Office Solutions Using Windows 
>> Installer: Walkthroughs (Part 2 of 2) 
>> (http://msdn.microsoft.com/en-us/library/aa537179(office.11).aspx), which 
>> explained how I need to add a custom-action to grant trust to the 
>> assembly.
>> My troubles werent over because this process required that I sign my 
>> assembly and every assembly I reference.
>> I didnt have the source code for one of those - so I need to resort to 
>> this trick:
>> http://www.elucidweb.com/blog/PermaLink,guid,6cd917b9-07ac-417a-8f85-1b2252d3c2ed.aspx
>>
>> Finally, my Add-In gets installed and loads.
>> However, the buttons are not firing my code.
>> I checked this out, but it wasnt the cause in my case: 
>> http://www.outlookcode.com/threads.aspx?forumid=5&messageid=15990
>>
>> When I uninstall the Add-In from the control panel, build the project 
>> again from VS 2008 and run (without even invoking the setup install 
>> project), the Add-In loads and functions correctly.
>>
>> Help ! I have wasted 2 days on this seemingly trivial issue : )
>>
>> Thanks
>>
>> David
>>
>> P.S.
>> I didnt read the Part 1 of the article "Deploying Visual Studio 2005 
>> Tools for Office Solutions Using Windows Installer" as it is not directly 
>> related to Outlook and I despaired at the length. Could it be that there 
>> is something in there that would help me?
>>
>> does
>>
>
>
date: Thu, 14 Aug 2008 16:12:51 -0400   author:   Ken Slovak - [MVP - Outlook]

Re: Outlook 2003 Add-In (VS 2008) Setup Problems   
I am not sure if this will help but you are not using the latest versions of 
the Deployment articles.

The latest versions, dated December 2007, are at:

http://msdn.microsoft.com/en-us/library/bb332051.aspx and

http://msdn.microsoft.com/en-us/library/bb332052.aspx

These additionally refer to the use of VS2008 for Office 2003 projects. They 
also refer to the use of VSTO Second Edition as used by VS2008.

Having used these articles to produce an Outlook add-in for Office 2003 with 
VS2008, I recommend reading and following both articles from start to 
finish.

Mike Bernstein

"David Sackstein"  wrote in message 
news:%239uyDis%23IHA.4788@TK2MSFTNGP02.phx.gbl...
> Hi all,
>
> I am building an Outlook 2003 Add-In with VS 2008.
> I build and F5 and my command bar appears and my buttons fire events just 
> fine.
> However, when I install with the setup project, they wont fire.
>
> Here is the detail of my sad story.
>
> First, I used the setup project that gets created with the project 
> template and the Add-In didn't load.
> (The Com Add-In tab in Outlook 2003 told me there was a problem loading).
>
> Eventually I found  this:
> Deploying Visual Studio 2005 Tools for Office Solutions Using Windows 
> Installer: Walkthroughs (Part 2 of 2) 
> (http://msdn.microsoft.com/en-us/library/aa537179(office.11).aspx), which 
> explained how I need to add a custom-action to grant trust to the 
> assembly.
> My troubles werent over because this process required that I sign my 
> assembly and every assembly I reference.
> I didnt have the source code for one of those - so I need to resort to 
> this trick:
> http://www.elucidweb.com/blog/PermaLink,guid,6cd917b9-07ac-417a-8f85-1b2252d3c2ed.aspx
>
> Finally, my Add-In gets installed and loads.
> However, the buttons are not firing my code.
> I checked this out, but it wasnt the cause in my case: 
> http://www.outlookcode.com/threads.aspx?forumid=5&messageid=15990
>
> When I uninstall the Add-In from the control panel, build the project 
> again from VS 2008 and run (without even invoking the setup install 
> project), the Add-In loads and functions correctly.
>
> Help ! I have wasted 2 days on this seemingly trivial issue : )
>
> Thanks
>
> David
>
> P.S.
> I didnt read the Part 1 of the article "Deploying Visual Studio 2005 Tools 
> for Office Solutions Using Windows Installer" as it is not directly 
> related to Outlook and I despaired at the length. Could it be that there 
> is something in there that would help me?
>
> does
>
date: Tue, 19 Aug 2008 09:42:00 +0100   author:   Michael Bernstein am

Re: Outlook 2003 Add-In (VS 2008) Setup Problems   
I used the part 1 article for a word 2007 install.   I can install the addin 
but it does not call a web service that is called by thru a dll.  This 
doesn't seem to be a well documented subject. 

 Any ideas on my problem or where to look.


"Michael Bernstein" wrote:

> I am not sure if this will help but you are not using the latest versions of 
> the Deployment articles.
> 
> The latest versions, dated December 2007, are at:
> 
> http://msdn.microsoft.com/en-us/library/bb332051.aspx and
> 
> http://msdn.microsoft.com/en-us/library/bb332052.aspx
> 
> These additionally refer to the use of VS2008 for Office 2003 projects. They 
> also refer to the use of VSTO Second Edition as used by VS2008.
> 
> Having used these articles to produce an Outlook add-in for Office 2003 with 
> VS2008, I recommend reading and following both articles from start to 
> finish.
> 
> Mike Bernstein
> 
> "David Sackstein"  wrote in message 
> news:%239uyDis%23IHA.4788@TK2MSFTNGP02.phx.gbl...
> > Hi all,
> >
> > I am building an Outlook 2003 Add-In with VS 2008.
> > I build and F5 and my command bar appears and my buttons fire events just 
> > fine.
> > However, when I install with the setup project, they wont fire.
> >
> > Here is the detail of my sad story.
> >
> > First, I used the setup project that gets created with the project 
> > template and the Add-In didn't load.
> > (The Com Add-In tab in Outlook 2003 told me there was a problem loading).
> >
> > Eventually I found  this:
> > Deploying Visual Studio 2005 Tools for Office Solutions Using Windows 
> > Installer: Walkthroughs (Part 2 of 2) 
> > (http://msdn.microsoft.com/en-us/library/aa537179(office.11).aspx), which 
> > explained how I need to add a custom-action to grant trust to the 
> > assembly.
> > My troubles werent over because this process required that I sign my 
> > assembly and every assembly I reference.
> > I didnt have the source code for one of those - so I need to resort to 
> > this trick:
> > http://www.elucidweb.com/blog/PermaLink,guid,6cd917b9-07ac-417a-8f85-1b2252d3c2ed.aspx
> >
> > Finally, my Add-In gets installed and loads.
> > However, the buttons are not firing my code.
> > I checked this out, but it wasnt the cause in my case: 
> > http://www.outlookcode.com/threads.aspx?forumid=5&messageid=15990
> >
> > When I uninstall the Add-In from the control panel, build the project 
> > again from VS 2008 and run (without even invoking the setup install 
> > project), the Add-In loads and functions correctly.
> >
> > Help ! I have wasted 2 days on this seemingly trivial issue : )
> >
> > Thanks
> >
> > David
> >
> > P.S.
> > I didnt read the Part 1 of the article "Deploying Visual Studio 2005 Tools 
> > for Office Solutions Using Windows Installer" as it is not directly 
> > related to Outlook and I despaired at the length. Could it be that there 
> > is something in there that would help me?
> >
> > does
> > 
>
date: Tue, 2 Sep 2008 12:41:00 -0700   author:   seth

Re: Outlook 2003 Add-In (VS 2008) Setup Problems   
Sorry I have no experience in that area. You might do better to start this 
as a new thread, this is a bit lost here.

Mike Bernstein

"seth"  wrote in message 
news:9B61E5E6-CA6C-49A2-9439-4375D6D90AA0@microsoft.com...
>
> I used the part 1 article for a word 2007 install.   I can install the 
> addin
> but it does not call a web service that is called by thru a dll.  This
> doesn't seem to be a well documented subject.
>
> Any ideas on my problem or where to look.
>
>
> "Michael Bernstein" wrote:
>
>> I am not sure if this will help but you are not using the latest versions 
>> of
>> the Deployment articles.
>>
>> The latest versions, dated December 2007, are at:
>>
>> http://msdn.microsoft.com/en-us/library/bb332051.aspx and
>>
>> http://msdn.microsoft.com/en-us/library/bb332052.aspx
>>
>> These additionally refer to the use of VS2008 for Office 2003 projects. 
>> They
>> also refer to the use of VSTO Second Edition as used by VS2008.
>>
>> Having used these articles to produce an Outlook add-in for Office 2003 
>> with
>> VS2008, I recommend reading and following both articles from start to
>> finish.
>>
>> Mike Bernstein
>>
>> "David Sackstein"  wrote in message
>> news:%239uyDis%23IHA.4788@TK2MSFTNGP02.phx.gbl...
>> > Hi all,
>> >
>> > I am building an Outlook 2003 Add-In with VS 2008.
>> > I build and F5 and my command bar appears and my buttons fire events 
>> > just
>> > fine.
>> > However, when I install with the setup project, they wont fire.
>> >
>> > Here is the detail of my sad story.
>> >
>> > First, I used the setup project that gets created with the project
>> > template and the Add-In didn't load.
>> > (The Com Add-In tab in Outlook 2003 told me there was a problem 
>> > loading).
>> >
>> > Eventually I found  this:
>> > Deploying Visual Studio 2005 Tools for Office Solutions Using Windows
>> > Installer: Walkthroughs (Part 2 of 2)
>> > (http://msdn.microsoft.com/en-us/library/aa537179(office.11).aspx), 
>> > which
>> > explained how I need to add a custom-action to grant trust to the
>> > assembly.
>> > My troubles werent over because this process required that I sign my
>> > assembly and every assembly I reference.
>> > I didnt have the source code for one of those - so I need to resort to
>> > this trick:
>> > http://www.elucidweb.com/blog/PermaLink,guid,6cd917b9-07ac-417a-8f85-1b2252d3c2ed.aspx
>> >
>> > Finally, my Add-In gets installed and loads.
>> > However, the buttons are not firing my code.
>> > I checked this out, but it wasnt the cause in my case:
>> > http://www.outlookcode.com/threads.aspx?forumid=5&messageid=15990
>> >
>> > When I uninstall the Add-In from the control panel, build the project
>> > again from VS 2008 and run (without even invoking the setup install
>> > project), the Add-In loads and functions correctly.
>> >
>> > Help ! I have wasted 2 days on this seemingly trivial issue : )
>> >
>> > Thanks
>> >
>> > David
>> >
>> > P.S.
>> > I didnt read the Part 1 of the article "Deploying Visual Studio 2005 
>> > Tools
>> > for Office Solutions Using Windows Installer" as it is not directly
>> > related to Outlook and I despaired at the length. Could it be that 
>> > there
>> > is something in there that would help me?
>> >
>> > does
>> >
>>
date: Wed, 3 Sep 2008 15:46:46 +0100   author:   Michael Bernstein am

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us