- This topic is empty.
-
AuthorPosts
-
December 16, 2008 at 11:34 pm #1653
I am trying to copy a IE shortcut to a profile desktop. It errors out as
Try 1:FTP Failed:1. îT Line#: 27 Cmd:SF messageboardmessageboard C:Documents and SettingsproDesktopmessageboard
Here is line 27 of the script.
SF “messageboard” “C:Documents and SettingsproDesktopmessageboard” What am I doing wrong?
joec.December 17, 2008 at 7:11 am #14688Have you tried XC instead of SF?
CG
December 17, 2008 at 7:56 pm #14698Can you post the actual line from your .rsp script?
December 17, 2008 at 8:06 pm #14699Here is the script: It errors out at the first SF. thanks much for looking at this.
[Script]
;
;
;Query user with Now and 5 min delay option
;
QU “3”
;
;Check OS and Lock User
;
CO “XP”
LU
;
;Copy over new files
;
SF “messageboard” “C:Documents and SettingsproDesktopmessageboard”
SF “messageboard” “C:Documents and SettingsAll UsersDesktopmessageboard”
;
;Local Pause for package to install
;
LP “30”
;
ELDecember 18, 2008 at 7:30 am #14704Again, what about XC instead of SF? What about first copy all files to a temp dir and then copy them to the right directory? Maybe the files are locked because they already exist in the target dir.
CG
December 18, 2008 at 4:50 pm #14707Just replying to Cory’s request. Was busy yesterday, hope to try your recommendations today or tomorrow.
Once again all, thanks much for all your help.
Joe C.December 19, 2008 at 8:13 pm #14716Ok, tried the XC. This doesn’t work.
The script starts, system reboots but it hangs at the “Your system Administrator is now reconfiguring this Client” window.
Here is the script[version]
Number=messageboard
Description= Place a shortcut to the messageboard on Pro desktop
OS=XP
Category=Other Packages
USE_Pxe=NO[Script]
;
;Date: 10-Dec-2008
;Prepared by Joe Carreiro
;
;This is for use with CRL Nevada Wyse v90 terminals running Windows XPe
;
;
;Query user with Now and 5 min delay option
;
QU “3”
;
;Check OS and Lock User
;
CO “XP”
LU
;
;Copy over new files
;
XC “messageboard*” “C:Documents and SettingsproDesktop”
;
;
;Local Pause for package to install
;
LP “30”
;
ELIn WDM, it shows the package status as “NOW”.
Folder name is messageboardmessageboard
the subfolder contains the shortcut named “messageboard” along with the CRC.Txt file.
What am I doing wrong? 🙁December 19, 2008 at 9:08 pm #14717OK, an update. I attempted to SF a simple text file using the same script, only changing the files contained in the folder to a txt file and changing the command from SF to XC.
Could my network be blocking this?
We are in a new building with an entire new cisco network.December 20, 2008 at 10:25 am #14719Don’t think so. If simple copy works for you I wouldn’t test around a lot anymore. Instead of that I would modify the files to copy and the script to a way that it copies the needed files to your unit and rename them to the correct ending afterwards.
So your messageboard.lnk looks like messageboard.txt and will be renamed after the copy process.
Can you test this?CG
December 22, 2008 at 9:55 pm #14725OK, I have it down to an issue with the shortcut itself. So we decided to change tactics. A co-worker who is a wiz at vb scripts created one for me to create the shortcut on the desktop.
So now we run into this problem. During the EX command we get the following error: Create Process failed: 193
It copies the vbs file to the correct directory. It just does not run it…
The same vbs file works on my laptop.
Thanks again, and
Happy Holidays!The script is:
[Script]
;Date: 22-DEC-2008
;Prepared by Joe Carreiro
;This is for use with CRL Nevada Wyse v90 terminals running Windows XPe
;
;Query user with Now and 5 min delay option
;
QU “3”
;
;Check OS and Lock User
;
CO “XP”
LU
;
;Copy and execute new files
;
SF “messageboard.vbs” “C:messageboard.vbs”
EX “C:messageboard.vbs”
;
LP “60”
;
DF “C:messageboard.vbs”
ELDecember 23, 2008 at 8:26 am #14728Can you run the vbs manually on the V90L?
What about the renaming option I suggested before?CG
December 23, 2008 at 7:35 pm #14736I tried the renaming of the shortcut, but it still sees it as on IE Shortcut and fails to copy.
So we gave up on that and had a co-worker create a VBS script that creates an Icon on the all user desktop.
The problem is the file copies over but fails to execute. Or errors out with this error Try 1:CreateProcess Failed:2 C:messageboard.vbs Line#: 29 Cmd:EX C:messageboard.vbs
This error is if I use the following
EX “C:messageboard.vbs”
If I use this EX
EX “C:windowssystem32cmd.exe /i C:messageboard.vbs”
It shows as running in WDM but does not execute on the device.I can manually run the vbs script and it works.
Not sure why this is. Here is the script. Note some lines are REMd out
[version]
Number=messageboard
Description= Copies messageboard.vbs to c: and then executes the file. This will place a IE icon on all users desktop.
OS=XP
Category=other packages
USE_Pxe=NO[Script]
;
;Date: 22-DEC-2008
;Prepared by Joe Carreiro
;
;This is for use with CRL Nevada Wyse v90 terminals running Windows XPe
;
;
;Query user with Now and 5 min delay option
;
QU “3”
;
;Check OS and Lock User
;
CO “XP”
LU
;
;Copy over new files
;
SF “messageboard.vbs” “C:messageboardmessageboard.vbs”
;EX “C:windowssystem32cmd.exe /i C:messageboard.vbs”
EX “C:messageboard.vbs”
;
LP “60”
;
;DF “C:messageboardmessageboard.vbs”
ELDecember 24, 2008 at 7:01 pm #14748Ok, we solved the problem. Turns out you need to use the CSCRIPT comand. We changed the EX as follows:
EX “CSCRIPT C:messageboardmessageboard.vbs”
Adding the CSCRIPT command.
Thanks for everything and Happy Holidays!!! And Happy Festivus! -
AuthorPosts
- You must be logged in to reply to this topic.