
Originally Posted by
benmorris
Hi, I think I had the same problem and it's taken me a while to figure it out. I think it's just a zip problem. To make the zip, create a folder with the same name as the DisplayName value in the Info.plist, put your files in this folder, and then make the zip from this folder, being sure to specify relative file paths only, and normal zip compression. The folder name is picked up as the root path name for the files/folders in the zip. Then rename the .zip to .wgz, and it should install okay. I'm still working this out myself, so please let me know if this works for you.
E.g. I was having problems getting the LoggingSampleWgt to install if I remade the zip myself, and (I think) I solved the problem by creating the zip inside a directory named LoggingSample. The Info.plist contains:
<key>DisplayName</key>
<string>LoggingSample</string>
*CONFIRMATION*
This is definitely solving the problems I had, to validate your zip file ensure that the "Folder" value in the zip file e.g. when you open the zip in PKZip, WinZip or whatever, is identical to the name in your Info.plist.