Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't Uninstall, Context menu link remains. #11

Open
ghost opened this issue Apr 1, 2020 · 6 comments
Open

Can't Uninstall, Context menu link remains. #11

ghost opened this issue Apr 1, 2020 · 6 comments
Assignees
Labels

Comments

@ghost
Copy link

ghost commented Apr 1, 2020

After testing the software I tried uninstalling it, but the installer returned the error:
Error 1721. There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: UnregisterShellExtension, location: ..\NetworkAdap..
2020-04-01_223412

And the context menu reference to the program is still there
2020-04-01_223436

I tried using the original installer to uninstall it and also the file from this post "https://github.com/falahati/NetworkAdapterSelector/releases/tag/v1.1.0.0-dev" both things didnt help.

@falahati
Copy link
Owner

falahati commented Apr 1, 2020

It's unfortunate.
Did you try restarting your system? The shell extension is always open by Explorer.exe and the setup sometimes can't install or uninstall it depending on the state of the software or the Explorer. In the majority of the times a restart will help.

Some programs like Revo Unsinstaller can forcefully remove applications. You might want to try that out while I am trying to solve this.

I am waiting on a PR on the library we use for ShellExtensions to go through from a year ago that will help a lot with this problem.

@falahati falahati added the bug label Apr 1, 2020
@falahati falahati self-assigned this Apr 1, 2020
@ghost
Copy link
Author

ghost commented Apr 2, 2020

No I had already tried restarting. Ive also tried allowing the installer to close all applications as it needed during uninstall and it did close windows explorer infact it didnt open it back up after it had completed i had to do that myself from CTRL-ALT-DEL -> Task Manager -> File -> Run New Task -> explorer.exe

I finally resorted to registry editors to clear the shell extension to get rid of the context menu item. The uninstaller is clearly broken needs to be fixed.

@realcapo
Copy link

I have the same problem. Is there an update on this? @isaacchristie what specific registry editor did you use? I tried removing it with revo but to no avail.

@XT3RM1N8R
Copy link

This is still very much an issue and I urge you to include a warning about this in the README and elsewhere in the meantime. @falahati


For those of you who are having issues uninstalling this tool, please see below. (@realcapo check this out)

I had to use ShellExView to disable and delete the Shell Extension, including the associated registry keys.
Look in the Filename column for a path that matches the Network Adapter Selector install location.
Sort by the File Created Time column to save you some time.
The Extension Name column may say something like "Dynamic Menu Item", but the Filename column will be your best bet.
When you find the extension, right-click it to Disable Selected Item and double-check that the context menu shell extension disappears after restarting Explorer.
If you think you found it, you can right click on the extension within ShellExView to Open CLISD in RegEdit and then delete the matching key(s).

I then had to delete the Network Adapter Selector installation within my C:\Program Files (x86)\ folder.

Next, you're going to want to use the Uninstall feature on the "Network Adapter Selector" entry in the Windows Uninstall or change a program tool within Control Panel.
This feature will fail, but we can get the filepaths that appear in the User Account Control pop-up window.
Just take note of the filepath and close the window or select "No".

Using that, I deleted these two things:

  • The "hash-coded" MSI file in my C:\Windows\Installer\ folder. Get the filepath from the pop-up.
  • The "hash-coded" folder containing the Network Adapter Selector.msi file in my \AppData\Local\Downloaded Installations\ folder. Get the filepath from the pop-up. It will be different this time.

Next, I deleted the "hash-coded" registry key "folder" within HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\.
To find the right key, right-click & export the \Uninstall\ "folder" somewhere, then search the REG file for Network Adapater Selector using a text editor/viewer.
When you find that string, copy the "hash-coded" ID on the line above and search the \Uninstall\ "folder" in the registry for the ID.
When you find the key, delete it and the sub-keys.


This all took way more time than it should have to figure out what I needed to remove--as well as where to search and then ultimately find & delete the right things.
Had I known it would be this much trouble, I would not have used Network Adapter Selector in its current state.

@falahati I appreciate you providing this tool, yet this Uninstallation problem is something that I wish I had been aware of or at least had the intuitive foresight to check the Issues for.

@kimpurcell
Copy link

Bad uninstall procedure. Frustrating.

@sperglord8008s
Copy link

still broken...what a PITA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants