Difference between revisions of "Using Robocopy in WPKG"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(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...")
 
Line 8: Line 8:
 
I found out, that with the /log: parameter, robocopy works as intended
 
I found out, that with the /log: parameter, robocopy works as intended
  
<install cmd='robocopy.exe %SOFTWARE%\pdfsam\ "%PROGRAMFILES%\PDFSAM" /mir /log:%temp%' />
+
<install cmd='robocopy.exe %SOFTWARE%\pdfsam\ "%PROGRAMFILES%\PDFSAM" /mir /log:%temp%\robocopy.log' />
  
 
for %temp% you can use any other path you like
 
for %temp% you can use any other path you like

Revision as of 14:11, 13 July 2011

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%\robocopy.log' />

for %temp% you can use any other path you like