Just had a disastrous rollout because of this very issue. What I found is that copy.exe is not a very robust utility to copy files particularly when it comes to checking if the file actually copied, it also appears to operate slightly differently between XP and 2K. Because of this hidden in the MS KB is an article that tells you to use ROBOCOPY. Now here is the problem, when you run the script from the command line its all hunky dory, no problems at all. When wpkg.js runs as a service however it doesnt have any output. ROBOCOPY hangs. The solution was to redirect the robocopy command to nul (ie: "%tools%\ROBOCOPY /R:5 \\DIR1 \\DIR2 file1 file2 > nul" without the quotes). It now works just fine. Robocopy also allows you to set the interpacket gap, slows the copy, but improves the experience for the user. Redirecting to > nul goes for a lot of other commands too.
The /R:5 is to allow for failed connections /R:n : number of Retries on failed copies - default is 1 million. -- Michael Chinn User Support Officer - Information Technology Great Barrier Reef Marine Park Authority PO Box 1379 TOWNSVILLE, QLD 4810 Ph 07 47500874 Fax 07 4772 6093 [EMAIL PROTECTED] ================================================================================ If you have received this transmission in error please notify us immediately by return email and delete all copies. Any unauthorised use, disclosure or distribution of this email is prohibited. ================================================================================ Steven Bambling wrote, On 03/05/2007 02:02: > All, > > I"m trying to install the Cisco VPN Client via WPKG. I am having > some issues because the client needs to run locally on the box > because it interrupts network connection. > > I am trying to copy the needed files off of my server onto the local > box via WPKG so I can then run the msi installer. > > I have tried to use the copy command " copy \\path\on\server \windows > \temp\dir but this fails when running as a command from wpkg ...but > works locally on the box. > > Does anyone have suggestions for installing the client another way or > better yet assistance on getting the files copied to the local box? > > > Thanks, > STEVE > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > wpkg-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wpkg-users > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ wpkg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wpkg-users
