简体   繁体   中英

How can I install a VSIX package automatically, with WIX?

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.

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

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.

Any help will be appreciated.

WiX v3.6支持VsixPackage元素直接管理VSIX包。

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

Perhaps this will also help: http://blogs.clariusconsulting.net/pga/deploying-a-vsix-from-a-msi/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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