【发布时间】:2025-12-19 04:15:18
【问题描述】:
我们用于安装 Office Word 插件的 VSTO 在迄今为止测试的所有系统上都能正常工作,包括内部系统和(几乎)所有客户系统。 但是,在一个客户系统上它失败了。 尝试手动安装 VSTO 会导致显示以下错误消息:'Store metadata "ApplicationSourceUri" is not valid'。
我们已经检查了系统上的所有已知要求(插件证书、注册表中的受信任发布者标志、Office 2010 运行时等),但我们尚未找到原因。到目前为止,在线研究还没有给出答案。
任何帮助将不胜感激!
Windows 生成的 VSTO 安装日志给出了以下错误信息:
错误摘要 以下是错误摘要,这些错误的详细信息在日志后面列出。 * 下载清单时发生异常。检测到以下故障消息: + 存储元数据“ApplicationSourceUri”无效。 错误详情 在此操作期间检测到以下错误。 * [27.04.2018 20:57:19] System.Deployment.Application.DeploymentException (SubscriptionState) - 存储元数据“ApplicationSourceUri”无效。 - 来源:System.Deployment - 堆栈跟踪: 在 System.Deployment.Application.ComponentStore.GetPropertyString(DefinitionAppId appId,字符串 propName) 在 System.Deployment.Application.ComponentStore.GetPropertyUri(DefinitionAppId appId,字符串 propName) 在 System.Deployment.Application.ComponentStore.GetSubscriptionStateInternal(DefinitionIdentity subId) 在 System.Deployment.Application.SubscriptionStore.GetSubscriptionStateInternal(SubscriptionState subState) 在 System.Deployment.Application.SubscriptionStore.CheckAndReferenceApplication(SubscriptionState subState,DefinitionAppId appId,Int64 transactionId) 在 System.Deployment.Application.DeploymentManager.BindCore(布尔阻塞,TempFile& tempDeploy,TempDirectory& tempAppDir,FileStream& refTransaction,String& productName)
【问题讨论】:
标签: vsto office-addins