A couple of weeks ago, I posted an article describing how to create MSI-based setup packages for Visual Studio project templates, item templates and starter kits using WiX. Since then, I found out from Bob Arnson (who works on the Visual Studio team and is one of the WiX contributors here at Microsoft) that the custom action used to register new project templates with Visual Studio (devenv.exe /setup) does not display any console UI when it is running. Because of that, I was able to simplify the example that I previously posted - there is no need to use the QtExec WiX custom action when the action does not display any UI.
I have updated the example at this location to reflect this change. Specifically, I made the following changes:
- Remove the CA_Devenv_Setup*_Cmd custom actions from the InstallExecuteSequence and the CustomAction definition sections
- Update the Visual Studio IDE properties to also append the name of the EXEs and not just locate the directory that they are installed to
- Update the CA_Devenv_Setup* custom actions to use the properties that were changed in step 2
- Remove the extra reference to wixca.dll that was previously needed to allow us to use the QtExec custom action
These changes make the example even easier to understand, and hopefully this helps you quickly get started if you are working on a setup package to install Visual Studio project templates.