Re: Struggles with PackageMaker and Iceberg scripts.
Re: Struggles with PackageMaker and Iceberg scripts.
- Subject: Re: Struggles with PackageMaker and Iceberg scripts.
- From: Xochitl Lunde <email@hidden>
- Date: Fri, 12 Mar 2010 16:13:36 -0600
Nick Peelman <email@hidden> wrote on 03/12/2010
02:46:13 PM:
> You don't want a VolumeCheck. you want an InstallationCheck.
IIRC
> VolumeCheck runs as the user gets to select where they want to
> install (its what can create those painful delays when you reach
> that stage). Its lets you disqualify volumes as possible install
locations.
>
> Two Links that may help (and where the basis for the relevant info
> in my page about it comes from):
>
> http://developer.apple.
> com/Mac/library/documentation/DeveloperTools/Conceptual/SoftwareDistribution/Legacy_Requirements/Legacy_Requirements.
> html#//apple_ref/doc/uid/10000145i-CH13-SW1
>
> http://developer.apple.
> com/Mac/library/documentation/DeveloperTools/Conceptual/SoftwareDistribution/Legacy_Requirements/Legacy_Requirements.
> html#//apple_ref/doc/uid/10000145i-CH13-1032302-CHEFBDAB
>
> InstallationCheck and its corresponding strings file just has to be
> present inside the Resources folder, I don't think any other
> configuration is required. Adding them via Iceberg's additional
> resources should work, as long as they are named exactly right.
>
> -nick
Thank you! Your links and sample project were
extremely helpful. I noticed a couple problems with my files.
* I didn't have a semicolon following each string.
* I had named my file "InstallCheck.strings",
not InstallationCheck.strings. You might double check your website
http://www.peelman.us/tech/apple-packages/
. That is where it says "InstallCheck.strings"
* I had additional requirements defined in Iceberg
for things which the IPE was able to check for by default. Once I
removed all my Requirements, the InstallationCheck items were executed
exactly like in your sample.
* I also added semicolons after my exit statements
in my shell script. Not sure if those were necessary? Well
it works now!
TYVM!
Xo _______________________________________________
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