Group:  Microsoft Word ยป microsoft.public.word.vba.addins
Thread: deploying an Office Add-in using VS.Net 2005

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

deploying an Office Add-in using VS.Net 2005
"Bob Eaton" <pete_dembrowski[ at ]hotmail.com> 15.07.2006 06:11:33
I have a comment and a question. First the question:

According to the very helpful article (that is required reading for
deploying an Office Add-in as well as a VSTO project) at:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_vsto2005_ta/html/OfficeVSTOWindowsInstallerOverview.asp

I can create Launch conditions searches for the component IDs of the office
primary interop assemblies to make sure they are installed before my
installer works. Here's an excerpt:
To add a search condition for the Excel 2003 primary interop assembly
1.. In the Launch Conditions editor, right-click Search Target Machine,
and then select Add Windows Installer Search.
2.. Select the newly added search condition, Search for Component1.
3.. Rename the search condition to Search for Excel 2003 PIA.
4.. In the Properties window, type {A1FE0698-609D-400F-BF10-F52238DD6475}
into the ComponentId property.
5.. In the Properties window, change the value of Property to
COMPONENTEXISTS_EXCEL_PIA.
The question is: does anyone know what the Component ID of both Access and
Publisher PIAs are? That article tells what they are for Excel and Word
(among others), but I'd also like to check for Access and Publisher also for
my add-in. I haven't been able to reverse engineer what the value is or find
that information anywhere on the net...

The comment is: in case anyone else is trying to deploy a Shared Add-in
built with VS.Net 2005, note the following link: it is crucial and may help
you avoid pulling your hair out (I've only got a little bit left, myself :-)

http://support.microsoft.com/kb/908002 (Add-ins, smart documents, or smart
tags that you create by using Microsoft Visual Studio 2005 do not run in
Office)

Bob


Re: deploying an Office Add-in using VS.Net 2005
Cindy M -WordMVP- <C.Meister-C[ at ]hispeed.ch> 15.07.2006 16:29:27
Hi Bob,

[Quoted Text]
> I have a comment and a question.
>
Take a really close look at the forum name :-)
WORD.VBA.Addins. Wrong place to hope for any support on
managed code COM-Addins, especially for Access. That would
be

Office.developer.addins

Or very possibly an Access (and Publisher) forum. Although
I'm not sure how much anyone in those places deals with
managed code or even COM Addins.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update
Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any
follow question or reply in the newsgroup and not by e-mail
:-)

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