简体   繁体   English

如何为 MS Office 2007 加载项创建清单?

[英]How to create manifest for MS office 2007 add-in?

Hello I have the Addin for Word 2007 that is creted using VSTO.您好,我有使用 VSTO 创建的 Word 2007 插件。 I would like create installer for add in and found short manual for registry entries ( http://msdn.microsoft.com/en-us/library/cc442767.aspx ).我想为插件创建安装程序并找到注册表项的简短手册( http://msdn.microsoft.com/en-us/library/cc442767.aspx )。 According to manual we should create Manifest node in the registry and specify path to manifest file:根据手册,我们应该在注册表中创建 Manifest 节点并指定清单文件的路径:

Required.必需的。 The full path of the deployment manifest for the add-in.加载项的部署清单的完整路径。 The path can be a location on the local computer, a network share (UNC), or a Web server (HTTP).该路径可以是本地计算机上的位置、网络共享 (UNC) 或 Web 服务器 (HTTP)。

What is manifest file?什么是清单文件? Could you please describe me how to create manifest file mo ms office addin?您能否描述一下如何创建清单文件 mo ms office addin? Thank you谢谢

The manifest files should be generated automatically by Visual Studio in the output folder:清单文件应由 Visual Studio 在 output 文件夹中自动生成:

  • the file with .vsto extension is the deployment manifest扩展名为.vsto的文件是部署清单
  • the file with .dll.manifest extension is the application manifest扩展名为.dll.manifest的文件是应用程序清单

Edit: I found a tutorial which may help you with the deployment: http://blogs.msdn.com/b/cristib/archive/2010/11/01/deploying-a-vsto-word-2007-add-in-to-all-users-visual-studio-2008-sp1.aspx编辑:我找到了一个可以帮助您进行部署的教程: http://blogs.msdn.com/b/cristib/archive/2010/11/01/deploying-a-vsto-word-2007-add-in-致所有用户-visual-studio-2008-sp1.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM