• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problems with the InstallationCheck script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with the InstallationCheck script


  • Subject: Re: Problems with the InstallationCheck script
  • From: Peter Bierman <email@hidden>
  • Date: Mon, 3 Dec 2007 17:01:18 -0800

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


References: 
 >Problems with the InstallationCheck script (From: "John Poole" <email@hidden>)

  • Prev by Date: Problems with the InstallationCheck script
  • Next by Date: Re: Problems with the InstallationCheck script
  • Previous by thread: Problems with the InstallationCheck script
  • Next by thread: Re: Problems with the InstallationCheck script
  • Index(es):
    • Date
    • Thread