YAUM - Yet Another Update Manager

Discuss and share scripts and script files...
Post Reply
highend
Posts: 13274
Joined: 06 Feb 2011 00:33

YAUM - Yet Another Update Manager

Post by highend »

So this is a new update manager for XY...

Features:
- Portable
- Autoelevates if necessary (e.g. if it is stored inside XYplorer's installation folder or if it watches an installed XY version)
Ofc this requires an UAC prompt... For portable XYs, elevation is not required (unless you don't run XY with admin rights from there^^)
- Supports relative paths for XY's location
- Can check for beta versions, too
- Warns you, if the watched XY is currently running (and can't be closed by YAUM because of XYs elevation level) so you can save your work
Gracefully closes associated XY instances if you don't do it yourself (and YAUM has the same or higher elevation level)
Other XY instances (from a different folder) are not affected!
- Option to restart XY after updating (elevated / non elevated)
- Let's you postpone the next update check
Possible TODOs:
None atm...
Won't be implemented:
Auto-updating without showing the gui when XY is running (I don't want to be responsible if you loose your current XY workspace)
Displaying the changelog / what's new directly inside the updater
A mass-download mode (downloading all updates without applying them)
Any changes inside the "Settings" tab are saved automatically (on tab switch, on GUI close or Escape)!
"{Escape}" and the "Hide" button hide the GUI (no tray icon!)
Ctrl + Alt + Shift + y shows the GUI (default keyboard shortcut, can be changed in the gui)
Clicking on the close icon ("x" in the upper right corner) exits the updater

If you start it for the first time, the GUI pops up in the "Settings" tab so that you can choose you update check interval, if you want to check for beta versions as well, etc.

The internal unzip mechanism for the downloaded .zip file depends on the internal zip function of your OS...

How to use:
Place it wherever you want (in it's own directory or in XY's path)
Run it, make your settings...

Screenshots:
Main GUI.png
Main GUI.png (8.17 KiB) Viewed 5056 times
Configuration.png
Configuration.png (12.83 KiB) Viewed 5056 times
Download (current version):
YAUM_v0.8.4.1 BETA.zip
(395.2 KiB) Downloaded 314 times
Old version(s):
YAUM_v0.83.zip
(404.58 KiB) Downloaded 263 times
YAUM_v0.82.zip
(400.92 KiB) Downloaded 198 times
YAUM_v0.81.zip
(400.52 KiB) Downloaded 198 times
[Old download counter: 175]
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 »

[Changelogs]

v0.84 BETA
* Changed all urls to https
v0.83 BETA
! 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
v0.82 BETA
* 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
v0.80 BETA
- Fix for the change from http:// to https:// for the XYplorer domain
v0.73 BETA
- Window title: YAUM + version number (instead of YAUM [Elevated / Not elevated]
- Elevation status is now found in the groupbox caption in Update tab
- Postpone & next update check are limited to 5 mins min. and 48 days max.
The input boxes will not allow to set those limits lower / higher than min / max
49,7 days is the maximum time of an .ahk timer and I think we don't need to hammer XY update urls more often than 5 minutes...
- Bug fixed: YAUM was able to delete all files in it's directory when "Keep max. archive(s)" was set to 0
Now it handles downloaded archive file / backup folder deletion much more carefully (e.g. via recycle bin)
- Changed names of downloaded archives into "v<version number>_beta|official.zip"
- All code for closing elevated / non elevated XY instances should now be in place
If you see a message like this: "YAUM will autoclose your running XY instances if you use "Update now"..."
-> YAUM has the necessary permissions to close XY and will do so automatically
When you see this message: "You need to close all running XY instances first!"
-> YAUM is not elevated but a running XY instance is.
You need to close XY by yourself. When you do so, the "Update now" button get's reenabled and the messages is dismissed
v0.72 BETA
- Added option: Run always elevated
This will start YAUM with admin permissions (to be able to update e.g. a portable XY that runs with admin rights)
If you switch it on, a red remark pops up, reminding you, that you need to restart YAUM to actually make this setting active
If YAUM was already elevated, ofc no restart is required (and no red remark pops up)
This will allow YAUM to restart non elevated XY instances with user permissions (instead of elevating them, too) in the future.
- The window title will reflect if YAUM is running elevated or unelevated. The old title, if a new (beta) version is available, etc. was removed. That info is visible in the gui...
- The separate download window was removed. The download status is now integrated into the main gui. See the screenshot in the first post...
v0.71 BETA
- Bugfix for the "Check for updates each" edit values (they weren't set correctly after reading the .ini file)
- "Hide" button is gone. As a replacement, the minimize button of the window itself is back. It takes over that functionality
- The gui will now remember it's last active tab. So when you minimize it and use the keyboard shortcut it comes back with the last selected tab
- A few bugfixes for showing version numbers
- A click on "Update now" won't close the gui anymore
v0.7 BETA
- Hopefully all gui bugs are fixed now (updating + displaying controls)
- If the "Check for beta" checkbox on the Settings tab is switched, don't close & reopen the gui for an update check
- Update checks are now done automatically if that checkbox is toggled and you get back to the Update tab
- Added a "Check now" button for an immediate check
- Made the online detection more foolproof
- If a HTTP error occurs (version urls not reachable) you'll see the http status code
- If you're somehow offline, you'll see that as well
v0.6 BETA
- Changed: Postpone check + Check for updates use a new system to enter the value + format string
+ Bugfixes
+ Internal enhancements (better offline check)
v0.5 BETA
- Fixed showing a new official version as beta
- Fixed: Product version on official releases doesn't use the .0000 ending, therefore they were still found as updates even when on the same version already
- Fixed: If there was no update but "DoNotRunInBackground" was true, the app still used the background mode. No it exits directly...
v0.4 BETA
- Added a setting to store current window positions (off by default)
- Added a setting to not run in background
If switched on, the app exits after {Esc}, click on the close + update now button
The hide button get's disabled as well
- Bugfixes for multiple instances & non existing ini values on updates
v0.3 BETA
- Moved the links for beta changelog + what's new page behind the version number
- Added an option to change the hotkey that displays the GUI
Be careful, when you set it <empty>, you can't invoke the GUI manually anymore
- XY is only restarted when it was closed through YAUM itself!
- Added a setting for how many downloaded XY versions you want to keep
Hardcoded storage folder: .\!XY archives
If you change the setting in the GUI, the folder will be automatically created (>=1),
deleted (=0) and the oldest versions deleted if switched from a higher value to a lower one
(e.g. from 10 to 3 -> only the three latest survive)
v0.2 BETA
- Bug fixed: Autoelevation for storing the first .ini file will probably fail (on Vista+) when YAUM is stored in C:\ProgramFiles | C:\ProgramFiles(x86)
- Implemented: ; TODO: Recheck for updates immediately when [ ] Check for beta versions is changed
One of my scripts helped you out? Please donate via Paypal

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

Re: YAUM - Yet Another Update Manager

Post by admin »

Wow, works smooth and fast and looks good with the download progress, and has a cool name! :cup: :appl:

Two things:

- Can check for beta versions, too
Yes, but when I check this I have to restart YAUM to update the version number.

- Warns you, if the watched XY is currently running so you can save your work
It did not warn me, but simply closed XY.

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

Re: YAUM - Yet Another Update Manager

Post by highend »

Yes, but when I check this I have to restart YAUM to update the version number.
; TODO: Recheck for updates immediately when [ ] Check for beta versions is changed
- Warns you, if the watched XY is currently running so you can save your work
You did get the red message, didn't you?

See screenshot:
Warning.png
Warning.png (8.9 KiB) Viewed 6042 times
One of my scripts helped you out? Please donate via Paypal

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

Re: YAUM - Yet Another Update Manager

Post by admin »

Probably not, I never read red messages. Or TODO notes. :whistle:

OK, I stand by my first statement: the thing works well.

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

Re: YAUM - Yet Another Update Manager

Post by highend »

; TODO: Recheck for updates immediately when [ ] Check for beta versions is changed
Implemented. Still waiting for other (bug) reports before I push it...
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 »

v0.2 BETA posted. Changelog in 2nd post...
One of my scripts helped you out? Please donate via Paypal

Marco
Posts: 2347
Joined: 27 Jun 2011 15:20

Re: YAUM - Yet Another Update Manager

Post by Marco »

Source code?
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

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

Re: YAUM - Yet Another Update Manager

Post by highend »

Source code?
I'll probably add it when it's out of beta
One of my scripts helped you out? Please donate via Paypal

Stef123

Re: YAUM - Yet Another Update Manager

Post by Stef123 »

:appl: Extremely useful. YAHH (yet another highend highlight)

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

Re: YAUM - Yet Another Update Manager

Post by highend »

Sorry Stef, this had priority :/ Compactor is next^^
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 »

v0.3 BETA posted, changelog = 2nd post

The last 2 TODOs are of low priority...
One of my scripts helped you out? Please donate via Paypal

klownboy
Posts: 4109
Joined: 28 Feb 2012 19:27

Re: YAUM - Yet Another Update Manager

Post by klownboy »

Hi highend, very nice. This should be handy. After running (0.2 beta) for the first time and making the setting (my XY was already up to date), I wasn't able to bring up the interface again by double clicking on the file. I didn't see an icon any where in the taskbar yet I looked in the task manager and noticed 8 copies of yaum running. I terminated all running copies. I noticed you posted 0.3 beta so I attempted to run it and received the following error message.
yaum_Cap.JPG
yaum_Cap.JPG (18.5 KiB) Viewed 5957 times
As you know I use auto hotkey to make various key assignments and also use AHK ClipJump script (exe). I'm not sure if that may be an interface issue. I then deleted 0.3 beta and started the 0.2 beta. No interface came up or icon on taskbar though a copy was shown in Task Manager and additional yaum's came up if tried again. Any way to prevent the additional copies if it's running already? Thanks.

Edit 1: Sorry I can see now you bring it up from the hidden state with the hotkey. So I shouldn't have been double clicking to get it to come up, but then again you may want to look at eliminating multiple instances. I know users were asking for something that runs in the background and will check for updates periodically as this does, but as binocular222 stated, it might be nice to have an option for on demand use only as well. Thanks again. :appl: :tup:

Edit 2: By the way, when I came back from my run (which was mostly walking today), I booted the computer and re-started 0.3. beta and didn't receive the above error though AHK was loaded along with ClipJump on boot-up.
Last edited by klownboy on 31 Aug 2015 15:34, edited 2 times in total.
Windows 11, 22H2 Build 22621.1555 at 100% 2560x1440

binocular222
Posts: 1416
Joined: 04 Nov 2008 05:35
Location: Hanoi, Vietnam

Re: YAUM - Yet Another Update Manager

Post by binocular222 »

I get same error as klownboy.
P.S: Can U disable "running in background"? I just want to check whenever I explicitly call it.
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

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

Re: YAUM - Yet Another Update Manager

Post by highend »

v0.4 BETA posted, changelog in post nr. 2

@Ken
Should be fixed (for now and future updates)

@Binocular
Implemented

Atm the new official version (15.70.0000) is advertised as a beta. The next (v0.5 BETA) beta has already a fix for that...
One of my scripts helped you out? Please donate via Paypal

Post Reply