I'm trying to build a package file that will copy all files and folders from the package folder to the destination folder within \\\$(sciroot)\\public\\
My Oninstall section is below, but what ever I try I cannot get it to recursively copy files in folder. It simply copies whatever is in the top level folder of dataroot
OnInstall platform="windows">
Copy -sources "\\\$(package)\\dataroot\\*.*" -destdir "\\\$(sciroot)\\public\\CSCS_Files" -copylist "\\\$(package)\\logs\\installedfiles.txt" –recursive –writable
StdOut \\\$(package)\\logs\\install.log
StdErr \\\$(package)\\logs\\install.log
I've put the –recursive tag just about everywhere on the copy e.g after sources and destdir and also –[recursive].
The install.log is showing..
Copy Files
Copy source specification: C:\\Program Files\\Accelrys\\AEP\\apps\\scitegrity\\cs2_search\\dataroot\\*.*
Destination directory: C:\\Program Files\\Accelrys\\AEP\\public\\CSCS_Files
Copy list file: C:\\Program Files\\Accelrys\\AEP\\apps\\scitegrity\\cs2_search\\logs\\installedfiles.txt
WARNING: No files found to copy
The top level CSCS_Files is created. If I place 1 textfile in the dataroot folder it copies that (see below)
Copy C:\\Program Files\\Accelrys\\AEP\\apps\\scitegrity\\cs2_search\\dataroot\\New Text Document.txt -> C:\\Program Files\\Accelrys\\AEP\\public\\CSCS_Files\\New Text Document.txt
But it won't recursively find any folder. Can someone tell me the correct syntax for recursive work
Thanks
Joe
