Bad update when removing .app bundle
Bad update when removing .app bundle
- Subject: Bad update when removing .app bundle
- From: Mel Walker <email@hidden>
- Date: Fri, 10 Jun 2011 12:54:16 -0700
Greetings.
I have an python-based application created by py2app, which includes the Python.framework inside the application bundle in the usual Frameworks folder.
For reasons related to code signing, I want to remove the application bundle before installing and update. That's easy enough to do in the preflight, of course. The problem is that when I'm doing an upgrade install, the Python.framework contents are missing, like so:
Contents->Frameworks->Python.framework->Versions->(nothing)
There are two similar lines in the log, like the following, in between the beginning of the install "PackageKit: ----- Begin install -----" and "PackageKit: Executing script "./preflight"...".
Jun 10 12:45:58 Godzilla installd[33095]: PackageKit: Skipping component "com.foo.bar.bundle1" (2.6.0-2.6.0-300103-5) because the version 2.6.5-2.6.5-*-* is already installed.
2.6.5 is the version of python itself, which isn't going to change.
Is there a way to tell the installer to *always* unpack everything? Is there a way to delete the app bundle *before* the unpacking, so it unpacks everything?
I should also mention we aren't using packagemaker to create the installer package; we going the mkbom/pax/plist route.
Any help will be appreciated.
--Mel
_______________________________________________
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