nicole-ashley / uBlock-Edge

uBlock Origin - An efficient blocker for Chromium, Firefox and Edge. Fast and lean.
GNU General Public License v3.0
328 stars 16 forks source link

Can't install uBlock on Edge #92

Open NekaSarano opened 7 years ago

NekaSarano commented 7 years ago

The latest creators update really pushed Microsoft Edge, so I thought I'd try it out. It's actually been pretty good, except that I've been having issues installing uBlock. When I try it says "This app encountered a problem. Please reinstall it to repair". But reinstalling does nothing to fix it.

reunicorn commented 7 years ago

I've run into this issue before. The problem is that the extension is in a corrupted state. It must be manually uninstalled via PowerShell before it can be reinstalled. That's what fixed it for me.

  1. To manually uninstall uBlock Origin via PowerShell, first close Edge if it's running.
  2. Then open an Administrator PowerShell window. If you don't know how to open one, follow this guide.
  3. Paste Get-AppxPackage *ublock* | Remove-AppxPackage into the Administrator PowerShell and hit Enter.
  4. After that command completes, open Edge and open the Extensions menu ("..." → Extensions).
  5. If uBlock Origin is listed there, click on it, then click Uninstall. After that completes (or if it wasn't listed), close Edge again.

Once you've completed the above steps to manually uninstall uBlock Origin, install it again from the Store. It should then function correctly.

I hope this helps. Let me know if anything is unclear!

sliverstorm commented 7 years ago

I've been having the same problem on a particular computer, with all users on that computer. Other computers are able to install it OK, and the problem computer is able to install other apps OK.

Followed reunicorn's steps, no luck, have also tried wsreset and a few other things.

Whatever file gets downloaded, it seems to be too small to be the correct download. I wonder if my machine is downloading the wrong file, or if there is some webcache on the machine with a corrupted installation file.

tarund commented 7 years ago

Unable to install on latest Fall Creators Update build 16299, Edge version 41.16299.0.0. I've removed it completely and tried to install but the install finishes with errors, which requires a repair but that doesn't finish properly either.

nicole-ashley commented 6 years ago

This is a tricky issue as it's to do with Microsoft's store and (most likely) not uBlock. The reason I say this is that it installs perfectly well for most people. I'm going to leave the issue open for now to try to gather more information, but I think the Microsoft devs will have to look into it.

tlsg1 commented 6 years ago

Having the same issue. Getting the message "This app encountered an error. Please reinstall it to repair". Yet store displays same error message every time I try to reinstall. Please keep me updated.

ghost commented 6 years ago

Same problem here with uBlock Origin and Tampermonkey. All others extensions install without problem.

2018-02-27_00-18-38

ghost commented 6 years ago

I'm having the same problem with uBlock Origin. I had uBlock installed for a long time and it worked good until today. It said that the installation was corrupted. After uninstall and a new install from the store, it says the app encountered a problem and need to reinstall again. I have retried several times (also after reboot), but the error remains.

image

reunicorn commented 6 years ago

@HJLopes @tlsg1 @mariojuniorjp @tarund @NekaSarano That's the exact issue I had before, and the steps I outlined above (uninstalling via PowerShell) fixed it. Have you tried following those steps, and if so, did it resolve the issue?

Note: the "installation was corrupted, please reinstall" issue, which the 5 of you seem to have, is different from the issue @sliverstorm had, i.e. not being able to even install the extension in the first place. As they correctly pointed out, the steps I gave won't fix that issue. But from my experience it WILL fix the Corrupted Installation issue. So I recommend you try the steps and post your success/failure results here so I and others can benefit too! Thanks.

tlsg1 commented 6 years ago

Did not fix. Uninstall went well but still getting error; "this app encountered a problem. Please reinstall it to repair."

On Sat, Mar 17, 2018 at 12:53 AM, reunicorn notifications@github.com wrote:

@HJLopes https://github.com/hjlopes That's the exact issue I had before, and the steps I outlined above (uninstalling via PowerShell) fixed it. Have you tried following those steps, and if so, did it resolve the issue?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nikrolls/uBlock-Edge/issues/92#issuecomment-373896796, or mute the thread https://github.com/notifications/unsubscribe-auth/AiidFRTKwET1eoUjDhYTx3nFLv5GchgSks5tfKTvgaJpZM4POevo .

reunicorn commented 6 years ago

Darn :-( Thank you for trying and reporting back.

On Sat, Mar 17, 2018, 5:48 AM tlsg1 notifications@github.com wrote:

Did not fix. Uninstall went well but still getting error; "this app encountered a problem. Please reinstall it to repair."

On Sat, Mar 17, 2018 at 12:53 AM, reunicorn notifications@github.com wrote:

@HJLopes https://github.com/hjlopes That's the exact issue I had before, and the steps I outlined above (uninstalling via PowerShell) fixed it. Have you tried following those steps, and if so, did it resolve the issue?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/nikrolls/uBlock-Edge/issues/92#issuecomment-373896796>, or mute the thread < https://github.com/notifications/unsubscribe-auth/AiidFRTKwET1eoUjDhYTx3nFLv5GchgSks5tfKTvgaJpZM4POevo

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nikrolls/uBlock-Edge/issues/92#issuecomment-373917634, or mute the thread https://github.com/notifications/unsubscribe-auth/AIrJ1SX6fx82JDLkZrWhW_Tc-z2Z9q4Zks5tfQYQgaJpZM4POevo .

ghost commented 6 years ago

Me too, it did not fix it. Uninstall went well but after reinstalling it I still get the error: "this app encountered a problem. Please reinstall it to repair.” I have retried several times but no luck. Until this is fixed I have now installed another alternative Edge plugin, but it’s not so efficient and good as uBlock, so I hope this problem will get resolved soon.

PS C:\WINDOWS\system32> Get-AppxPackage ublock

Name : 37833NikRolls.uBlockOrigin Publisher : CN=279E7755-6C68-48E4-8187-888610718F5E Architecture : Neutral ResourceId : Version : 1.15.4.0 PackageFullName : 37833NikRolls.uBlockOrigin_1.15.4.0_neutralf8jsg5mm64m62 InstallLocation : C:\Program Files\WindowsApps\37833NikRolls.uBlockOrigin_1.15.4.0_neutralf8jsg5mm64m62 IsFramework : False PackageFamilyName : 37833NikRolls.uBlockOrigin_f8jsg5mm64m62 PublisherId : f8jsg5mm64m62 IsResourcePackage : False IsBundle : False IsDevelopmentMode : False IsPartiallyStaged : False SignatureKind : Store Status : LicenseIssue, NeedsRemediation

ghost commented 6 years ago

@reunicorn I had done this before. It does not solve the problem. :'(

ghost commented 6 years ago

Today I got and installed the latest MS update "March 22, 2018—KB4089848 (OS Build 16299.334)": https://support.microsoft.com/en-us/help/4089848/windows-10-update-kb4089848

After rebooting the PC to finalize the MS update, uBlock Original now installs without problems! So the uBlock installation problem is RESOLVED!