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 / Enterprise Tools / August 2005

Tip: Looking for answers? Try searching our database.

Intaller for Enterprise Templates

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Vivek Vishist - 30 Jun 2005 18:50 GMT
Hello:

I am building an Installer for Enterprise templates and having difficulty in
getting the directory locations for Visual Studio from the registry .

1) Does any one knows how I can get the Key for Visual Studio installation
directory from the Registry. As of now I am looking in
HKLM/Microsoft/VisualStudio/7.1/InstallDir, this returns me c:\program
files\MS Visual Studio2003\Common7\IDE but whereas I need just the path for
"c:\program files\MS Visual Studio2003".

2) Also, if you know that in a Setup project's {File Sytem on Target
Machine/Custom Folder's Default location} I have a property named [VSPATH]
that returns "c:\program files\MS Visual Studio2003\Common7\IDE" (looking at
HKLM/Microsoft/VisualStudio/7.1/InstallDir , in registry) but when I write
something like [VSPATH]\..\..\EnterpriseFrameworks (in installer File Sytem
on Target Machine/Custom Folder's Default location ) project  it gives me an
error in the Visual Studio itself.
I have even tried [VSPATH]\[..]\[..]\[EnterpriseFrameworks] but this is also
not correct. so the moral of the question is: In a Visual Studio Setup
project, how to go two directories up from the path returned by registry ?

Any thoughts ??

Answer to any of these two questions will solve my problem :-)

Thanks,
Vivek
Vivek Vishist - 03 Aug 2005 19:11 GMT
#1 is the solution that I used. I dont know if this is right but it works

there is another solution to 'envdte' namespace to get the 'fullname'
property that gives that path for devenv.exe

Vv

> Hello:
>
[quoted text clipped - 30 lines]
> Thanks,
> Vivek

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



©2008 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.