Silent updates - SOLVED

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
sl23
Posts: 227
Joined: 03 Feb 2015 23:34

Silent updates - SOLVED

Post 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:
Last edited by sl23 on 23 Nov 2023 08:50, edited 1 time in total.

Horst
Posts: 1155
Joined: 24 Jan 2021 12:27
Location: Germany

Re: Silent updates

Post 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.
Windows 11 Home, Version 24H2 (OS Build 26100.2033)
Portable XYplorer (Actual version, including betas)
Everything 1.5.0.1383a (x64), Everything Toolbar 1.5.1, Listary Pro 6.3.1.81

sl23
Posts: 227
Joined: 03 Feb 2015 23:34

Re: Silent updates

Post 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:

admin
Site Admin
Posts: 62188
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Silent updates

Post by admin »

Check out scripting command update in the Help. It has a silent flag.

sl23
Posts: 227
Joined: 03 Feb 2015 23:34

Re: Silent updates

Post 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:
Last edited by sl23 on 18 Nov 2023 12:24, edited 1 time in total.

highend
Posts: 13718
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Silent updates

Post by highend »

There is a custom event action for that^^
One of my scripts helped you out? Please donate via Paypal

sl23
Posts: 227
Joined: 03 Feb 2015 23:34

Re: Silent updates

Post by sl23 »

lol You beat me to it! Just edited my post, thanks Highend :tup:

sl23
Posts: 227
Joined: 03 Feb 2015 23:34

Re: Silent updates

Post 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.

highend
Posts: 13718
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Silent updates

Post by highend »

Run the script command with correct arguments?
One of my scripts helped you out? Please donate via Paypal

sl23
Posts: 227
Joined: 03 Feb 2015 23:34

Re: Silent updates

Post 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.

highend
Posts: 13718
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Silent updates

Post by highend »

Open your eyes, read that script line, and at least... COUNT! And, what flags might be triggered?^^
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 62188
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Silent updates

Post by admin »

You mean this prompt?
2023-11-21_183741.png
2023-11-21_183741.png (5.17 KiB) Viewed 1263 times
Or are there any other ones?

sl23
Posts: 227
Joined: 03 Feb 2015 23:34

Re: Silent updates

Post 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.

admin
Site Admin
Posts: 62188
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Silent updates

Post by admin »

Well, update 1 + 16 + 128; works totally fine. There is just one UAC prompt, which is unavoidable.

highend
Posts: 13718
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Silent updates

Post 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^^
One of my scripts helped you out? Please donate via Paypal

Post Reply