GithubHelp home page GithubHelp logo

Comments (7)

tempdrive avatar tempdrive commented on June 3, 2024 2

Just a heads-up, hope this will help: the deployment of Edge has been made more strict recently to the point where updates are being rolled back if the deployment fails.
There wasn't anything specific mentioned here that would be explicit enough to conclude the origin of the issue, so I assume the whole EndOfLife code was skipped (for all of the apps), however, focusing only on this app (Edge) with regards to disabling changes made by your app might be sufficient.
The deployment of Edge is handled individually (EdgeAI.dll from Servicing Stack Update) from what I can tell, so hopefully other parts of the code can be left enabled having this in mind.

from privacy.sexy.

undergroundwires avatar undergroundwires commented on June 3, 2024

Hi @zdat, here's the new logic added since that version (introduced by #260):

  • Completely removal of appx-package Remove-AppPackage
  • Deprovisioning it using reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned\{{ AppName}} " /f
  • Set it as end-of-life reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\EndOfLife\$($sid)\$($packageFamilyName)" /f (I highly suspect this one)

This must be a side-effect of one these.

Testing updates is so hard for me, so I rely on community support for this.

Two potential ways to debug this:

  1. Checking update logs to see if it states why it fails.
  2. Once experiencing this, instead of running the complete revert script, we can comment out/remove the lines that are fixing the keys (EndOfLife and Deprovisioned) and try again (i.e. run. If updates fail then we know that this caused by Remove-AppPackage, if they do not fail we verify that it's one of these keys, the next step would be the running key revert codes one by one to see which one is running this.

The line setting Deprovisioned key:

image

The line setting EndOfLife key:

image

from privacy.sexy.

hafeoz avatar hafeoz commented on June 3, 2024

Can confirm commenting out EndOfLife fixes the issue.

from privacy.sexy.

undergroundwires avatar undergroundwires commented on June 3, 2024

Thank you for the information @hafeoz.
I will fix this in a few days and release a patch for it.

from privacy.sexy.

zdat avatar zdat commented on June 3, 2024

I see there is a commit that fixes this issue.

What exactly should I do with this commit script to restore update functionality? I'm not sure what a commit is to be honest so I don't know if the script fixes the issue or it's something to be added later to the privacy.sexy next release or something.

from privacy.sexy.

undergroundwires avatar undergroundwires commented on June 3, 2024

Hi, thank you for asking, I will released the fix version on Tuesday. However, it will not retroactively fix the issues but will not cause these issue in future.

I will update here once the release is there, then you can run remove system apps again, until then, do not run system app removal scripts. For those who's seeing this thread later, the issue will be fixed since v0.12.8 so you shouldn't worry about, but if you deleted apps using older versions (v0.12.7 or v0.12.6), keep reading.

Here's how you can fix the issue with updates (which seems to be caused by Microsoft refusing to do updates if it cannot install Edge):

  1. Open Command Prompt (Start Menu ➜ type "cmd" ➜ select "Command Prompt")

  2. Copy and paste the following command:

    PowerShell -ExecutionPolicy Unrestricted -Command "Remove-Item -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\EndOfLife\*' -Force -Verbose"
  3. Press Enter

from privacy.sexy.

undergroundwires avatar undergroundwires commented on June 3, 2024

The fix is released (the EndOfLife key will no longer be left around by privacy.sexy) and instructions to fix your Windows (without reverting uninstallation of system apps) is documented in release notes, see 0.12.8 🚀

from privacy.sexy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.