Copy Local Files Problem

Got a problem you cannot solve? Try here.
Post Reply
scarlson43017
Posts: 2
Joined: Mon Mar 24, 2008 2:29 pm

Copy Local Files Problem

Post by scarlson43017 »

Hello,

I am unable to get "Copy Local Files" to work. It simply appears to do nothing. I have tried with many different parameters, such as:

Copy Local Files C:\\todo.txt to C:\\todo2.txt
Copy Local Files C:\\a\\* to C:\\b
Copy Local Files C:\\a\\*.* to C:\\b
The files and directories exist and even the cases match. I have even stepped through with the debugger to validate the lines are being executed.

Am I doing something wrong?
Any suggestions for seeing why this does not work (e.g. logs, etc...)?

Thanks,

Scott
sdeschenes
Posts: 76
Joined: Wed Sep 12, 2007 3:34 pm

Post by sdeschenes »

Make sure you place those lines before Apply Install.
jimo
Posts: 342
Joined: Fri Aug 19, 2005 10:59 am
Location: Atlanta, GA
Contact:

Post by jimo »

Copy Local Files does not execute until the Apply Install command. If you need to copy files immediately before Apply Install use Call DLL and call the CopyFile Function of Kernel32.dll.
Jim Oswell
Software Engineering Manager, Dental
Greenway Health, LLC
http://greenwaymedical.com
scarlson43017
Posts: 2
Joined: Mon Mar 24, 2008 2:29 pm

Post by scarlson43017 »

sdeschenes wrote:Make sure you place those lines before Apply Install.
Thank you. Of course I had my "Copy Local Files" lines starting the very next line after Apply Install.

I suggest that InstallAware add this as a note to the online help for the "Copy/Move Local Files" command, as it appears multiple people have been burned by this.
Post Reply