Jump to content

Identifing whether s/w component is uninstalled or not


User123
 Share

Recommended Posts

How to identify a component whether its uninstalled or not from Microsoft Add/Remove programs.

I want to identify through script before uninstalling a component so that I cannot uninstall an already uninstalled component.

Is there any option to know the above?

Thanks,

Link to comment
Share on other sites

The list of programs installed on a computer (at least, those which are listed in Add/Remove programs or Program and Features depending on your version of Windows), are stored in the registry under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

You'll need to populate the keys and look for the software in question. Give it a shot, using the help file to understand RegRead() if you don't already, and post back here with your code if you hit another wall.

"There are 10 types of people in this world - those who can read binary, and those who can't.""We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true." ~Robert Wilensky0101101 1001010 1100001 1101101 1100101 1110011 0110011 1001101 10001110000101 0000111 0001000 0001110 0001101 0010010 1010110 0100001 1101110
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...