Using Robocopy in WPKG
From WPKG | Open Source Software Deployment and Distribution
Revision as of 13:48, 13 July 2011 by 80.69.206.48 (Talk) (Created page with "If you use WPKG with robocopy, you have to set the /log: variable in Robocopy, otherwise the Copyprocess will fail (at least in Windows 7 Professionell 64 Bit German, haven´t te...")
If you use WPKG with robocopy, you have to set the /log: variable in Robocopy, otherwise the Copyprocess will fail (at least in Windows 7 Professionell 64 Bit German, haven´t testet it with 32 bit).
i tried to copy a whole folder with the following install command: <install cmd='robocopy.exe %SOFTWARE%\pdfsam\ "%PROGRAMFILES%\PDFSAM" /mir' />
As a result, only a few files were copied, and the script hangs till timeout
I found out, that with the /log: parameter, robocopy works as intended
<install cmd='robocopy.exe %SOFTWARE%\pdfsam\ "%PROGRAMFILES%\PDFSAM" /mir /log:%temp%' />
for %temp% you can use any other path you like