Page 10 of 21

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

Posted: 14 Mar 2013 17:49
by Marco
MikeHsiao wrote:Here is the Chinese Traditional File.
非常感謝您!

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

Posted: 17 Mar 2013 01:45
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 3742 times

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

Posted: 17 Mar 2013 10:51
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.

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

Posted: 17 Mar 2013 11:33
by Michael Lu
No, there's no "HTTP_response.txt" file in <xyscripts> when the error occurs.

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

Posted: 17 Mar 2013 12:17
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.

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

Posted: 17 Mar 2013 13:53
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.

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

Posted: 17 Mar 2013 13:54
by Marco
Michael Lu wrote:BTW, my Windows was install in J:\Windows.
That explains everything. I'll update a tweaked version soon.

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

Posted: 17 Mar 2013 14:00
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.

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

Posted: 17 Mar 2013 17:04
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...

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

Posted: 17 Mar 2013 18:16
by Marco
Try these. Feedback from Win8 users is appreciated.

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

Posted: 17 Mar 2013 19:24
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

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

Posted: 17 Mar 2013 19:31
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

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

Posted: 17 Mar 2013 19:57
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

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

Posted: 17 Mar 2013 20:07
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

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

Posted: 17 Mar 2013 20:16
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