在Visual Studio 2017中创建安装程序/MSI安装程序

在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 Installer项目提供了与Visual Studio 2015中当前相同的功能.要使用此扩展名,可以打开扩展名和更新"对话框,选择在线节点,然后搜索"Visual Studio Installer项目扩展名".或者您可以直接从此页面下载.

This extension provides the same functionality that currently exists in Visual Studio 2015 for Visual Studio Installer projects. To use this extension, you can either open the Extensions and Updates dialog, select the online node, and search for "Visual Studio Installer Projects Extension," or you can download directly from this page.

完成扩展程序的安装并重新启动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.