For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic > July 2006 > Detecting App Installation Location









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Detecting App Installation Location
jim evans

2006-07-02, 6:55 pm

Is there an easy way to determine where an application is installed?
When I update an application I need to know where the user installed
it. Of course, if they used the default location there's no problem,
but when they install in another location I need to know where.

jim
Larry Serflaten

2006-07-02, 6:55 pm


"jim evans" <jimsnews@houston.rr.com> wrote
> Is there an easy way to determine where an application is installed?
> When I update an application I need to know where the user installed
> it.


How about you put the app's directory in the Registry when it runs
(or at least check if it is already been added). If the user has run the
program at least once, you then have a place you can go check for
the installed location.

LFS


Stefan Berglund

2006-07-02, 6:55 pm

On Sun, 02 Jul 2006 13:13:08 -0500, jim evans <jimsnews@houston.rr.com>
wrote:
in <tt2ga211ps49nrjo1cdq7vmrfok3s373oc@4ax.com>

>Is there an easy way to determine where an application is installed?
>When I update an application I need to know where the user installed
>it. Of course, if they used the default location there's no problem,
>but when they install in another location I need to know where.
>
>jim


Why not have the app initiate the update? ~It~ knows where it's
installed.

---
Stefan Berglund
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com