Re: Package not building if Scripts folder contains any frameworks
Re: Package not building if Scripts folder contains any frameworks
- Subject: Re: Package not building if Scripts folder contains any frameworks
- From: Sravana Kumar <email@hidden>
- Date: Tue, 9 Mar 2010 10:02:40 +0530
Adding my application as part of resources folder is not possible; reasons are...
1. I am creating a component package not a distribution package. If we provide --resources agrument to packagemaker command line the out put is a distribution package not a component package. I can't make my package as a distribution package, because this package need to be added as a component package of another distribution package.
2. I can't access the executable from the postintall. Because my package is a flat package and installer is not extracting all resources to the temp location(next to postinstall). When i executed 'ls' command in the postinstall action script I am not seeing the assets I added as part of resources.
Regards,
-Sravana.
On Mon, Mar 8, 2010 at 9:44 PM, Karl Kuehn
<email@hidden> wrote:
On Mar 8, 2010, at 1:13 AM, Sravana Kumar wrote:
I could not add an application which is having a framework in side the scripts folder in 10.5 targeted pkgs. But I need to launch this application through one of the scripts (preinstall/postinstall).
I tried building the package with command line tool as well but no success.
The problem is that you should not have this in the Scripts folder, but rather it should go in the Resources folder. In the end they are going to wind up in the same place anyways (/Contents/Resources). The difference is that PacakgeMaker is evaluating everything in the Scripts folder as a potential script, and you application fails that test.
--
Karl Kuehn
_______________________________________________
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