WiX Toolset

VsixPackage Element (Vs Extension)

Description
This element provides the metdata required to install/uninstall a file as a VSIX Package. The VSIX package file will be installed as part of the MSI then passed to the VSIX installer to install the VSIX package. To avoid the duplication, simply use the MSI to install the VSIX package itself.
Windows Installer references
None
Parents
Component, File
Inner Text
None
Children
None
Attributes
Name Type Description Required
File String Reference to file identifer. This attribute is required when the element is not a child of a File element and is invalid when the element is a child of the File element.  
PackageId String Identity of the VSIX package per its internal manifest. If this value is not correct the VSIX package will not correctly uninstall. Yes
Permanent YesNoType Indicates whether the VSIX package is uninstalled when the parent Component is uninstalled. The default is 'no'.  
Target String Specifies the SKU of Visual Studio in which to register the extension. If no target is specified the extension is registered with all installed SKUs. If the Target attribute is specified the TargetVersion attribute must also be specified. The following is a list of known Visual Studio targets: integratedShell, professional, premium, ultimate, vbExpress, vcExpress, vcsExpress, vwdExpress  
TargetVersion VersionType Specifies the version of Visual Studio in which to register the extension. This attribute is required if the Target attribute is specified.  
Vital YesNoType Indicates whether failure to install the VSIX package causes the installation to rollback. The default is 'yes'.  
VsixInstallerPathProperty String Optional reference to a Property element that contains the path to the VsixInstaller.exe. By default, the latest VsixInstaller.exe on the machine will be used to install the VSIX package. It is highly recommended that this attribute is *not* used.  
Any Attribute (namespace='##other' processContents='lax') Extensibility point in the WiX XML Schema. Schema extensions can register additional attributes at this point in the schema.
See Also
Vs Schema