简体   繁体   English

安装后执行vsto文件-Outlook外接程序

[英]execute vsto file after instalation - Outlook Addin

I have developing a setup project to install a addin in outlook. 我正在开发一个安装项目以在Outlook中安装插件。 What i want to do is, in the installer have a dialog with two radiobuttons, so the user can choose if wants to install the vsto file. 我想做的是,在安装程序中有一个带有两个单选按钮的对话框,因此用户可以选择是否要安装vsto文件。

I know how to add the dialog, but how can i do the rest? 我知道如何添加对话框,但是我该如何做其余的工作?

regards 问候

Luis, 路易斯

First of all I, would suggest not writing your installer in C#. 首先,我建议不要用C#编写安装程序。 All the non-free versions of Visual Studio allow for you to edit Microsoft Setup Projects and there is also WiX and the Nullsoft Scriptable Installer System . 所有非免费版本的Visual Studio都允许您编辑Microsoft安装项目,并且还提供WiXNullsoft Scriptable Installer System

However, if you insist on going down this path, the class System.IO.File has a static member called Copy . 但是,如果您坚持要走这条路,则System.IO.File类具有一个名为Copy的静态成员。

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

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