Mysterious .app/Finder corruption?
Mysterious .app/Finder corruption?
- Subject: Mysterious .app/Finder corruption?
- From: Andy O'Meara <email@hidden>
- Date: Thu, 31 Mar 2011 19:30:11 -0500
Hey everyone,
I've been trying to get insight into what appears to be an inane bug either within the OS X package installer or the Finder.
We use a build script that builds all our .bundles and .apps and then calls package maker via the command line to make our .pkg. Our package creates a new dir in the Applications dir (if it doesn't already exist), and expands the .app into this directory. What's happening is that after the installer runs our package, our .app fails to load our bundle. Yet if I run the .app that the package was given (ie. if I run the app before it gets sucked into the pkg), the app runs fine -- it's as if somehow the .app created by the installer is somehow not right.
But it gets stranger... If I *rename* the app via the Finder to anything else (and it says in the same dir), the app then works. When I rename it back to its original name, then it doesn't work again. Stranger yet, if I drag the app to the desktop, then it works. But when I drag it back to its original dir, it doesn't work. Crazy!
I can repro all of this on multiple 10.6 machines, and installing on a clean machine seems to have no effect. Rebooting has no effect. If I zip the .app, trash the original .app, and unzip the archive, the new .app still does not work.
What could possibly be changing when the bundle name is renamed or moved? I'd submit this as a radar, but I have no way to submit it since the process of moving the app causes the Finder to do stuff behind the scenes to regenerate whatever special sauce it uses to launch the app. Perhaps there's a command line utility that causes something within the Finder to be regenerated?
Thanks,
Andy
_______________________________________________
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