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.65 / 2013/03/12

Post by Marco »

MikeHsiao wrote:Here is the Chinese Traditional File.
非常感謝您!
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

Michael Lu
Posts: 158
Joined: 24 Jan 2013 14:26

Re: SimpleUpdater - Rev. 10.65 / 2013/03/12

Post by Michael Lu »

I get an error when running this script in Windows 7 x64.Please check it.
The Chinese message in screenshot means "System cannot find the specified file.".
simpleupdatererror.jpg
simpleupdatererror.jpg (62.81 KiB) Viewed 3741 times

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

Re: SimpleUpdater - Rev. 10.65 / 2013/03/12

Post by Marco »

When you get this message could you please abort the script and check if the file "HTTP_response.txt" in <xyscripts> exists?
If so try raising the Delay value in SimpleUpdater.ini to something higher, like 2000 or 2500.
Let me know.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

Michael Lu
Posts: 158
Joined: 24 Jan 2013 14:26

Re: SimpleUpdater - Rev. 10.65 / 2013/03/12

Post by Michael Lu »

No, there's no "HTTP_response.txt" file in <xyscripts> when the error occurs.

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

Re: SimpleUpdater - Rev. 10.65 / 2013/03/12

Post by Marco »

Ok.
Run the modified version attached below. It will switch to stepped execution at line 39, showing you something like

Code: Select all

run
----
cmd /k C:\Windows\System32\cscript.exe //nologo "C:\Dati\Marco\Programmi\XYplorer\Data\Scripts\SimpleUpdater\HTTP_checker.vbs" "http://www.xyplorer.com/download/xyplorer_12.30_beta_noinstall.zip" "Fri, 15 Mar 2013 09:09:02 GMT" "C:\Dati\Marco\Programmi\XYplorer\Data\Scripts\SimpleUpdater\HTTP_response.txt"
----

----
1
----
1
Please send me a screen or a copy/paste of what you see.
Then click Continue.
A DOS prompt should appear. There should be nothing except a line waiting for a command, like

Code: Select all

C:\Dati\Marco\Programmi\XYplorer\Data\Scripts>_
I suspect we could find useful info in this window, please report what you see there.
Then you can close such window and abort the script.
Attachments
SimpleUpdater.xys
(49.31 KiB) Downloaded 189 times
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

Michael Lu
Posts: 158
Joined: 24 Jan 2013 14:26

Re: SimpleUpdater - Rev. 10.65 / 2013/03/12

Post by Michael Lu »

run
----
cmd /k C:\Windows\System32\cscript.exe //nologo "J:\Programs\xyplorer\Data\Scripts\SimpleUpdater\HTTP_checker.vbs" "http://www.xyplorer.com/download/xyplor ... nstall.zip" "Sun, 20 Jul 1969 08:17:40 GMT" "J:\Programs\xyplorer\Data\Scripts\SimpleUpdater\HTTP_response.txt"
----

----
1
----
1
And the Dos prompt said :

Code: Select all

System can't fine the specified file.
J:\Programs\xyplorer\Data\Scripts>
BTW, my Windows was install in J:\Windows.

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

Re: SimpleUpdater - Rev. 10.65 / 2013/03/12

Post by Marco »

Michael Lu wrote:BTW, my Windows was install in J:\Windows.
That explains everything. I'll update a tweaked version soon.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

Michael Lu
Posts: 158
Joined: 24 Jan 2013 14:26

Re: SimpleUpdater - Rev. 10.65 / 2013/03/12

Post by Michael Lu »

Marco wrote:
Michael Lu wrote:BTW, my Windows was install in J:\Windows.
That explains everything. I'll update a tweaked version soon.
I found the problem, too.

Code: Select all

cmd /c C:\Windows\System32\cscript.exe
"C:\Windows" should not be hard coded. I think it should be replaced with an Enviroment Variable.

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

Re: SimpleUpdater - Rev. 10.65 / 2013/03/12

Post by Marco »

Michael Lu wrote:
Marco wrote:
Michael Lu wrote:BTW, my Windows was install in J:\Windows.
That explains everything. I'll update a tweaked version soon.
I found the problem, too.

Code: Select all

cmd /c C:\Windows\System32\cscript.exe
"C:\Windows" should not be hard coded. I think it should be replaced with an Enviroment Variable.
EV was creating some problems on Win8. I'll try to bypass cscript entirely and rely on system association...
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

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

Re: SimpleUpdater - Rev. 10.65 / 2013/03/12

Post by Marco »

Try these. Feedback from Win8 users is appreciated.
Attachments
SimpleUpdater.xys
%SystemRoot%\system32
(49.31 KiB) Downloaded 171 times
SimpleUpdater.xys
%winsysdir%
(49.25 KiB) Downloaded 175 times
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

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

Re: SimpleUpdater - Rev. 10.65 / 2013/03/12

Post by Filehero »

Marco wrote:Try these. Feedback from Win8 users is appreciated.
Testing requires a new beta right?

It's time for another kudos: great script!! (now appreciating Session Manager...)


Cheers,
Filehero

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

Re: SimpleUpdater - Rev. 10.65 / 2013/03/12

Post by Marco »

Filehero wrote:
Marco wrote:Try these. Feedback from Win8 users is appreciated.
Testing requires a new beta right?

It's time for another kudos: great script!! (now appreciating Session Manager...)


Cheers,
Filehero
Nope, if these works then you just get the "already uptodate" message in the status bar. Else the scripting window pops up with "can't find the specified file".
Kudos greatly appreciated as always ofc :D
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

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

Re: SimpleUpdater - Rev. 10.65 / 2013/03/12

Post by Filehero »

Marco wrote:Nope, if these works then you just get the "already uptodate" message in the status bar.
Got it using either version. :appl:

Which one do you recommend?


Cheers,
Filehero

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

Re: SimpleUpdater - Rev. 10.65 / 2013/03/12

Post by Marco »

Filehero wrote:
Marco wrote:Nope, if these works then you just get the "already uptodate" message in the status bar.
Got it using either version. :appl:

Which one do you recommend?


Cheers,
Filehero
I don't know, depends on the weather :D
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

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

Re: SimpleUpdater - Rev. 10.65 / 2013/03/12

Post by Filehero »

Marco wrote:I don't know, depends on the weather :D
That's f***ing bad over here, a :bug: so to say. :mrgreen:

So, I'll take the

Code: Select all

%SystemRoot%\system32
route because that's the path I added to my windows path variable.


Cheers,
Filehero

Post Reply