CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2009
    Posts
    9

    how to get the installation paths without using regedit.

    Hi All,

    My problem is how to get the installtion paths of a particular product installed every year,it's same product but with diffrent executables, every year the executable name changes. Like in 2008 the product executable name will C:\folder\folder\08abc.exe in 2009 the exe will be different C:\folder\folder\09abc.exe. so, now i need to extract the paths of the products. With out using the regedit. Answers are appriciated.

    Thank You,
    mar

  2. #2
    Join Date
    Jun 2002
    Posts
    936

    Re: how to get the installation paths without using regedit.

    There are other ways to do it, but you can do it this way by using the applicationdirectory class in

    using System.Security.Policy;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured