本文介绍了在Visual Studio 2017中创建安装程序/MSI安装程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在Visual Studio Pro 2017(VB.NET)中编写了一个Outlook加载项VSTO.我已经发布了它,它创建了一个setup.exe,可以,但是我想创建一个合适的安装程序来本地复制文件,并且可以静默运行等.

I have written an outlook add-in VSTO in Visual Studio Pro 2017 (VB.NET). I have published it which creates a setup.exe which is OK but I would like to create a proper installer that copies the files locally and can be run silently etc.

我该怎么做?当我创建新项目时,没有安装程序项目选项.

How do I go about doing this? When I go to create new project there is no installer project option.

谢谢

推荐答案

您需要安装此扩展到Visual Studio 2017/2019,以便访问安装程序项目.

You need to install this extension to Visual Studio 2017/2019 in order to get access to the Installer Projects.

根据页面:

完成扩展程序的安装并重新启动Visual Studio之后,您将能够打开现有的Visual Studio Installer项目或创建新项目.

Once you have finished installing the extension and restarted Visual Studio, you will be able to open existing Visual Studio Installer projects, or create new ones.

这篇关于在Visual Studio 2017中创建安装程序/MSI安装程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-21 17:36