Yesterday I had a really strange problem while adding a .wsp file to the SharePoint solution store: “The file manifest.xml does not exist in the solution package”. After renaming the .wsp extension to .cab I browsed the package and I found the missing manifest.xml:
So this is really strange… After doing a search I found the following solution provided by Eugene Rosenfeld [MOSS MVP].
Error description
I made a solution package and tried it to install it in the SharePoint solution store with the following command:
stsadm.exe -o addsolution -filename solution.wsp
Surprisingly I got the following error message:
This happens if the file size of your solution package is larger than the default size of 1.44 MB.
Solution
You need to add the following lines of code to your .ddf file:
.Set CabinetFileCountThreshold=0
.Set FolderFileCountThreshold=0
.Set FolderSizeThreshold=0
.Set MaxCabinetSize=0
.Set MaxDiskFileCount=0
.Set MaxDiskSize=0
After recreating the solution package I was able to deploy it again to my SharePoint farm.