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
Re: Can I retrospectively determine where an application got installed
Check the registry entries for the other two apps.
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.
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.
Re: Can I retrospectively determine where an application got installed
That gives me the confidence to go on. Thanks.