VSTA host setup issue.

Latest post 08-27-2008 9:50 AM by Gary. 3 replies.
  • 08-12-2008 4:38 AM

    • hyun
    • Top 10 Contributor
    • Joined on 01-17-2007
    • Posts 31

    VSTA host setup issue.

    after executing vsta.exe /hostid xxxx /setup,

    the VSTA project template of xxxx is registered in system. and

    I can see those files at "C:\Documents and Settings\zzzzz\Application Data\Microsoft\VSTAHost\xxxxx"

    zzzzz is account name.

    it means only zzzzz can use this project template.

    to enable all users use it, all users should execute vsta.exe /hostid xxxx /setup. right?

    I want just one setup process...

    any solution to this?

     

    yo man
  • 08-12-2008 9:48 AM In reply to

    • jimg
    • Top 10 Contributor
    • Joined on 04-05-2006
    • Posts 39

    Re: VSTA host setup issue.

    VSTA 1.0 setup installs project templates into a user account specific directory:
    C:\Documents and Settings\<username>\Application Data\Microsoft\VSTAHost

    VSTA 2.0 installs project templates into All Users directory:
    C:\Documents and Settings\All Users\Application Data\Microsoft\VSTAHost

    1. First, if the administrator account runs the VSTAHost installer which runs vsta /setup /hostid xxx, the registry keys should be written successfully.  There are no user-specific registry entries for VSTA setup.
    2. Next, if each end user runs  vsta /setup /hostid xxx the project templates will be installed into a user account specific directory:
    C:\Documents and Settings\<username>\Application Data\Microsoft\VSTAHost

    This second, user-specific step may be accomplished during startup of the VSTAHost application, or by loading an add-in that does this, or at user login,... or some other way that will not leave the end user responsible.

    It is sufficient to check the registry key HKCU-Software-Microsoft-VSTAHost-Hostname to determine whether current user has ran the vsta host  /setup command.

    Best Regards,
    Jim G

  • 08-26-2008 10:44 PM In reply to

    • hyun
    • Top 10 Contributor
    • Joined on 01-17-2007
    • Posts 31

    Re: VSTA host setup issue.

    Thanks jim,

    it really helps me.

    one more question about this.

    I executed initial VSTA host setup by powe users account. but it does not works.

    can only administrator run initial VSTA host setup , right?

    yo man
  • 08-27-2008 9:50 AM In reply to

    • Gary
    • Top 10 Contributor
    • Joined on 07-13-2006
    • Posts 318

    Re: VSTA host setup issue.

    Right
Page 1 of 1 (4 items) | RSS
Copyright Summit Software Company, 2008. All rights reserved.