The WixVSExtension includes a set of custom actions to manage help collections. Detailed schema reference for the help collection custom actions can be found in the VS Schema documentation.
The WixVSExtension also includes a set of properties and custom actions that can be used to detect the presence of various versions of Visual Studio and register add-ins, project templates and item templates for use in Visual Studio.
Here is a complete list of properties:
Property name |
Meaning |
VS2003DEVENV |
Full path to devenv.exe for Visual Studio .NET 2003 if it is installed on the system. |
JSHARP_REDIST_11_INSTALLED |
Indicates whether or not the J# redistributable package 1.1 is installed on the system. |
VS2005DEVENV |
Full path to devenv.exe for Visual Studio 2005 if it is installed on the system. |
VS2005_ITEMTEMPLATES_DIR |
Full path to the Visual Studio 2005 item templates directory. |
VS2005_PROJECTTEMPLATES_DIR |
Full path to the Visual Studio 2005 project templates directory. |
VS2005_SCHEMAS_DIR |
Full path to the Visual Studio 2005 XML schemas directory. |
VS2005PROJECTAGGREGATOR2 |
Indicates whether or not the Visual Studio 2005 project aggregator for managed code add-ins is installed on the system. |
VS2005_ROOT_FOLDER |
Full path to the Visual Studio 2005 root installation directory. |
VB2005EXPRESS_IDE |
Full path to vbexpress.exe if Visual Basic 2005 Express Edition is installed on the system. |
VS2005_IDE_VB_PROJECTSYSTEM_INSTALLED |
Indicates whether Visual Studio 2005 Standard Edition or higher is installed and the Visual Basic project system is installed for it. |
VC2005EXPRESS_IDE |
Full path to vcexpress.exe if Visual C++ 2005 Express Edition is installed on the system. |
VS2005_IDE_VC_PROJECTSYSTEM_INSTALLED |
Indicates whether Visual Studio 2005 Standard Edition or higher is installed and the Visual C++ project system is installed for it. |
VCSHARP2005EXPRESS_IDE |
Full path to vcsexpress.exe if Visual C# 2005 Express Edition is installed on the system. |
VS2005_IDE_VCSHARP_PROJECTSYSTEM_INSTALLED |
Indicates whether Visual Studio 2005 Standard Edition or higher is installed and the Visual C# project system is installed for it. |
VJSHARP2005EXPRESS_IDE |
Full path to vjsexpress.exe if Visual J# 2005 Express Edition is installed on the system. |
VS2005_IDE_VJSHARP_PROJECTSYSTEM_INSTALLED |
Indicates whether Visual Studio 2005 Standard Edition or higher is installed and the Visual J# project system is installed for it. |
VWD2005EXPRESS_IDE |
Full path to vwdexpress.exe if Visual Web Developer 2005 Express Edition is installed on the system. |
VS2005_IDE_VWD_PROJECTSYSTEM_INSTALLED |
Indicates whether Visual Studio 2005 Standard Edition or higher is installed and the Visual Web Developer project system is installed for it. |
VS2005_IDE_VSTS_TESTSYSTEM_INSTALLED |
Indicates whether or not the Visual Studio Team Test project system is installed on the system. |
VSEXTENSIONS_FOR_NETFX30_INSTALLED |
Indicates whether or not the Visual Studio 2008 Development Tools for the .NET Framework 3.0 add-in for Visual Studio 2005 is installed on the system. |
VS2005_WAP_PROJECT_INSTALLED |
Indicates whether or not the Web Application Project template for Visual Studio 2005 is installed on the system. This project template is available as a standalone add-in and as a part of visual Studio 2005 SP1. |
VS2005_SP_LEVEL |
Indicates the service pack level for Visual Studio 2005 Standard Edition and higher. |
VSTF2005_SP_LEVEL |
Indicates the service pack level for Visual Studio 2005 Team Foundation. |
VB2005EXPRESS_SP_LEVEL |
Indicates the service pack level for Visual Basic 2005 Express Edition. |
VC2005EXPRESS_SP_LEVEL |
Indicates the service pack level for Visual C++ 2005 Express Edition. |
VCSHARP2005EXPRESS_SP_LEVEL |
Indicates the service pack level for Visual C# 2005 Express Edition. |
VJSHARP2005EXPRESS_SP_LEVEL |
Indicates the service pack level for Visual J# 2005 Express Edition. |
VWD2005EXPRESS_SP_LEVEL |
Indicates the service pack level for Visual Web Developer 2005 Express Edition. |
DEXPLORE_2005_INSTALLED |
Indicates whether or not the Document Explorer 2005 runtime components package is installed on the system. |
JSHARP_REDIST_20_INSTALLED |
Indicates whether or not the J# redistributable package 2.0 is installed on the system. |
JSHARP_REDIST_20SE_INSTALLED |
Indicates whether or not the J# redistributable package 2.0 second edition is installed on the system. |
VS90DEVENV |
Full path to devenv.exe for Visual Studio 2008 if it is installed on the system. |
VS90_ITEMTEMPLATES_DIR |
Full path to the Visual Studio 2008 item templates directory. |
VS90_PROJECTTEMPLATES_DIR |
Full path to the Visual Studio 2008 project templates directory. |
VS90_SCHEMAS_DIR |
Full path to the Visual Studio 2008 XML schemas directory. |
VS90_ROOT_FOLDER |
Full path to the Visual Studio 2008 root installation directory. |
VB90EXPRESS_IDE |
Full path to vbexpress.exe if Visual Basic 2008 Express Edition is installed on the system. |
VS90_IDE_VB_PROJECTSYSTEM_INSTALLED |
Indicates whether Visual Studio 2008 Standard Edition or higher is installed and the Visual Basic project system is installed for it. |
VC90EXPRESS_IDE |
Full path to vcexpress.exe if Visual C++ 2008 Express Edition is installed on the system. |
VS90_IDE_VC_PROJECTSYSTEM_INSTALLED |
Indicates whether Visual Studio 2008 Standard Edition or higher is installed and the Visual C++ project system is installed for it. |
VCSHARP90EXPRESS_IDE |
Full path to vcsexpress.exe if Visual C# 2008 Express Edition is installed on the system. |
VS90_IDE_VCSHARP_PROJECTSYSTEM_INSTALLED |
Indicates whether Visual Studio 2008 Standard Edition or higher is installed and the Visual C# project system is installed for it. |
VWD90EXPRESS_IDE |
Full path to vwdexpress.exe if Visual Web Developer 2008 Express Edition is installed on the system. |
VS90_IDE_VWD_PROJECTSYSTEM_INSTALLED |
Indicates whether Visual Studio 2008 Standard Edition or higher is installed and the Visual Web Developer project system is installed for it. |
VS90_IDE_VSTS_TESTSYSTEM_INSTALLED |
Indicates whether or not the Visual Studio Team Test project system is installed on the system. |
VS90_BOOTSTRAPPER_PACKAGE_FOLDER |
The location of the Visual Studio 2008 bootstrapper package folder. |
Here is a complete list of custom actions:
Custom action name |
Meaning |
VS2003Setup |
Runs devenv.exe /setup if a Visual Studio .NET 2003 edition is found on the system. |
VS2005Setup |
Runs devenv.exe /setup if Visual Studio 2005 Standard Edition or higher is found on the system. Including this custom action automatically adds the VS2005DEVENV property. |
VS2005InstallVSTemplates |
Runs devenv.exe /InstallVSTemplates if Visual Studio 2005 Standard Edition or higher is found on the system. Including this custom action automatically adds the VS2005DEVENV property. |
VB2005Setup |
Runs vbexpress.exe /setup if Visual Basic 2005 Express Edition is found on the system. Including this custom action automatically adds the VB2005EXPRESS_IDE property. |
VB2005InstallVSTemplates |
Runs vbexpress.exe /InstallVSTemplates if Visual Basic 2005 Express Edition is found on the system. Including this custom action automatically adds the VB2005EXPRESS_IDE property. |
VC2005Setup |
Runs vcexpress.exe /setup if Visual C++ 2005 Express Edition is found on the system. Including this custom action automatically adds the VC2005EXPRESS_IDE property. |
VC2005InstallVSTemplates |
Runs vcexpress.exe /InstallVSTemplates if Visual C++ 2005 Express Edition is found on the system. Including this custom action automatically adds the VC2005EXPRESS_IDE property. |
VCSHARP2005Setup |
Runs vcsexpress.exe /setup if Visual C# 2005 Express Edition is found on the system. Including this custom action automatically adds the VCSHARP2005EXPRESS_IDE property. |
VCSHARP2005InstallVSTemplates |
Runs vcsexpress.exe /InstallVSTemplates if Visual C# 2005 Express Edition is found on the system. Including this custom action automatically adds the VCSHARP2005EXPRESS_IDE property. |
VJSHARP2005Setup |
Runs vjsexpress.exe /setup if Visual J# 2005 Express Edition is found on the system. Including this custom action automatically adds the VJSHARP2005EXPRESS_IDE property. |
VJSHARP2005InstallVSTemplates |
Runs vjsexpress.exe /InstallVSTemplates if Visual J# 2005 Express Edition is found on the system. Including this custom action automatically adds the VJSHARP2005EXPRESS_IDE property. |
VWD2005Setup |
Runs vwdexpress.exe /setup if Visual Web Developer 2005 Express Edition is found on the system. Including this custom action automatically adds the VWD2005EXPRESS_IDE property. |
VWD2005InstallVSTemplates |
Runs vwdexpress.exe /InstallVSTemplates if Visual Web Developer 2005 Express Edition is found on the system. Including this custom action automatically adds the VWD2005EXPRESS_IDE property. |
VS90Setup |
Runs devenv.exe /setup if Visual Studio 2008 Standard Edition or higher is found on the system. Including this custom action automatically adds the VS90DEVENV property. |
VS90InstallVSTemplates |
Runs devenv.exe /InstallVSTemplates if Visual Studio 2008 Standard Edition or higher is found on the system. Including this custom action automatically adds the VS90DEVENV property. |
VB90Setup |
Runs vbexpress.exe /setup if Visual Basic 2008 Express Edition is found on the system. Including this custom action automatically adds the VB90EXPRESS_IDE property. |
VB90InstallVSTemplates |
Runs vbexpress.exe /InstallVSTemplates if Visual Basic 2008 Express Edition is found on the system. Including this custom action automatically adds the VB90EXPRESS_IDE property. |
VC90Setup |
Runs vcexpress.exe /setup if Visual C++ 2008 Express Edition is found on the system. Including this custom action automatically adds the VC90EXPRESS_IDE property. |
VC90InstallVSTemplates |
Runs vcexpress.exe /InstallVSTemplates if Visual C++ 2008 Express Edition is found on the system. Including this custom action automatically adds the VC90EXPRESS_IDE property. |
VCSHARP90Setup |
Runs vcsexpress.exe /setup if Visual C# 2008 Express Edition is found on the system. Including this custom action automatically adds the VCSHARP90EXPRESS_IDE property. |
VCSHARP90InstallVSTemplates |
Runs vcsexpress.exe /InstallVSTemplates if Visual C# 2008 Express Edition is found on the system. Including this custom action automatically adds the VCSHARP90EXPRESS_IDE property. |
VWD90Setup |
Runs vwdexpress.exe /setup if Visual Web Developer 2008 Express Edition is found on the system. Including this custom action automatically adds the VWD90EXPRESS_IDE property. |
VWD90InstallVSTemplates |
Runs vwdexpress.exe /InstallVSTemplates if Visual Web Developer 2008 Express Edition is found on the system. Including this custom action automatically adds the VWD90EXPRESS_IDE property. |
To use the WixVSExtension properties or custom actions in an MSI, use the following steps:
<PropertyRef Id="VS2005_ROOT_FOLDER" /> <CustomActionRef Id="VS2005Setup" />
When you reference any of the above properties or custom actions, the WixVSExtension automatically schedules the custom actions and pulls in properties used in the custom action conditions and execution logic.