问题描述
我在 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 2015 中的相同功能.要使用此扩展,您可以打开扩展和更新"对话框,选择在线节点,然后搜索Visual Studio Installer Projects Extension".或者您可以直接从此页面下载.
完成扩展安装并重新启动 Visual Studio 后,您将能够打开现有的 Visual Studio 安装程序项目,或创建新项目.
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 安装程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!