I am working with the latest 3.0b2 release and noticed that calling xcopy via !system call does not work.
I have a xcopy call which works flawlessly when called manually via command line but silently fails when piping it through !system.
(Note: I need !system as this is a compile time operation that must succeed before I can package data)
Here is a sample nsi script
!system 'xcopy'
!error "just exit"
Calling xcopy should return some output about invalid argument count etc, but xcopy is entirely silent. If I replace it with robocopy I get some output.
The really odd thing: I fired up Process Monitor and watched on Process Start of a valid xcopy call, it was something like that:
xcopy "d:\tool\*.pdb" "d:\dest\" /y /g /k /r /s /f
It copied everything. But then I ran the exact same line in nsis with !system and ProcMon displayed exactly the same Process start call. I diffed both parameter sets, same working directory, same command line but the call via !system did not proceed to copy files. Procmon even says that the second call had an exit code of 0.
It's everything cool except it does not copy files.