I need to move a folder of files (+-100 or so) from within a .wsp file
Steps
1) Package up files into the wsp
2) When Feature is activated copy files to the filesystem (12\\LAYOUTS\\MyPackage)
3) When Feature removed delete the MyPackage folder
4) .......
5) Profit
The files do not need to be versioned etc by SharePoint.
You'll need to use the module element within the elements.XML file referenced by your feature definition; details here:
The module element is correct. To remove the files when you are done, use the code from my post which will delete any file that was created with the module element.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.