SimpleUpdater — Rev. 10.69 / 2016/06/19

Discuss and share scripts and script files...
Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: SimpleUpdater — Rev. 10.66 - 1st Year Anniversary

Post by Marco »

Just wanted to thank all the users of SimpleUpdater, who during this year helped me making this a better script.
The project is not dead, quite the contrary: I'm considering a complete rewrite in Python that should allow to graceful close XY (instead of killing it), background monitoring to detect when updates are available (a form of integration with another project, the Unofficial XYplorer Archive), no need for additional txt and vbs files.
Python is a new language for me, so it'll take time...
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

nerdweed
Posts: 648
Joined: 25 Feb 2012 07:47

Re: SimpleUpdater — Rev. 10.66 - 1st Year Anniversary

Post by nerdweed »

Offtopic: A bug on the forum. The previous post by me (last on second page) was made on 23rd or 24th Sep, but it shows today's date.

Filehero
Posts: 2720
Joined: 27 Feb 2012 18:50
Location: Windows 11@100%

Re: SimpleUpdater — Rev. 10.66 - 1st Year Anniversary

Post by Filehero »

Hi Marco,
Marco wrote:... I'm considering a complete rewrite in Python that should allow to graceful close XY (instead of killing it), background monitoring to detect when updates are available.....
now I see why you were mentioning Python. :wink:

How much portability will/can you preserve with this approach? I think about something like SC to check wether Python is available..

Nevertheless, this script still rocks da XY world. Thanks heaps for that. :D


Cheers,
Filehero

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: SimpleUpdater — Rev. 10.66 - 1st Year Anniversary

Post by TheQwerty »

Filehero wrote:How much portability will/can you preserve with this approach? I think about something like SC to check wether Python is available..
It's possible to package Python programs into an executable that can be run on any computer even if Python is not installed - in a manner very similar to what can be done with AutoHotkey - so it should be fine.


Marco, I have a small Python program which takes a directory of XYplorer archives, extracts xyplorer.exe for each, and then renames the archive with the executable's version. If I remember I'll try to put it up on GitHub as you might find it useful - if not pester me next week. ;) I may even still have code for a hash calculator + GUI in Python, but I'm not sure where it currently resides.

I also might be able to contribute to your effort come next month if you'd like some help.

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

Re: SimpleUpdater — Rev. 10.66 - 1st Year Anniversary

Post by Marco »

Filehero wrote:How much portability will/can you preserve with this approach? I think about something like SC to check wether Python is available..
Complete portability, of course :D The script will be compiled into a standard exe. I want it to be self contained, as the description on the first page says: an exe (an maybe some service files, depending on what I'll use to compile - http://www.py2exe.org/ , http://www.pyinstaller.org/ ), an ini file containing the settings and a language file. That's it.

EDIT/ADD: Thanks TheQwerty, that would help a lot, since I could learn some commands from a real world code. Also, it could become part of the routine for mantaining the Unofficial Archive. Thank you heaps!
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

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

Re: SimpleUpdater — Rev. 10.66 - 1st Year Anniversary

Post by klownboy »

Thank you for SimpleUpdater. Since it saw the light of day, there hasn't been a single XY beta or normal release that I've downloaded and installed without it. :appl:

Filehero
Posts: 2720
Joined: 27 Feb 2012 18:50
Location: Windows 11@100%

Re: SimpleUpdater — Rev. 10.66 - 1st Year Anniversary

Post by Filehero »

TheQwerty wrote:It's possible to package Python programs into an executable that can be run on any computer even if Python is not installed - in a manner very similar to what can be done with AutoHotkey - so it should be fine..
Marco wrote:Complete portability, of course :D The script will be compiled into a standard exe. I want it to be self contained, as the description on the first page says: an exe (an maybe some service files, depending on what I'll use to compile - http://www.py2exe.org/ , http://www.pyinstaller.org/ ), an ini file containing the settings and a language file. That's it.
This sounds very exciting! :D


Cheers,
Filehero

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

Re: SimpleUpdater — Rev. 10.66 / 2013/04/24

Post by Marco »

klownboy wrote:Thank you for SimpleUpdater. Since it saw the light of day, there hasn't been a single XY beta or normal release that I've downloaded and installed without it. :appl:
These are the comments that make a developer happy :D
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: SimpleUpdater — Rev. 10.66 / 2013/04/24

Post by serendipity »

Thanks Marco, for your amazing support.
Using python would be great! I am also learning python these days, would be interesting to follow this project. :)

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: SimpleUpdater — Rev. 10.66 / 2013/04/24

Post by LittleBiG »

SimpleUpdater stopped working here. Clicking on the button, I don't have the first menu any more, which would be for the actual checking. Once I ran it, then it simply disappeared.

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

Re: SimpleUpdater — Rev. 10.66 / 2013/04/24

Post by Marco »

Have you tried re-downloading the script? Also, can you post here the code you use in your button to call it?
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: SimpleUpdater — Rev. 10.66 / 2013/04/24

Post by LittleBiG »

Marco wrote:Have you tried re-downloading the script? Also, can you post here the code you use in your button to call it?
Yes, I redownloaded the SimpleUpdater.xys. I always used by a button with simply load "SimpeUpdater.xys".

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

Re: SimpleUpdater — Rev. 10.66 / 2013/04/24

Post by Marco »

Code: Select all

 load "SimpleUpdater";
Can you repro with a fresh build?
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: SimpleUpdater — Rev. 10.66 / 2013/04/24

Post by LittleBiG »

Sure.
Attachments
supd.gif
supd.gif (631.37 KiB) Viewed 2656 times

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

Re: SimpleUpdater — Rev. 10.66 / 2013/04/24

Post by Marco »

Ok, I got it. Unfortunately is a bug within XY and the unset command, not the script itself. Gonna tell Don in the Bug reports. Did it start behaving like this only today?
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

Post Reply