Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Extensibility / November 2008

Tip: Looking for answers? Try searching our database.

Trouble Planning Where to Install Add-ins in Visual Studio 2008

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Stewart Berman - 08 Nov 2008 20:31 GMT
The documentation says to put the DLL and XML file in a directory listed in:
    Tools\Options\Environment\Add-in/Macros Security

The only &...% item that appears to be standard in a user's environment when Visual Studio 2008 is
install on Vista is:
    %ALLUSERSPROFILE%
That resolves to C:\ProgramData\

The full path that is shown is:
    %ALLUSERSPROFILE%\Application Data\Microsoft\MSEnvShared\Addins

Unfortunately, C:\ProgramData\Application Data is a Junction Point that is totally locked down -- it
is not even readable for an administrator (unless upgraded via UAC) much less a normal user.  It is
also empty.  

So, assuming one wants to create a installation package that will work on a clean Visual Studio 2008
installed on a clean Vista installation where do you put the two files associated with the add-in?

Is the only way to install them under C:\Program Files\ and then tell the user to add the path to
Visual Studio 2008's Add-ins/Macros Security section?
Hongye Sun [MSFT] - 10 Nov 2008 13:01 GMT
Good morning, Stewart.

According to Add-in Security documentation at
http://msdn.microsoft.com/en-us/library/1326zbk3.aspx.
The default add-in file search locations includes:
%ALLUSERSPROFILE%
C:\Documents and Settings\All Users\Application
Data\Microsoft\MSEnvShared\Addins

%APPDATA%
C:\Documents and Settings\<username>\Application
Data\Microsoft\MSEnvShared\Addins

%USERPROFILE%
C:\Documents and Settings\<username>\My Documents\Visual Studio
2005\Addins

%VSAPPDATA%
C:\Documents and Settings\<username>\Addins

%VSCOMMONAPPDATA%
C:\Documents and Settings\All Users\Addins

These paths are writable in Windows Vista by administrator.

In addition, you can also modify the add-in file search locations by
manipulating registry.
The information is located at
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\AutomationOptions\Loo
kInFolders

Hope it helps.

Regards,
Hongye Sun (hongyes@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 2 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support Engineer
by contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Hongye Sun [MSFT] - 14 Nov 2008 09:29 GMT
Hi Stewart,

I have not heard from you for several days since my last reply. I am
writing check the status of the issue. Would you mind letting us know any
progress from your side.

In my last reply, I mentioned that according to Add-in Security
documentation, it includes five folders for placing add-in packages. Those
folders are writable in Windows Vista by administrator. Another way is to
change registry key when installing add-in and point the path to your
application folder.

Please feel free to let us know if you have any problem. I will be more
than happy to help. Thanks.

Regards,
Hongye Sun (hongyes@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.

This posting is provided "AS IS" with no warranties, and confers no rights.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.