Re: SimpleUpdater
Posted: 10 Sep 2012 20:13
Now the update is detected.
But then a script error comes up.
Cheers,
Filehero
Cheers,
Filehero
Forum for XYplorer Users and Developers
https://www.xyplorer.com/xyfc/
yes, just missed one line. See check in 2 minutes.Filehero wrote:Now the update is detected. But then a script error comes up.
Cheers,
Filehero
Code: Select all
$downloadurl="http://www.xyplorer.com/download/xyplorer_full_noinstall.zip";Fixed it, I'm up to date now!serendipity wrote:forgot to add url for official version n the script: grab this:
Thanks!Filehero wrote:Fixed it, I'm up to date now!serendipity wrote:forgot to add url for official version n the script: grab this:
Did I already say that this is a nice little script?
Filehero
Actually, you can *always* use a url in the form of http://www.xyplorer.com/download/xyplor ... nstall.zip to download the latest possible XY build, be it a beta or a new stable/major.serendipity wrote:forgot to add url for official version n the script: grab this:
or simply add this in the //Download Official release section of the script.:Code: Select all
$downloadurl="http://www.xyplorer.com/download/xyplorer_full_noinstall.zip";
True that the latest official release is same as last beta. But i like to grab the one from official site rather than beta club because the version number of XYplorer.exe is not the same for the beta and official version.Marco wrote:Actually, you can *always* use a url in the form of http://www.xyplorer.com/download/xyplor ... nstall.zip to download the latest possible XY build, be it a beta or a new stable/major.serendipity wrote:forgot to add url for official version n the script: grab this:
or simply add this in the //Download Official release section of the script.:Code: Select all
$downloadurl="http://www.xyplorer.com/download/xyplorer_full_noinstall.zip";
Code: Select all
run "cmd /c ping -n 5 127.0.0.1 > .....Yes, it pings local host 5 times, I don't know any other way to wait inside command prompt.Filehero wrote:Serendipity,
care to explain the purpose of the ping-statement? Is it to delay the unzip action?
Code: Select all
run "cmd /c ping -n 5 127.0.0.1 > .....
Thanks,
Filehero
Didn't know that there's no "wait".serendipity wrote:.., I don't know any other way to wait inside command prompt.
Code: Select all
$v = getkey("Code", "Register", "<xydata>\XYplorer.ini");What are you trying to accomplish exactly?klownboy wrote:Hi serendipity, Thanks for the input on tweaking SimpleUpdater so that it doesn't save the configuration. Everything works fine.
I was wondering though if the script could be taken a step further such that it grabs the registration number from XYplorer, inputs it in Help / Update Registration Details... and then does a restart. I've been playing around making attempts to do that with not much luck...still a noob, unfortunately. I was able to get the registration number using:and command #725 opens the update registration screen, but I can't input the "key" into the window. The window opens with the cursor on the "name" so we would have to tab into the "key" block and then paste it in, hit enter and restart. Would this or maybe should I ask could this be done using setkey after getkey as oppose to opening the "Update Registration Details..." screen? Any help would be greatly appreciated. I've been looking at the jackie original post (very complex - not simple) for a XYplorer updater http://www.xyplorer.com/xyfc/viewtopic.php?f=7&t=2886 updated recently by drewkeller.Code: Select all
$v = getkey("Code", "Register", "<xydata>\XYplorer.ini");
Thanks,
Ken
I don't understand, you update registration details before every update?klownboy wrote:Hi serendipity, Thanks for the input on tweaking SimpleUpdater so that it doesn't save the configuration. Everything works fine.
I was wondering though if the script could be taken a step further such that it grabs the registration number from XYplorer, inputs it in Help / Update Registration Details... and then does a restart. I've been playing around making attempts to do that with not much luck...still a noob, unfortunately. I was able to get the registration number using:and command #725 opens the update registration screen, but I can't input the "key" into the window. The window opens with the cursor on the "name" so we would have to tab into the "key" block and then paste it in, hit enter and restart. Would this or maybe should I ask could this be done using setkey after getkey as oppose to opening the "Update Registration Details..." screen? Any help would be greatly appreciated. I've been looking at the jackie original post (very complex - not simple) for a XYplorer updater http://www.xyplorer.com/xyfc/viewtopic.php?f=7&t=2886 updated recently by drewkeller.Code: Select all
$v = getkey("Code", "Register", "<xydata>\XYplorer.ini");
Thanks,
Ken
klownboy wrote: I get the following or something similar in the title bar, "XYplorer v10.60 updated from v10.50.0023". Isn't that the case with everyone's Titlebar after an update whether it's a beta or not? I then have to go into the Help / Update Registration Details and input the serial number "key" and do a restart, and then the title bar changes to "XYplorer v11.60".