5 ms·
Windows still has a situation where Chrome's updates use a special service to dodge around escalation issues, and Spotify and many others install in AppData for
by herf 1y ago
Windows still has a situation where Chrome's updates use a special service to dodge around escalation issues, and Spotify and many others install in AppData for the same reason, and lots of uninstallers just don't work, leaving files and other things behind. MSI has required "chained signing" using an old key to sign the new one forever, but when you're maintaining updates over a decade that isn't very easy to do. I hope they can clean it all up!
- twosdai 1y agoFor the leaving files around case, isn't that an impossible thing to really deal with from the installer stand point for non containerized applications that have root/admin access? Because they can just create and write to random directories whenever they want. And any Uninstaller, either provided by the app or Microsoft could just miss these files, because they aren't recreating the full program control flow.
- contextfree 1y agoYes. UWP/MSIX+AppContainer addressed this, but inherently impose limitations on what the app and installer can do.
- JackSlateur 1y agoThis is why we invented distributions (Linux and friends): one package manager, common practices and shared code, to avoid everybody doing its own (sometime broken) thing
- ThunderSizzle 1y agoAnd now we also have flatpak, snap, etc. on top ofnthe "one package manager"
- eviks 1y agoWhy is it impossible if you can track where they write during the installation process? There are even apps that do that. For apps that run as admin that's harder indeed, but at least for the installation process the good-but-not-perfect design could still be added?
- hypercube33 1y agoFor reference chrome uses open source Omaha installer and update and the others noted use Squirrel. Both can exist in users app data (squirrel only can however as its philosophy is to be user installable without admin.)
- mike_hearn 1y agoIt used to use Omaha. They recently rewrote it and Chrome now uses an installer framework fully maintained in their own tree. It's conceptually similar but cleaned up.
- tobias3 1y agoAnd since the Chrome fork Edge is part of Windows now, this updater already runs on all Windows machines (e.g. the MicrosoftEdgeUpdateTaskMachineUA scheduled task). They did not even use Windows update for that one.
- dabockster 1y agoCan you force Edge to go through Windows Update? They have GPOs for download, but I didn’t see anything like that in there.
- MortyWaves 1y agoAre you sure the others use Squirrel? After it’s maintainer decided to crash out and abandon multiple libraries including Squirrel, I was under the impression it was abandoned?
- mike_hearn 1y agoSquirrel is abandoned for years and still used anyway, often by people who don't realize it's abandoned. It's the default if you use the Electron toolchain, so that's why. It has serious design problems too, like it breaks Windows networks by bloating people's roaming home directories with dozens of independent copies of Chrome which then get backed up, copied around on login etc. Admins loathe it as the whole point of this design is to bypass their ability to manage their own deployments, although they still get the blame when things break, of course. There's a better way, which I am shamelessly self-promoting in this thread (as it's 100% on topic) - my company makes a tool that can ship self-updating Electron apps and beyond being not abandoned, it's got a lot of really useful features, like being able to do the build and upload of signed updating packages (using the tech MS is pushing here) from Linux CI workers, without needing a Windows license. https://hydraulic.dev/ https://hydraulic.dev/ It can also do forced updates on launch, which can be helpful for apps where the protocol between client and server changes regularly. And it plays well with corporate Windows deployments. People can install apps locally without needing administrator access but it goes into c:\Program Files
- pjmlp 1y agoTo be fair, many GNU/Linux packages also leave garbage behind.
- worthless-trash 1y agoDo you expect things not in the package manifest to get cleaned up by thr package removal tools? This surprises me, I would have thought usees would think package removal would only meant package removal.
- pjmlp 1y agoYes, if there is a script generating stuff at install time, there should be a script deleting the same stuff at removal time. Most of the time there isn't one.
- worthless-trash 1y agoThis is not what is generally expected at package removal, at least from my understanding. Where do you draw the line at removal, configuration files, user created documents, config files on networked home directories. I dont think you are being unreasonable, maybe we need better clean up depending on what the user needs.. It would mean tracking the creator of filws and tagging them appropriately, using this list during uninstall.
- naikrovek 1y agoThey don’t install into appdata to dodge escalation. They’re not hiding. Microsoft has recommended installing into appdata for nearly a decade. Maybe over a decade at this point. It’s how you’re supposed to install applications today, if those applications don’t need elevation to run.
- dabockster 1y agoThey install in AppData to get around IT admin blocks. Unless a sysadmin has the tech available to operate on a whitelist only basis (which not everyone does - it’s super expensive), you can be certain that at least some users have things like Spotify installed illicitly. And this is why having a solid working relationship between all levels of IT and your users are so important. It really is customer service first, tech second. If your users trust you as the IT admin, they’ll know to ask first before downloading AppData installers like this before they become a job ending issue for them.