Bob Eaton
2006-07-15 06:11:33 UTC
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
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