YAUM - Yet Another Update Manager

Discuss and share scripts and script files...
Filehero
Posts: 2644
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: YAUM - Yet Another Update Manager

Post by Filehero »

highend wrote:Rest is in (logging + tray icon status).
:tup:
highend wrote:Rest is in (logging + tray icon status). What about pre / post scripts?
...
Is it really necessary to use .xys files (and XYplorer) to execute them?
Good question and very valid points. I simply hadn't thought about even one of them, especially running XY scripts without XY's script engine. :roll:

So yes, *.bat | *.cmd | *.exe are spot on.

Thanks,
FH

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: YAUM - Yet Another Update Manager

Post by highend »

v0.82 BETA is out. Download from first post.

Changelog:
* Keep max archive(s): Replaced "0" with "Off"
+ Keep max archive(s): Added 50, 100 and "No limit"
When switched to "Off" and there are still archives
in the folder, you'll get a "Confirmation" message now

+ Tray icon status added: Orange = Update available
Green = XYplorer is up to date
Grey = Starting up, no update check done

+ Logfile added: YAUM now creates a log file "YAUM.log" in it's own directory
where it records all successful updates

* Setting options are now written to the .ini file immediately, not after
switching back to the "Update" tab

+ Pre- & Post file (script) execution added. "Pre" is executed right before
XYplorer is updated and "Post" immediately after the update is finished.
When only a file name without path is used, it resolves to the "Scripts"
folder inside YAUM's directory
One of my scripts helped you out? Please donate via Paypal

Filehero
Posts: 2644
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: YAUM - Yet Another Update Manager

Post by Filehero »

Hi highend,

many, many thanks for putting in all "my" ideas. :D :D :D
YAUM_0.82.png
YAUM_0.82.png (18.19 KiB) Viewed 3629 times

Code: Select all

Grey = Starting up, no update check done
With DSL 100 working well, I have hard times to eben notice the greyish version. A good bandwidth indicator as well. :wink:

Code: Select all

+ Logfile added: YAUM now creates a log file "YAUM.log" in it's own directory
where it records all successful updates
Great!

I noticed there's also a new folder Locales - a debug remainder?

Again, thanks tons & heaps.


Cheers,
Filehero

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: YAUM - Yet Another Update Manager

Post by highend »

I noticed there's also a new folder Locales - a debug remainder?
No. Once I figure a good way out to add localization to YAUM...

A "Scripts" folder is created as well. When no path is used for pre- or post files
than that folder is used.
One of my scripts helped you out? Please donate via Paypal

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: YAUM - Yet Another Update Manager

Post by highend »

Is the "Postpone check" actually used?

If not, I'd remove it... I could use the free space to make the two other buttons wider :)

Translation is mostly done and the current button sizes were only designed for english names...
One of my scripts helped you out? Please donate via Paypal

Filehero
Posts: 2644
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: YAUM - Yet Another Update Manager

Post by Filehero »

highend wrote:Is the "Postpone check" actually used?
No.

But: Any chance to get rid off the red warning message that (almost) always comes up after waking up from hibernate/suspend. I guess, I'm simply to slow with re-login. :lol:

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: YAUM - Yet Another Update Manager

Post by highend »

You mean "Reason: No internet connection"?

YAUM will listen to "WM_POWERBROADCAST" events in the next version and resets the timer back to it's original value once the system wakes up.

Original value consists of:
CheckInterval=5
CheckIntervalFmt=m

So if the default is used it should not try to look for an update immediately after returning from sleep but wait this grace time period before it tries to do it again. Test that please once I push the new beta...
One of my scripts helped you out? Please donate via Paypal

Filehero
Posts: 2644
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: YAUM - Yet Another Update Manager

Post by Filehero »

:appl: :tup:

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: YAUM - Yet Another Update Manager

Post by highend »

v0.83 BETA released (download in first post)...

Changelog:
! Pre- file (script) wasn't saved correctly when manually edited
* Removed all tabs in the main GUI and replaced them with a normal
configuration dialog window
* Added a menu to the main window
* Window position is now always stored, .ini option value removed
+ Initial translation support
German + English are the first available languages
+ YAUM now looks for WM_POWERBROADCAST events. On Suspend to Ram or
Hibernate wakeup it will not immediately try to look for an update
but instead wait for the configured time
If you want to translate to your own language, drop me a pm...
One of my scripts helped you out? Please donate via Paypal

Filehero
Posts: 2644
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: YAUM - Yet Another Update Manager

Post by Filehero »

+ YAUM now looks for WM_POWERBROADCAST events. On Suspend to Ram or
Hibernate wakeup it will not immediately try to look for an update
but instead wait for the configured time
By the red message I see, the delay seems not yet sufficient, I guess.

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: YAUM - Yet Another Update Manager

Post by highend »

How should it work?

- Let's say the update check is configured to 5m = 300 secs check interval

Last timer run was: 18:02:00
You go into suspend mode at: 18:04:00
You wake up from suspend mode at: 18:06:00

01. Should the timer now run on 18:09:00?
It would have run on 18:07:00 but it was suspended for two minutes and these two minutes are added now?

or
02. Should the timer now run on 18:11:00?
The full duration until the next timer check would be updated from the moment you woke up from suspend?

01 has the disadvantage that you can still see the red message if you went into suspend only a few seconds before the update check would have been run again
02 has the disadvantage that it can take a few hours till the next update check if the update check is configured with "h" instead of "m"
One of my scripts helped you out? Please donate via Paypal

Filehero
Posts: 2644
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: YAUM - Yet Another Update Manager

Post by Filehero »

Hi Highend,

I'm about to leave for a family weekend trip. I'll check once I'm back (or find some time on the road. :lol:)

cheers,
Fileheo

Filehero
Posts: 2644
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: YAUM - Yet Another Update Manager

Post by Filehero »

Filehero wrote:Hi Highend,

I'm about to leave for a family weekend trip. I'll check once I'm back (or find some time on the road. :lol:)
Edit:
If I set it up as a Windows task I would bound it to the event "User have logged in". Mapped to your examples 02 is closest.
With my interval "1 h" wouldn't the next update check the be at 1'5" after (re-)login?



cheers,
Fileheo

Filehero
Posts: 2644
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: YAUM - Yet Another Update Manager

Post by Filehero »

Is this supposed to become the headless YAUM?

Drooling ... :)

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: YAUM - Yet Another Update Manager

Post by highend »

Is this supposed to become the headless YAUM?
Kind of :eh: Now that XY knows how to update itself properly priorities
have shifted a bit
One of my scripts helped you out? Please donate via Paypal

Post Reply