我应搜索哪些组件ID以检测是否已安装Office 2010 PIA [英] What Component IDs should I search for to detect whether the Office 2010 PIA's are Installed
问题描述
我正在为Office 2010创建一个插件,需要在安装时检测是否已安装Office 2010 PIA.
I'm creating a plug-in for Office 2010 and need to detect on install whether the Office 2010 PIA's are installed.
我已经在2003年和2007年这样做过,但是找不到任何人知道它们是什么的2010年组件ID吗?
I have done this for 2003 and 2007 but cannot find the Component ID's for 2010 does anyone know what they are?
谢谢, 埃德
推荐答案
从下面的列表中搜索适用于您需要的办公室组件的PIA(主要互操作程序集)的组件ID:
Do a search for the component ID for the PIA (primary interop assembly) applicable to the component of office you need from the list below:
{EA7564AC-C67D-4868-BE5C-26E4FC2223FF} Excel
{4153F732-D670-4E44-8AB7-500F2B576BDA} InfoPath
{1D844339-3DAE-413E-BC13-62D6A52816B2} Outlook
{EECBA6B8-3A62-44AD-99EB-8666265466F9} PowerPoint
{3EA123B5-6316-452E-9D51-A489E06E2347} Visio
{8B74A499-37F8-4DEA-B5A0-D72FC501CEFA} Word
{957A4EC0-E67B-4E86-A383-6AF7270B216A} Project
{B2279272-3FD2-434D-B94E-E4E0F8561AC4} Forms 2.0
{011B9112-EBB1-4A6C-86CB-C2FDC9EA7B0E} Graph
{7102C98C-EF47-4F04-A227-FE33650BF954} Smart Tag
{64E2917E-AA13-4CA4-BFFE-EA6EDA3AFCB4} Office Shared
例如如果您正在编写Word加载项,则只需要使用GUID {8B74A499-37F8-4DEA-B5A0-D72FC501CEFA}检查PIA,
E.g. if you are writing a Word add-in, then you only really need to check for the PIA with the GUID {8B74A499-37F8-4DEA-B5A0-D72FC501CEFA}
从此处
Microsoft最近分别发布了2010年的PIA.在此处
Microsoft have recently released the PIAs for 2010 seperately. Available here
如果您需要支持Office 2013,请在此处记录组件ID: Office 2013 PIA组件ID
If you need to support Office 2013, the component Ids are documented here: Office 2013 PIA component Ids
这篇关于我应搜索哪些组件ID以检测是否已安装Office 2010 PIA的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!