473,396 Members | 1,840 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Detecting another installed application

I have several application which may or may not be installed on a machine.
I would like to call one application from another application if it's
installed. Basically add a menu item the runs the other application. I am
trying to determine if the application is installed. The application mayb
not be running. It seems best not to look in the expected program path
since they have the option of installing it somewhere else. I was also
thinking that setting a reg value might get me in a permission problem
situation. Can I check if the application is installed the same way the
installer does and if so how?

Regards,
John
Nov 17 '05 #1
2 1393

John J. Hughes II wrote:
I have several application which may or may not be installed on a machine.
I would like to call one application from another application if it's
installed. Basically add a menu item the runs the other application. I am
trying to determine if the application is installed. The application mayb
not be running. It seems best not to look in the expected program path
since they have the option of installing it somewhere else. I was also
thinking that setting a reg value might get me in a permission problem
situation. Can I check if the application is installed the same way the
installer does and if so how?


Assuming that your application is installed in some standard way and
has an "uninstall" entry, you can find what you need in the registry.

Iterate through the keys under:

HKEY_LOCAL_MACHINE/Software/Mi*crosoft/Windows/CurrentVersion*/Uninstall
and look for the ones you want.

matt

Nov 17 '05 #2
Ok, thanks, just need to look at the display name field if it exist.

Oh I am using the VS installer.

Regards,
John

"Matt" <ma********@sprynet.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...

John J. Hughes II wrote:
I have several application which may or may not be installed on a machine.
I would like to call one application from another application if it's
installed. Basically add a menu item the runs the other application. I
am
trying to determine if the application is installed. The application mayb
not be running. It seems best not to look in the expected program path
since they have the option of installing it somewhere else. I was also
thinking that setting a reg value might get me in a permission problem
situation. Can I check if the application is installed the same way the
installer does and if so how?


Assuming that your application is installed in some standard way and
has an "uninstall" entry, you can find what you need in the registry.

Iterate through the keys under:

HKEY_LOCAL_MACHINE/Software/Mi*crosoft/Windows/CurrentVersion*/Uninstall
and look for the ones you want.

matt
Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: sanket gupta | last post by:
Hi , When installing my application , i want to check whether the dot net runtime is available on the users computer and if its not , then i would like to provide him with a download location....
4
by: Jeff Stewart | last post by:
Right now, all my VB.NET programs crash on startup if the .NET Framework isn't installed on the target PC. Is there a graceful way to detect, notify-in-a-friendly-way, and quit of the application...
3
by: regtrashcan | last post by:
I have a webpage that detects whether Shockwave Player is installed and the version number. The javascript/vbscript that I use has worked fine until the latest release of the Shockwave Player. I am...
5
by: Greg Smith | last post by:
I have a series of applications that assume other applications are installed. Is there a way to detect the installation of a specific application? Any help is greatly appreciated.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.