如何使用 WIX 自动安装 VSIX 包? [英] How can I install a VSIX package automatically, with WIX?

查看:33
本文介绍了如何使用 WIX 自动安装 VSIX 包?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序有一个 WIX 安装项目.作为我的解决方案的一部分,我有一个 VSIX 扩展,我想安装在客户的 Visual Studio 上.

I've got a WIX installation project for my application. As part of my solution I have a VSIX extension, that I want to install on the customer's Visual Studio.

我不知道的是如何让 WIX 自动启动 VSIX 导入器.

What I don't know, is how to get WIX to automatically initiate the VSIX importer.

我尝试遵循 MSDN 上的建议(如何:为 Windows Installer 部署准备扩展 以及 将 VSIX 作为更大安装的一部分安装),但无济于事.均未包含 WIX 项目指南.

I tried following the advice on MSDN (How to: Prepare Extensions for Windows Installer Deployment as well as Installing a VSIX as part of a Larger installation), to no avail. Neither included guidance for WIX projects.

任何帮助将不胜感激.

推荐答案

这可以通过自定义操作来完成,该操作使用适当的命令行启动 VSIXInstaller.exe.这里有一个讨论:http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/VSIX-after-installation-td4975318.html

This can be done through a custom action which launches VSIXInstaller.exe with the appropriate command line. There is a discussion about this here: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/VSIX-after-installation-td4975318.html

也许这也有帮助:http://blogs.clariusconsulting.net/pga/deploying-a-vsix-from-a-msi/

这篇关于如何使用 WIX 自动安装 VSIX 包?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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