XY_Update downloader

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

XY_Update downloader

Post by highend »

Whole purpose of this tool: Download XY updates...

Marco keeps this great archive of XY versions alive:
viewtopic.php?f=7&t=9679&start=255

And this tools does everything that's necessary to download all (future) XY versions
(official and beta ones), calculates the necessary checksums, renames and stores
them in a path of your choice...

The .ini file (it will be automatically created, once you startup the tool):

Code: Select all

[General]
IntervalCheck=300
IncludeBetaVersions=1
ArchivePath=
XYplorerPath=
OnUpdateSaveSettings=1
UnzipAppPath=#tools
CreateSubfolders=1
ShowTrayNotifications=1
DownloadURLPrefix=https://www.xyplorer.com/download/
OfficialVersionURL=https://www.xyplorer.com/version.php
BetaVersionURL=https://www.xyplorer.com/version_beta.php
IntervalCheck is in seconds
If ArchivePath is empty, the current directory is used, otherwise state a full path to the final destination path here
Only change the UnzipAppPath entry if you want to move it to a different location
It contains the v6.0 unzip.exe file from http://www.info-zip.org/UnZip.html
If CreateSubfolders is 1, the major / minor version folders will be created under ArchivePath
E.g. if the current version is v18.60.0102 Beta, then <ArchivePath>\18\60\... will be used


The .ini file must be modified manually and you need to quit and restart XY_Update downloader.exe to
read in the new values

You can put XY_Update downloader.exe wherever you want (even in UAC protected folders), it will autoelevate
itself if necessary. It is portable, it doesn't write anything into the registry
If it is running non-elevated, it will use this tray icon:
Non_Elevated.png
Non_Elevated.png (592 Bytes) Viewed 3710 times
and this when it is running elevated:
Elevated.png
Elevated.png (627 Bytes) Viewed 3710 times
Current version:
XY_Update downloader_v2018.01.18.zip
(398.13 KiB) Downloaded 147 times
Old versions:
XY_Update downloader_v2018.01.12.zip
(296.99 KiB) Downloaded 142 times
XY_Update downloader_v2018.01.11.zip
(296.92 KiB) Downloaded 144 times
One of my scripts helped you out? Please donate via Paypal

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

Re: XY_Update downloader

Post by highend »

Code: Select all

v2018.01.18
Added: A new context menu item was added: Update XYplorer
       It will be enabled when a new version was downloaded successfully
       After updating XYplorer the menu will be disabled until the next
       version was downloaded

       Make sure that this application runs with the necessary permissions
       if you want to update an XYplorer installation that resides e.g.
       in a path that is protected by User Access Control (UAC)!

       .ini settings:
       XYplorerPath. Default = "" [empty]
       If it's a valid path, you can now use the systray icon context menu
       to update XYplorer to the latest stored version
       OnUpdateSaveSettings. Default = 1 [true]
       By default XYplorer will be gracefully shut down and settings are
       saved while doing this. Set it to 0 to NOT save settings!
       When no XYplorer instance is running, this setting is ignored


v2018.01.12
Fixed  : When UnzipAppPath in the .ini file was empty, a wrong path was used for unzip.exe

Changed: Again, using new icons for the .exe and non-elevated / elevated tray icons
         because of problems for color blind people


v2018.01.11
Added: .ini setting: CreateSubfolders. Default = 1 [true]
       If it's true, major + minor version numbers are added as subfolders

Changed: Using new icons for the .exe and non-elevated / elevated tray icons
One of my scripts helped you out? Please donate via Paypal

RalphM
Posts: 1932
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: XY_Update downloader

Post by RalphM »

Just a little side note:
There is a significant percentage (8%) of men out there with a green-red color blindness (I'm one of them) who will have a problem to see the difference between your tray icon with either a green or orange square. Even sitting next to each other in your post above they look the same to me. Switching to other color combinations would certainly improve the experience for people affected.

For further info see: http://www.colourblindawareness.org/colour-blindness/
Ralph :)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)

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

Re: XY_Update downloader

Post by highend »

Would these help?

Non elevated:
non-elevated.png
non-elevated.png (5.47 KiB) Viewed 3798 times
Elevated:
elevated.png
elevated.png (5.37 KiB) Viewed 3798 times
One of my scripts helped you out? Please donate via Paypal

RalphM
Posts: 1932
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: XY_Update downloader

Post by RalphM »

I was actually trying to make a serious point here but I can't make anybody listen.
Slightly disappointed though I have to say.
Ralph :)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)

Gandolf

Re: XY_Update downloader

Post by Gandolf »

I listen, and understand; but then I was a voluntary helper for both the R.N.I.B. and Guide Dogs for the blind, so I have worked a lot with people who have sight deficiencies. Far too many people do not understand the problems partially sighted people have.

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

Re: XY_Update downloader

Post by admin »

RalphM wrote:I was actually trying to make a serious point here but I can't make anybody listen.
Slightly disappointed though I have to say.
:? Highend was just proposing icons that also differ in shape. OK, it would help to see them in original size to really evaluate them.

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

Re: XY_Update downloader

Post by highend »

The real size can be seen in the first post
One of my scripts helped you out? Please donate via Paypal

RalphM
Posts: 1932
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: XY_Update downloader

Post by RalphM »

Apologies, I interpreted the oversized version of the icons as an attempt to make a joke.
If the same icons have been put into the first post in original size then I have to say it didn't solve the problem for me.
Ralph :)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)

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

Re: XY_Update downloader

Post by highend »

it didn't solve the problem for me
Ok, but maybe you should suggest <something> that would actually help?
E.g. two distinguishable colors with their RGB values (because all I ever see on sites
for color blind people is: Avoid something, not: Use something) and a shape that you
can identify as different from another

But maybe this isn't even necessary. It doesn't seem there is a lot of interest in such
a tool anyway so I probably just keep a mirror of Marcos work on my own
One of my scripts helped you out? Please donate via Paypal

RalphM
Posts: 1932
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: XY_Update downloader

Post by RalphM »

My sidenote's intention wasn't just to change your tools icons but to increase awareness to such shortcomings of quite a few people out there.
If you're looking for advice on what to do (rather than what to avoid) let's say use yellow and blue instead of green and red.
Ralph :)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)

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

Re: XY_Update downloader

Post by highend »

For non color-blind people yellow isn't really a good color (low contrast to white) but...

What about these:
Non_Elevated.png
Non_Elevated.png (592 Bytes) Viewed 3721 times
Non_Elevated_large.png
Non_Elevated_large.png (5.36 KiB) Viewed 3721 times
Elevated.png
Elevated.png (627 Bytes) Viewed 3722 times
Elevated_large.png
Elevated_large.png (5.39 KiB) Viewed 3722 times
One of my scripts helped you out? Please donate via Paypal

RalphM
Posts: 1932
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: XY_Update downloader

Post by RalphM »

I can certainly see the difference between these two.
Ralph :)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)

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

Re: XY_Update downloader

Post by highend »

Ok, file updated with new icons
One of my scripts helped you out? Please donate via Paypal

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

Re: XY_Update downloader

Post by highend »

Update is in the first post...

Code: Select all

v2018.01.12
Fixed  : When UnzipAppPath in the .ini file was empty, a wrong path was used for unzip.exe

Changed: Again, using new icons for the .exe and non-elevated / elevated tray icons
         because of problems for color blind people
One of my scripts helped you out? Please donate via Paypal

Post Reply