Results 1 to 5 of 5

Thread: Can I retrospectively determine where an application got installed

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2005
    Posts
    18

    Can I retrospectively determine where an application got installed

    (I'm using Windows Application with vs 2005/vb.NET)

    A few developers are placing their applications, and their respective setup.exe's, onto the one CD.

    We have a mainApp (runs from CD) and app2 and app3 that get installed on the users system.

    Users may have default hard drives of C:, D:, etc. but the main application needs to link to the other two applications as installed on the users system (ie: they get installed rather than run from the CD).

    On first use of the CD we would like app2 and app3 to get installed.

    My question is how can mainApp target the locations of app2 and app3 as they could be installed in any number of drives?

    Hope thats a clear enough question.
    Thanks in anticipation,

    Geoff

  2. #2
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Can I retrospectively determine where an application got installed

    Check the registry entries for the other two apps.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Nov 2005
    Posts
    18

    Re: Can I retrospectively determine where an application got installed

    Thanks Randem. How do I do this and can it be done at runtime?
    I'm not a whiz kid when it comes to vb.NET.

  4. #4
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Can I retrospectively determine where an application got installed

    I don't know VB.Net but the principals should be the same. If you are using a setup program it should place indicators in the registry as to where the app is installed. You will have to find out exactly where this is. It ican be different depending on the setup application.

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Nov 2005
    Posts
    18

    Re: Can I retrospectively determine where an application got installed

    That gives me the confidence to go on. Thanks.

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