FolderItem.lasterror = -10661 - what is it?

Hi
I am using the MBS Updater kit but it is returning an error -10661 after downloading the updated file and trying to launch it. Does anyone know that this error code means as it is not listed in the manual for folder item.

A Google search on “error 10661” found this:

https://discussions.apple.com/thread/2434115?tstart=0

Seems like an OS X error indicating an invalid executable.

Thanks Paul - I’ll have to switch back to Google as could find nothing relevant on Bing.

I’d just like to mention that osstatus.com is a fantastic resource for OS X error codes.

But funnily enough, 10661 isn’t in it.

I thought it might be something to do with trying to install an app when other apps of the same name are residing elsewhere on the hard disk - similar to the problem with apples package installers - but it wasn’t. So I’m still looking for a solution.

The trick with many of these errors is to have Xcode installed and then search the C header files, eg. with Spotlight. That turns up “LSInfo.h” which contains this line:

  kLSExecutableIncorrectFormat  = -10661, /* No compatible executable was found*/

Unfortunately, that’s not more than what Paul already figured out.