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

🪟 Install updates without user intervention on Windows #6003

Closed
BartG95 opened this issue Aug 26, 2023 · 7 comments
Closed

🪟 Install updates without user intervention on Windows #6003

BartG95 opened this issue Aug 26, 2023 · 7 comments
Assignees
Labels
enhancement enhancement of a already implemented feature/code feature: 📥 install and update

Comments

@BartG95
Copy link

BartG95 commented Aug 26, 2023

How to use GitHub

  • Please use the 👍 reaction to show that you want to have the same feature implemented.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Feature description

Some of my family members use my small home Nextcloud server, and they use Windows. They don't like the fact that they are notified for an update almost every week and then have to manually install it (with multiple times clicking 'next' and then a question to restart their computer). They do understand the necessity of updates, so they don't want to disable the update check, but they much rather want an in-between option: 'do check for updates, but not to often (maybe once a month)'. At least, that is what they literally suggested to me.

@BartG95 BartG95 added the enhancement enhancement of a already implemented feature/code label Aug 26, 2023
@jospoortvliet
Copy link
Member

Mja, I believe the team aims for ~1 release/month, but if a serious problem is found they release quickly, sometimes more than 3x/month. It's a bit of a hard question, BartG, I see your point and don't really disagree - but if you have a fix for a serious problem you also don't want to delay making it available of course. The updater only warns when starting, though, so - not rebooting will help ;-)

I'm not sure I have a real solution, as making the updater not check so often is a work-around. The real solution would be to make the update (more) automatic, so you don't even notice, don't you think?

@BartG95 BartG95 changed the title Option for lower update frequency on Windows Install updates without user intervention on Windows Sep 27, 2023
@tobiasKaminsky tobiasKaminsky moved this from 🧭 Planning evaluation (don't pick) to 📄 To do (max 2 entries / member) in 🤖 🍏 Clients team Dec 21, 2023
@github-project-automation github-project-automation bot moved this to 🧭 Planning evaluation (don't pick) in 🤖 🍏 Clients team Dec 21, 2023
@tobiasKaminsky tobiasKaminsky moved this from 📄 To do (max 2 entries / member) to 🧭 Planning evaluation (don't pick) in 🤖 🍏 Clients team Dec 21, 2023
@tobiasKaminsky tobiasKaminsky moved this from 🧭 Planning evaluation (don't pick) to 📄 To do (max 2 entries / member) in 🤖 🍏 Clients team Dec 21, 2023
@AndyScherzinger AndyScherzinger changed the title Install updates without user intervention on Windows 🪟 Install updates without user intervention on Windows Jan 17, 2024
@tobiasKaminsky tobiasKaminsky moved this from 📄 To do (max 2 entries / member) to 🏗️ In progress in 🤖 🍏 Clients team Jan 19, 2024
@allexzander
Copy link
Contributor

The ideal solution would be this one #6526, but the PR linked should reduce the reboot frequency

@github-project-automation github-project-automation bot moved this from 🏗️ In progress to ☑️ Done in 🤖 🍏 Clients team Mar 20, 2024
@allexzander
Copy link
Contributor

allexzander commented Mar 21, 2024

So the reboot prompt will disappear in versions after 3.12.2 as this version contains required DLL shell-extension logic that closes the shell extensions.

@pzwahlen
Copy link

Should we reopen this issue because of #6582 which required a revert of #6525 to fix an explorer.exe crash ?

@allexzander
Copy link
Contributor

I have a fix for regression for #6566, but, the feature itself feels unreliable after more thorough testing. So, the idea of forcing DLL extensions to quit (which is not by design in Windows), is not the right path. We may need alternatives, like implementing a custom updater #6526, which will require some time. Unfortunately, MSI does not allow customizing the installer behavior to allow not-touching the DLLs that we almost never change, these DLLs are in use by explorer.exe and dllhost.exe and seem impossible to kill in a reliable way (unless killing the explorer and a dllhost, which is not something the installer should do, yet, I may have to resort to it as a temporary solution.).

@jospoortvliet
Copy link
Member

@allexzander do we know how others do this that use shell extensions? Like own cloud or Dropbox?

@allexzander
Copy link
Contributor

@jospoortvliet Dropbox is using the online installer .exe instead of MSI, and the update is performed by their own means instead of an MSI as we do - see #6526 for details.

As for the own cloud, they are using MSI like we do, but, last time I remember they did not have support for icon statuses in VFS, we implemented it first, and maybe they support it also now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement enhancement of a already implemented feature/code feature: 📥 install and update
Projects
Archived in project
Development

No branches or pull requests

6 participants