Deploying IWizard templates

I'm writing a deployment project to create an MSI to deploy an IWizard template.

Currently it is installing the zip file containing the template to %program files%\common7\ide\projecttemplates\web\csharp\1033 and then runs a script that calls devenv.exe /setup in order to get Visual Studio to unzip the template into the projecttemplatescache folder. Is there any neater way of doing this because calling devenv /setup is quite a timely process during the install

Note that the template must be installed for all users of the target machine and it must appear with the rest of the standard templates rather than under the "my templates" section. This (along with the difficulty in setup & deployment projects) has prevented me from installing it under documents and settings.



Answer this question

Deploying IWizard templates

  • X5-Eric

    You can use the alternate devenv /installvstemplates switch which only refreshes the templates.

  • patria

    You can execute the command line

        devenv /installvstemplates

    and it should go a little bit faster.

    Craig



  • Deploying IWizard templates