Page 1 of 2

Silent updates - SOLVED

Posted: 17 Nov 2023 17:42
by sl23
I was just wondering if it were possible?

I have Check for beta updates selected and everytime I start XY, I get 3 windows appear asking to download and install.

I do know of the script for updating as I found that in the Manual and have this on a button in the toolbar, but I was wondering if it was possible using the startup check? Is there a reason there is no option for silent updates?

Thanks :tup:

Re: Silent updates

Posted: 17 Nov 2023 18:40
by Horst
Silent updates are a very bad behavior for a file manager.
There can be changes which change the current functions
and its parameters.
I always read the change notes before accepting the update.

Re: Silent updates

Posted: 17 Nov 2023 22:54
by sl23
I understand, but I don't have the time to keep up with the beta thread. I skim through it probably every couple of months. Unless something breaks! :P :lol:

Re: Silent updates

Posted: 18 Nov 2023 09:52
by admin
Check out scripting command update in the Help. It has a silent flag.

Re: Silent updates

Posted: 18 Nov 2023 12:19
by sl23
Thanks. I get that, but can you apply the script on startup?

EDIT: I found the CustomEventAction for Startup and added this script: update 1 + 16 + 128 + 16; Just waiting for an update to see if I got it right! :D
Thanks, should've checked that first! :oops:

Re: Silent updates

Posted: 18 Nov 2023 12:20
by highend
There is a custom event action for that^^

Re: Silent updates

Posted: 18 Nov 2023 12:25
by sl23
lol You beat me to it! Just edited my post, thanks Highend :tup:

Re: Silent updates

Posted: 20 Nov 2023 21:23
by sl23
Although the updates are working, I'm still asked if I want to update then download and install. So the silent part isn't working. Am I doing something wrong? As stated above, I used that script in the CEA for startup.

Re: Silent updates

Posted: 20 Nov 2023 21:38
by highend
Run the script command with correct arguments?

Re: Silent updates

Posted: 21 Nov 2023 18:24
by sl23
Is the script above wrong then? That was for a button. Do I need a different script for the CEA?
I'll take another look at the manual when I get time.

Re: Silent updates

Posted: 21 Nov 2023 18:31
by highend
Open your eyes, read that script line, and at least... COUNT! And, what flags might be triggered?^^

Re: Silent updates

Posted: 21 Nov 2023 18:38
by admin
You mean this prompt?
2023-11-21_183741.png
Or are there any other ones?

Re: Silent updates

Posted: 21 Nov 2023 19:07
by sl23
@highend: If your on about the last '16' I added that as a test to see if it worked serially, ie, one after the other in order. As it wasn't working without it, or with it, but I didn't realise I posted that addition. Other than that, a cryptic 'COUNT' isn't of any help I'm afraid.

@admin: That's the first one, yes. Then I get asked if I want to download, so I click ok. After it has downloaded, I am asked if I want to install, again, I click ok. Once that's done, I'm again greeted with that window in your screenshot saying XY has been updated. So all in all, four windows are opened every update! Hence why I just want to set it to silent.

I'm not running XY as admin btw.

Re: Silent updates

Posted: 21 Nov 2023 19:17
by admin
Well, update 1 + 16 + 128; works totally fine. There is just one UAC prompt, which is unavoidable.

Re: Silent updates

Posted: 21 Nov 2023 20:13
by highend
Other than that, a cryptic 'COUNT' isn't of any help I'm afraid.
Yeah sure, leave out the given context in the fu... same line^^