yo man,
>we release ver1.0 VSTA application.
>we want to release next version of VSTA application
You are updating the host (or just adding more templates) but staying with VSTA v 1 right?
>I can refresh VSTA project template information like this :
>1) delete VSTA/appid in registry hive
>2) run vsta.exe /hoide appid /setup
If you are changing the ProjectTemplatesLocation, you need to delete the host context hive (...\VSTA\HostID) and run setup with the updated ProjectTemplatesLocation in the config hive (...\VSTAConfig\HostID). If you are not making changing to the config hive then there is no need to delete the context hive.
>I want to just add newer project template ( not want to deletie old things and re register )
If you are only adding new templates (VSTA v 1), no need to delete the context hive. Just put the new templates in the ProjectTemplatesLocation and run setup.
If you are adding new templates for VSTA v 2, be sure to use a different ProjectTemplatesLocation so that only the v1 templates show in the v1 DTE and only the v2 templates show in the v2 DTE. Also, if you are adding new templates for v2 but not making any changes to v1 there is no need to delete the context hive.
Hope this helps, please let me know if you have any questions.
Thanks!
-Melody