To do this in WPI, just put them in your Install folder and run one of these commands, depending where you want the folder to copy to
{DIRCOPY} %wpipath%\Install\FolderToCopy %systemdrive%\FolderToCopyTo <-- To copy directly to the system drive (usually C:\)
{DIRCOPY} %wpipath%\Install\FolderToCopy %programfiles%\FolderToCopyTo <-- To copy directly to the Program Files directory
{DIRCOPY} %wpipath%\Install\FolderToCopy %systemroot%\FolderToCopyTo <-- To copy directly to the Windows directory
If it's just a single file, then use:
{FILECOPY} %wpipath%\PathToFile\File.txt %systemdrive%\PathToDestination\File.txt
You can still use %programfiles%, %systemroot%, etc. or not even use them at all if you know for sure the path where they will be going.
This post has been edited by chaoticyeshua: 06 March 2009 - 10:51 AM