Outlook 2003加载项:如何创建安装文件 [英] Outlook 2003 Addin: How to create a setup file

查看:65
本文介绍了Outlook 2003加载项:如何创建安装文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开发了一个Outlook 2003的自定义加载项,当我尝试使用vs2008进行调试或构建时,它将随Outlook一起附加.我想创建一个安装项目,该项目将进行安装并以我的外观添加我的添加项.


我已经尝试过本教程,但不会使用完整的教程.
http://msdn.microsoft.com/en-us/library/cc136646%28v = office.12%29.aspx [ ^ ]

它会创建一个安装程序,还会安装该安装程序添加到我的PC中,但该添加程序未附带我的Outlook

I have develop one custom add in of outlook 2003, when i try it with the debug or build version using vs2008 it will attach with outlook. I want to create one setup project that will setup and add my add in with my out look.


I have tried to go through this tutorial but it will not use full.
http://msdn.microsoft.com/en-us/library/cc136646%28v=office.12%29.aspx[^]

it will create one setup and also install that add in to my PC but that add in is not attached with my outlook

推荐答案

您好

查找以下步骤:

在Outlook AddIn 2007中,您必须自行添加安装项目.
1)将安装项目添加到解决方案中.
2)将主要输出设置为加载项"项目.
3)将以下文件添加到安装项目:
[添加项目名称] .vsto,
[添加项目名称] .dll.manifest
这些文件显示在添加"项目的bin目录中.

4)将以下注册表文件夹添加到注册表"部分的安装项目中:
HKEY_CURRENT_USER->软件->微软->办公室->展望->插件-> [添加项目名称]

5)在您创建的最后一个注册表文件夹中,添加以下注册表项:
类型:原始值,名称:描述",值:任何您想要的.
类型:原始值,名称:"FriendlyName",值:[Add in Project Name].
类型:原始值,名称:清单",值:"[添加项目名称] .vsto文件的绝对路径". (取决于安装文件夹.通常为:c:\ Program Files \ My Project \ MyAddIn.vsto).

类型:dword值,名称:"LoadBehavior",值:"3".

希望对您有帮助.
Hi

Find the steps below:

In Outlook AddIn 2007 you have to add a Setup Project by your self.
1) Add a setup project to the solution.
2) Set the primary output to the Add In project.
3) Add the following files to the Setup Project:
[Add In project name].vsto,
[Add In project name].dll.manifest
these files appears in the bin directory of your Add In project.

4) Add the following registry folders to the setup project in the registry section:
HKEY_CURRENT_USER -> Software -> Microsoft -> Office -> Outlook -> AddIns -> [Add In Project Name]

5) To the last registry folder you created, add the following registry keys:
Type:strig value, Name:"Description", Value: anything you want.
Type:strig value, Name:"FriendlyName", Value: [Add In Project Name].
Type:strig value, Name:"Manifest", Value: "The absolute path to the [Add In project name].vsto file". (it depends on your installation folder. usually it will be: c:\Program Files\My Project\MyAddIn.vsto).

Type:dword value, Name:"LoadBehavior", Value: "3".

Hope it will help you.


这篇关于Outlook 2003加载项:如何创建安装文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆