SimpleUpdater — Rev. 10.69 / 2016/06/19
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
On Win 7, XY 11.80.0100, SU v10.42 I think....
I breifly read though the OP and the XYS file-- haven't yet read all of the replies to the OP though, also I don't have any knowledge of the two predecessors that the script is based on..
So could be that I don't have stuff set up right...
I pointed a toolbar button to the script and this is the series of messages.
Then press 'continue' and get
Then press 'continue' and get
Then press continue and it exits...
It does appear to have added the INI as expected. Also, it creates, then removes the folder at the same level as the XYS and the INI. (If I click 'cancel' the folder is not removed.)
Is my setup wrong maybe?
Note also that my laptop is setup to be used on a network at work. I've tried running the script while plugged in at work and also while on Wifi at home.. Get same result.
I breifly read though the OP and the XYS file-- haven't yet read all of the replies to the OP though, also I don't have any knowledge of the two predecessors that the script is based on..
So could be that I don't have stuff set up right...
I pointed a toolbar button to the script and this is the series of messages.
Then press 'continue' and get
Then press 'continue' and get
Then press continue and it exits...
It does appear to have added the INI as expected. Also, it creates, then removes the folder at the same level as the XYS and the INI. (If I click 'cancel' the folder is not removed.)
Is my setup wrong maybe?
Note also that my laptop is setup to be used on a network at work. I've tried running the script while plugged in at work and also while on Wifi at home.. Get same result.
ste(phen|ve) kunkel
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
What happens if you type %winsysdir%\cscript.exe in XY AB and press Enter?
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
Not positive, but I think the first time "finds" it, and pressing Enter again runs it...Marco wrote:What happens if you type %winsysdir%\cscript.exe in XY AB and press Enter?
ste(phen|ve) kunkel
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
Try this:
-enable script stepping
-load SU 10.42
-execute the script up to line of code 75 included: line 75 should generate the $command variable
-inspect the content of $command and copy it from "C:\Windows\..." onwards ("cmd /c " is useless in this test)
-open a command prompt (Win+R)
-paste that command and execute
What happens?
-enable script stepping
-load SU 10.42
-execute the script up to line of code 75 included: line 75 should generate the $command variable
-inspect the content of $command and copy it from "C:\Windows\..." onwards ("cmd /c " is useless in this test)
-open a command prompt (Win+R)
-paste that command and execute
What happens?
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
Huh... Weird...
[Window Title]
%winsysdir%\cscript.exe
[Content]
Windows cannot find '%winsysdir%\cscript.exe'. Make sure you typed the name correctly, and then try again.
[OK]
I suspect that this is a symptom of the way my laptop is setup. It never used to be a problem with XP, but since my work place upgraded me to 7, certain actions cause extreme system slowdowns when I'm online at home. (There's no problem when I'm hooked up to the server at work.) Invoking a "Save As" dialog, an "Open" dialog, or invoking the Win Explorer Context menu all cause problems. It makes me want to throw my laptop out the freakin' window several times per day.
Ashes to ashes--Windows to windows.
(just made that quote up)
I'll go try on my Desktop (Vista) and see if there's a difference.
Extra note: The bit I pasted included "Sun, 20 Jul 1969 08:17:40 GMT" Is that normal?
[Window Title]
%winsysdir%\cscript.exe
[Content]
Windows cannot find '%winsysdir%\cscript.exe'. Make sure you typed the name correctly, and then try again.
[OK]
I suspect that this is a symptom of the way my laptop is setup. It never used to be a problem with XP, but since my work place upgraded me to 7, certain actions cause extreme system slowdowns when I'm online at home. (There's no problem when I'm hooked up to the server at work.) Invoking a "Save As" dialog, an "Open" dialog, or invoking the Win Explorer Context menu all cause problems. It makes me want to throw my laptop out the freakin' window several times per day.
Ashes to ashes--Windows to windows.
(just made that quote up)
I'll go try on my Desktop (Vista) and see if there's a difference.
Extra note: The bit I pasted included "Sun, 20 Jul 1969 08:17:40 GMT" Is that normal?
ste(phen|ve) kunkel
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
Wait a sec, %winsysdir% wasn't resolved to C:\Windows\system32?
When you do the steps above, what's the content of $command?
Btw yes, that date is ok.
When you do the steps above, what's the content of $command?
Btw yes, that date is ok.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
The bit I pasted into the run command was
%winsysdir%\cscript.exe //nologo "C:\Users\swkunkel\AppData\Roaming\XYplorer\Scripts\SimpleUpdater\HTTP_checker.vbs" "http://www.xyplorer.com/download/xyplor ... nstall.zip" "Sun, 20 Jul 1969 08:17:40 GMT" "C:\Users\swkunkel\AppData\Roaming\XYplorer\Scripts\SimpleUpdater\HTTP_response.txt"
%winsysdir%\cscript.exe does appear to equal C:\Windows\System32\
At least it does when I paste it in the AB of XY...
Also, I just tried 10.42 on my Vista machine, and it did appear to have the same error messages. (It seemed to run though to the end the first time, but popup up the error messages the second time through.) At any rate, I guess it's not just a problem with my laptop setup.
%winsysdir%\cscript.exe //nologo "C:\Users\swkunkel\AppData\Roaming\XYplorer\Scripts\SimpleUpdater\HTTP_checker.vbs" "http://www.xyplorer.com/download/xyplor ... nstall.zip" "Sun, 20 Jul 1969 08:17:40 GMT" "C:\Users\swkunkel\AppData\Roaming\XYplorer\Scripts\SimpleUpdater\HTTP_response.txt"
%winsysdir%\cscript.exe does appear to equal C:\Windows\System32\
At least it does when I paste it in the AB of XY...
Also, I just tried 10.42 on my Vista machine, and it did appear to have the same error messages. (It seemed to run though to the end the first time, but popup up the error messages the second time through.) At any rate, I guess it's not just a problem with my laptop setup.
ste(phen|ve) kunkel
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
%winsysdir% in an XY-only variable.
Try doing the steps outlined above and then pasting in the command prompt
Try doing the steps outlined above and then pasting in the command prompt
Code: Select all
C:\Windows\cscript.exe //nologo "C:\Users\swkunkel\AppData\Roaming\XYplorer\Scripts\SimpleUpdater\HTTP_checker.vbs" "http://www.xyplorer.com/download/xyplorer_11.90_beta_noinstall.zip" "Sun, 20 Jul 1969 08:17:40 GMT" "C:\Users\swkunkel\AppData\Roaming\XYplorer\Scripts\SimpleUpdater\HTTP_response.txt"
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
Again, it "couldn't find" the location.
I also tried it as C:\Windows\System32\... Which did cause a command window to open.
I also tried it as C:\Windows\System32\... Which did cause a command window to open.
ste(phen|ve) kunkel
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
Can you reproduce with a fresh install?
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
Just to clarify: I'm stepping through the script up to line 75, then invoking Win+R and running the thing.Marco wrote:Can you reproduce with a fresh install?
And was it supposed to have the \system32\, or should I leave that off?
ste(phen|ve) kunkel
-
- Posts: 3358
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
No %winsysdir% wont work in run command, its a XY only variable.kunkel321 wrote:Just to clarify: I'm stepping through the script up to line 75, then invoking Win+R and running the thing.Marco wrote:Can you reproduce with a fresh install?
And was it supposed to have the \system32\, or should I leave that off?
Can you confirm pasting below code in XY's address bar takes you to csscript.exe?
Code: Select all
%winsysdir%\cscript.exe
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
As far as he told me, "%winsysdir%\cscript.exe" works as expected in his XY. Serendipity help me, I'm running out of ideas
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]
-
- Posts: 3358
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
I think you pasted the wrong path below, you have it as:Marco wrote:As far as he told me, "%winsysdir%\cscript.exe" works as expected in his XY. Serendipity help me, I'm running out of ideas
Code: Select all
C:\Windows\cscript.exe
Code: Select all
C:\Windows\System32\cscript.exe
I think we should make it clear that system32 is required in that path and then use the resolved path after step 75 like you suggested to test the rest.
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
I guess it's quite the same as I'd encountered on Win 8, so I assume
- cscript will be resolved in an cmd shell with admin rights
- C:\Windows\System32\cscript will be resolved in a no-admin cmd shell
- adding C:\Windows\System32 to the env variable Path will solve the issue
Cheers,
Filehero
- cscript will be resolved in an cmd shell with admin rights
- C:\Windows\System32\cscript will be resolved in a no-admin cmd shell
- adding C:\Windows\System32 to the env variable Path will solve the issue
Cheers,
Filehero