Re: Problems with the InstallationCheck script
Re: Problems with the InstallationCheck script
- Subject: Re: Problems with the InstallationCheck script
- From: "John Poole" <email@hidden>
- Date: Mon, 3 Dec 2007 20:46:10 -0500
Hi Peter,
How do I go about embedding this logic in the distribution script? Is there a way to do this from the command line (i.e., when building packages using --root instead of --doc) or do I need to create a pmdoc file and edit it there?
Thanks,
John
On Dec 3, 2007 8:01 PM, Peter Bierman <
email@hidden> wrote:
Distribution script based packages (10.4 and later) don't execute
InstallationCheck scripts without a lot of manual tweaking. They are
a potential security vulnerability.
Your installation check logic should be written as a _javascript_
function and embedded in the distribution script.
There used to be some minimal documentation (the 10.4
installer
release note) about this online; I'm working to have it restored soon.
-pmb
At 7:30 PM -0500 12/3/07, John Poole wrote:
>Hi,
>
>I'm trying to make a package that executes an InstallationCheck
>script. I can build a package just fine but when I install the
>package the InstallationCheck script doesn't get called. I'm
>working with the latest and greatest PackageMaker (3.0.1) from the
>command line on 10.5.1.
>
>Here's the command line I'm using:
>
>/Developer/usr/bin/packagemaker
> --root PackageRoot
> --out Quux.pkg
> --version 1.2.3
> --title Quux
> --scripts scripts/
> --id com.quux.pkg
> --target 10.5
> --root-volume-only
>
>
>The InstallationCheck script I'm trying to run is in the scripts
>directory. Any ideas on what I'm doing wrong?
>
>Thanks,
>John
_______________________________________________
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