Update 16 not silent?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
binocular222
Posts: 1424
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Update 16 not silent?

Post by binocular222 »

Code: Select all

Update 1 + 4 + 16
But XY still asks me twice. Why? I just want to update no matter what.
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

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

Re: Update 16 not silent?

Post by admin »

The "silent" only refers to the installer itself. Yep, docs could be clearer.

Leito
Posts: 562
Joined: 26 Sep 2016 15:37
Location: Windows 10 1809 x64

Re: Update 16 not silent?

Post by Leito »

I wondered that as well. Updating the docs would be good. :)

Could we have a flag to update 100% silently by removing those two message boxes?

Image

Image

hari3
Posts: 225
Joined: 25 Sep 2016 13:57
Location: win 10,64 bit

Re: Update 16 not silent?

Post by hari3 »

I too want total silent update without messages

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

Re: Update 16 not silent?

Post by admin »

Leito wrote: 02 Jan 2019 21:20 I wondered that as well. Updating the docs would be good. :)

Could we have a flag to update 100% silently by removing those two message boxes?

Image

Image
I'll check that later.

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

Re: Update 16 not silent?

Post by admin »

Should work in next beta version. (You can only test it when upgrading from that version.)

Leito
Posts: 562
Joined: 26 Sep 2016 15:37
Location: Windows 10 1809 x64

Re: Update 16 not silent?

Post by Leito »

Great, will test that. :tup:

Same flag (16)?

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

Re: Update 16 not silent?

Post by admin »

Yep.

Leito
Posts: 562
Joined: 26 Sep 2016 15:37
Location: Windows 10 1809 x64

Re: Update 16 not silent?

Post by Leito »

Code: Select all

v19.50.0117 - 2019-01-09 16:16
    ! SC update: The "silent" flag (16) was not silent enough. Fixed.
      Note: You can only test it when upgrading *from* this new version.
I tried it to update from v19.50.0117 to v19.50.0118 by running ::update 1+16+128. What happens is:
  • Installer file is downloaded.
  • Windows admin prompt is opened and asks if I want to run XYplorer_19.50.0118_Install.exe. I click "Yes".
  • XYplorer is closed, then restarted, but still v19.50.0117.
So, is this a bug or didn't I fully understand the flags to use?

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

Re: Update 16 not silent?

Post by admin »

Yes, I see that here too. :veryconfused: Scratching my head. Needs some :cup: :cup: :cup:

Leito
Posts: 562
Joined: 26 Sep 2016 15:37
Location: Windows 10 1809 x64

Re: Update 16 not silent?

Post by Leito »

Code: Select all

v19.50.0119 - 2019-01-10 16:30
    ! SC update: The recent change did not work. Added some debug info.
      Note: You can only test it when upgrading *from* this new version.      
When running ::update 1+16+128 to upgrade from v19.50.0118 to v19.50.0119, I got the messagebox "This appear to be a silent upgrade... something" (sorry, forgot the exact text). Looks like your debug info?
Then it correctly upgraded to v19.50.0119, so it seems fixed. :beer:

Are you sure when you write "Note: You can only test it when upgrading *from* this new version."?

It's what you wrote as well for v19.50.0117 changelog, but we already had the issue by upgrading from v19.50.0116 (as reported by @klownboy here).

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

Re: Update 16 not silent?

Post by admin »

Uh.

1) So the presence of debug info fixes it? There is some Heisenbergian weirdness at work...

2) Oh, yeah, you download the new installer so indeed you can test right away! :tup:

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

Re: Update 16 not silent?

Post by admin »

I removed that info and added a 1 second sleep. And re-uploaded. Seems to work.

Leito
Posts: 562
Joined: 26 Sep 2016 15:37
Location: Windows 10 1809 x64

Re: Update 16 not silent?

Post by Leito »

Works for me as well. :tup:

klownboy
Posts: 4469
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: Update 16 not silent?

Post by klownboy »

I'm not sure why there's a difference in the behavior I received when upgrading to v19.50.0119 from v19.50.0118 and Leito's result (see my bug thread - it was silent but I had to restart XY). Did I update too quickly from the your initial v19.50.0119 upload?

Post Reply