How can I determine the location of a previous installation?
Posted: Tue Nov 07, 2006 11:05 am
Hi there;
Hoping you can help me. I am trying to figure out how I can determine the location of where a user has installed my primary application. The reason that I need to know this is so that I can install addtional 'add-on' components to the same Installation folder location in which the primary application was originally installed.
Here is an example:
Let's say that I have installed the main application to C:\\Program Files\\MyApp
Now a month later the customer buys an add-on component that enables them to say, burn CD's. I need to place the CD burning add-on component into that same path/location (C:\\Program Files\\MyApp).
The problem of course is that the customer can install the main application anywhere they want so I can't rely on it always being in the default location.
Any help would be greatly appreciated...
Thanks,
Steve
Hoping you can help me. I am trying to figure out how I can determine the location of where a user has installed my primary application. The reason that I need to know this is so that I can install addtional 'add-on' components to the same Installation folder location in which the primary application was originally installed.
Here is an example:
Let's say that I have installed the main application to C:\\Program Files\\MyApp
Now a month later the customer buys an add-on component that enables them to say, burn CD's. I need to place the CD burning add-on component into that same path/location (C:\\Program Files\\MyApp).
The problem of course is that the customer can install the main application anywhere they want so I can't rely on it always being in the default location.
Any help would be greatly appreciated...
Thanks,
Steve