Update problem caused by folder package?

Asked by Frank W. Tag

Hi!

I had to switch from packageMaker (which makes flattened packages) to Iceberg (which makes folder packages). After broadcasting the update as a zip-File sparkle loaded it correctly but aborted with an unspecific error. The last update with the zipped flattend package worked well. The appcast is correctly updated.

Could it be that Sparkle can't handle folder packages? Or what am I doing wrong ...?

Thanks!

Question information

Language:
English Edit question
Status:
Solved
For:
Sparkle Edit question
Assignee:
No assignee Edit question
Solved by:
Frank W. Tag
Solved:
Last query:
Last reply:
Revision history for this message
Andy Matuschak (andymatuschak) said :
#1

That may well be the case! Sparkle uses the built-in installer tool, and bundle packages are deprecated, so it's possible that they're not longer supported by the tool?

I wonder: does it work on Leopard?

Revision history for this message
Frank W. Tag (frank-tag-hamburg) said :
#2

Actually launching the pkg locally works fine.

I tried pkgutil (--flatten) to convert to flat package but this file leads to an error while executing in installer.

Another hint: I use the run script phase described somewhere here to generate distribution target including zipping and signing. Maybe here is the Problem ...?

Revision history for this message
Andy Matuschak (andymatuschak) said :
#3

Hm. Try creating a barebones .pkg with Package Maker, then with Iceberg. Run pkgutil --flatten on the Iceberg package, then compare their contents. What's different?

Revision history for this message
Frank W. Tag (frank-tag-hamburg) said :
#4

I found out that the author of Iceberg provides a beta version of "Packages" which is able to build flat pkg. I tried out that and sparkle updates normally. Obviously there is something going wrong concerning bundle packages - don't know if in sparkle, in the insteller app or in the communication of both of them.

Thanks - my current problem is solved.

Revision history for this message
Andy Matuschak (andymatuschak) said :
#5

Thanks for doing the detective work. I'll update this if I find anything out about bundle packages.