Projectgen - Deployment of Project templates

Latest post 07-12-2008 11:45 AM by Melody. 1 replies.
  • 07-12-2008 6:17 AM

    Projectgen - Deployment of Project templates

    Projectgen.exe - How to provide “Register template with host application” option through project template descriptor xml. My basic requirement is, I want to run projectgen.exe with template descriptor xml as input on target machine without displaying (and asking for any input) projectgen UI. If I run projectgen.exe with template descriptor xml, it does not register template with host application and our application can not launch VSTA IDE programmatically through host application.

     

    Nitin Umap Software Professional
  • 07-12-2008 11:45 AM In reply to

    • Melody
    • Top 10 Contributor
    • Joined on 04-26-2007
    • Syracuse, NY
    • Posts 219

    Re: Projectgen - Deployment of Project templates

    nitinumap,
    >How to provide "Register template with host application" option through template descriptor xml.

    This is not possible.  Selecting this option in ProjectGen registers the template with both VSTA and Visual Studio.  To register a template from the command line run setup for VSTA, then Visual Studio once the VSTA setup is done (this takes 1-2 minutes).

    >For deployment we are working with “vsta_aide.msi” without option of integrating it with VS2005. But in this process, Projectgen.exe is not getting copied to target machine. What do I need to do?

    This is not a recommended deployment scenario for 2 reasions:
    1)  ProjectGen is part of the VSTA SDK- "typical end user" target machines should not have the entire SDK installed, only the runtime and design time bits.  ProjectGen should only be installed on machines where the user will be creating project templates.  If your target users will be creating project templates then they must have both the VSTA v 1 SDK and Visual Studio 2005 (VS2005 is a prequiste for the VSTA v 1 SDK)

    2)  Robust templates require manual editing.  For example specifying the version of the proxy assembly to use or adding a post build event


    Hope this helps!
    Thanks,
    -Melody
Page 1 of 1 (2 items) | RSS
Copyright Summit Software Company, 2008. All rights reserved.