Re: Installer chewing up CPU time on 10.3 while running postinstall
Re: Installer chewing up CPU time on 10.3 while running postinstall
- Subject: Re: Installer chewing up CPU time on 10.3 while running postinstall
- From: Stéphane Sudre <email@hidden>
- Date: Sat, 14 Oct 2006 10:13:28 +0200
On samedi, octobre 14, 2006, at 12:32 AM, Peter Mulholland wrote:
Hi,
I'm releasing a game using Apple Installer, one package for each
language the game supports. Due to the need to fit it all onto one CD,
we have used 7zip to compress the data.
The package installs the game's app bundle, and then a "postinstall"
script runs which extracts the game data into the bundle's Resources
folder.
On 10.4 this is fine, and runs fairly fast (10 minutes on an old
400Mhz G4). On the same machine, under 10.3, it is excruciatingly
slow. Looking at whats going on using Activity Monitor shows the
Installer process using all of the CPU power, and 7za (the dearchiver)
using none. On 10.4, the dearchiver is quite rightly using the most
CPU power.
Whats going on here? We can't ship the game like that for 10.3 users,
and I can't just use the .pax format as it doesn't compress well
enough... not to mention all of this is fine on 10.4!
List of stupid ideas from most stupid to half stupid:
- are you using a postinstall or postflight script? It could be that
it's super fast on one machine because it's an upgrade.
- does the 7za work in Panther?
- what is the encoding and line ending of the script?
- could it be a permission issue?
- use Shark to see where Installer.app is claiming "All your CPU belong
to us".
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden