VSTA Deployment

Last post 07-14-2008, 9:55 AM by Gary. 2 replies.
Sort Posts: Previous Next
  •  07-12-2008, 6:20 AM 1195

    VSTA Deployment

    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?
    Nitin Umap
    Software Professional
    Filed under: ,
  •  07-12-2008, 11:45 AM 1197 in reply to 1195

    Re: VSTA Deployment

    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
  •  07-14-2008, 9:55 AM 1201 in reply to 1197

    Re: VSTA Deployment

    nitinumap,

    Just to clarify:

    ProjectGen is a tool used by you, the software developer to create default VSTA project templates installed and registered along with your application and VSTA msi files.  ProjectGen is *not* used by the end users of your application.

    You'll want to use projectgen to create a basic VSTA project template or set of templates for the end user of VSTA to select with File | New.. Project.   When the project templates you created are installed and registered, they will be displayed in the New Project dialog.  These project templates are installed with your application, not ProjectGen.  

    To register the default templates on the end user machine, your installer will run vsta /hostid <appname> /setup

    (this is documented in the SDK)

    Also: The VSTA end user also has the ability to create their own project templates from the VSTA IDE (File | Export Template...).  But these end-user project templates all originate from projects they created using the default project templates you have installed with the application.

     

    Hope this helps!

View as RSS news feed in XML