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