1

I've created a custom project template, and now I need to deploy it together with my product (i.e., it should be installed by the same msi I use for the main installation). I'm using a Visual Studio Installer project. One option is to use a custom action and manually copy a template file included in the installation. Another is to create a vsi file and use a custom action to install it after the main installation (how do I have it installed silently?) . Which one is better?

Thanks a lot

ulu

ulu
  • 5,872
  • 4
  • 42
  • 51

2 Answers2

2

You can get the complete example developing VSIX implemented here: Multi-Project Templates with Wizard: Visual Studio 2010 Sample

Ashraf Alam
  • 3,500
  • 32
  • 31
1

In case you are using VS 2005 or 2008 Just unfold the template files in the proper location for example: [VSInstallDir]\Common7\IDE\ProjectTemplatesz

In case you are using VS 2010 use .vsix The vsix file is the unit of deployment for a Visual Studio 2010 Extension. Visual Studio will recognize the VSIX extension and install the contents of the file to the right location.

Let me know if you have any questions

s

BALKANGraph
  • 2,031
  • 1
  • 15
  • 16
  • Thanks, I actually ended checking for VS versions and copying the files. I target for both 2008 and 2010. – ulu May 06 '10 at 07:41