XY_Update downloader

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

XY_Update downloader

Post by highend » 10 Jan 2018 16:35

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 1054 times
and this when it is running elevated:
Elevated.png
Elevated.png (627 Bytes) Viewed 1054 times
Current version:
XY_Update downloader_v2018.01.18.zip
(398.13 KiB) Downloaded 31 times
Old versions:
XY_Update downloader_v2018.01.12.zip
(296.99 KiB) Downloaded 33 times
XY_Update downloader_v2018.01.11.zip
(296.92 KiB) Downloaded 31 times
One of my scripts helped you out? Please donate via Paypal or highend (at) web (dot) de

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

Re: XY_Update downloader

Post by highend » 10 Jan 2018 16:35

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 or highend (at) web (dot) de

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

Re: XY_Update downloader

Post by RalphM » 11 Jan 2018 03:36

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: W10 1809 Home x64 - XY: Current beta)

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

Re: XY_Update downloader

Post by highend » 11 Jan 2018 11:19

Would these help?

Non elevated:
non-elevated.png
non-elevated.png (5.47 KiB) Viewed 1142 times
Elevated:
elevated.png
elevated.png (5.37 KiB) Viewed 1142 times
One of my scripts helped you out? Please donate via Paypal or highend (at) web (dot) de

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

Re: XY_Update downloader

Post by RalphM » 11 Jan 2018 12:25

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: W10 1809 Home x64 - XY: Current beta)

Gandolf
Posts: 1018
Joined: 14 Jun 2004 20:19

Re: XY_Update downloader

Post by Gandolf » 11 Jan 2018 12:41

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.
Those people who think they know everything are a great annoyance to those of us who do.

admin
Site Admin
Posts: 47910
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: XY_Update downloader

Post by admin » 11 Jan 2018 15:54

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: 8349
Joined: 06 Feb 2011 00:33

Re: XY_Update downloader

Post by highend » 11 Jan 2018 16:46

The real size can be seen in the first post
One of my scripts helped you out? Please donate via Paypal or highend (at) web (dot) de

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

Re: XY_Update downloader

Post by RalphM » 12 Jan 2018 02:29

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: W10 1809 Home x64 - XY: Current beta)

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

Re: XY_Update downloader

Post by highend » 12 Jan 2018 08:52

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 or highend (at) web (dot) de

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

Re: XY_Update downloader

Post by RalphM » 12 Jan 2018 11:18

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: W10 1809 Home x64 - XY: Current beta)

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

Re: XY_Update downloader

Post by highend » 12 Jan 2018 12:14

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 1065 times
Non_Elevated_large.png
Non_Elevated_large.png (5.36 KiB) Viewed 1065 times
Elevated.png
Elevated.png (627 Bytes) Viewed 1066 times
Elevated_large.png
Elevated_large.png (5.39 KiB) Viewed 1066 times
One of my scripts helped you out? Please donate via Paypal or highend (at) web (dot) de

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

Re: XY_Update downloader

Post by RalphM » 12 Jan 2018 13:29

I can certainly see the difference between these two.
Ralph :-)
(OS: W10 1809 Home x64 - XY: Current beta)

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

Re: XY_Update downloader

Post by highend » 12 Jan 2018 13:42

Ok, file updated with new icons
One of my scripts helped you out? Please donate via Paypal or highend (at) web (dot) de

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

Re: XY_Update downloader

Post by highend » 12 Jan 2018 22:53

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 or highend (at) web (dot) de

Post Reply