Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5933165
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T14:56:09+00:00 2026-05-22T14:56:09+00:00

I know this has been asked before, but bear with me. I have a

  • 0

I know this has been asked before, but bear with me. I have a utility that reads the Unistall location in the registry and then compares the results to a list of applications that need to be removed. 80% of the time this works, but the trick is that one of the items to be removed is the anti-virus (so it can be replaced with an AVG install). For a lot of the companies this doesn’t work. Here is a snippet of how I’m getting the installed software:

const string Win32Loc = @"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall";
//const string Win32Loc = @"SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\USerData\S-1-5-18";     
    const string Win64Loc = @"Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall";

    List<Application> apps = new List<Application>();
    string location = bool64BitOs ? Win64Loc : Win32Loc;

    using (RegistryKey rk = Registry.LocalMachine.OpenSubKey(location))
    {
        foreach (string skName in rk.GetSubKeyNames())
        {
            using (RegistryKey sk = rk.OpenSubKey(skName))
            {
                apps.Add(new Application { DisplayName = sk.GetValue("DisplayName") == null ? "" : (string)sk.GetValue("DisplayName"), AppKey = skName });
            }
        }
    }

The results look like this when written to a text file:


Name PowerDVD Key InstallShield_{6811CAA0-BF12-11D4-9EA1-0050BAE317E1}

Name ESC Home Page Plugin Key InstallShield_{E738A392-F690-4A9D-808E-7BAF80E0B398}

Name Intuit SiteBuilder Key Intuit SiteBuilder

Name Microsoft Visual J# 2.0 Redistributable Package Key Microsoft Visual J# 2.0 Redistributable Package

Name Norton AntiVirus Key NAV

Name Windows Live Essentials Key WinLiveSuite

Name Microsoft Visual C++ 2008 ATL Update kb973924 – x86 9.0.30729.4148 Key {002D9D5E-29BA-3E6D-9BC4-3D7D6DBC735C


So you’ll see that SOME installs have the key and some don’t. What this means is that the 80% that work have the key for the MSIEXEC call, and the others fail. I’m playing with the Installer/UserData/UserXXXXX/Products but I don’t get how to traverse for all users. In the dump I provided, Norton needs to go, but I can’t see how to do it.

Any help would be greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T14:56:09+00:00Added an answer on May 22, 2026 at 2:56 pm

    I agree with selbie’s comment about using the “UninstallString” instead (although sometimes you won’t have that either, but for MSI’s use can just get the GUID and use msiexec /x {GUID}).

    Nevertheless, I would not recommend uninstalling Norton A/V products via this method. Because their uninstallers are crap and frequently leave behind many pieces of the software that should’ve been removed, Symantec provides a tool that actually gets the job done safely: the Norton Removal Tool. Highly recommended!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know this has been asked before, but nothing is working. I have signed
I know this has been asked before. But I have exhausted the options given
NOTE: I know that this has been asked many times before, but none of
I know this has been asked before but for some reason that strategy doesn't
I know this has been asked before but I have looked at every answer
I know this has been asked before, but the only answers I have found
Now I know this has been asked before. But I've made doubly sure that
I know this question has been asked before but I seem to have a
I know this has been asked before, but the answers that I see are
I know this question has been asked before, but I have tried the given

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.