• 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: Flat Packages, Gatekeeper, and Resources
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Flat Packages, Gatekeeper, and Resources


  • Subject: Re: Flat Packages, Gatekeeper, and Resources
  • From: Stephane Sudre <email@hidden>
  • Date: Tue, 31 Jul 2012 23:32:39 +0200

On Tue, Jul 31, 2012 at 10:43 PM, Julian Devlin <email@hidden> wrote:
> With the distribution selected on the left, check the "Requirements" tab in
> the middle of the screen, click + at the bottom.
>
> As far as localizing the messages... I would guess that if there's an
> appropriate file in the Resources directory, it will be used.
>
> Generally, if you produce a flat package with the UI, you can then modify
> the files it contains as follows...
> 1. cd into an empty directory
> 2. xar -xf /path/to/flat.pkg
> 3. look at the files now present in the directory, modify them as you wish
> 4. xar --compression none -cf /newpath/to/flat.pkg .
>
> I would guess that you may be able to find some Apple package that uses an
> Installation Check with localized strings in order to determine the proper
> format...
>
>
> If anyone knows how to do an InstallationCheck that uses a compiled program,
> that's the part I can't find.... I'm guessing it's impossible :(

InstallationCheck in distribution are usually achieved through
JavaScript. That being said, there's a JavaScript API to run a shell
script (or executable).

The difficult part (at least with PackageMaker) is to embed the shell
script or executable into the flat distribution. This requires to
expand the flat distribution and then flatten it. The script or
executable needs to be in a Scripts archive at the same level as the
Resources folder.

--
Packaging Resources - http://s.sudre.free.fr/Packaging.html
 _______________________________________________
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

  • Follow-Ups:
    • RE: Flat Packages, Gatekeeper, and Resources
      • From: Philip Lukidis <email@hidden>
References: 
 >Flat Packages, Gatekeeper, and Resources (From: Philip Lukidis <email@hidden>)
 >Re: Flat Packages, Gatekeeper, and Resources (From: Julian Devlin <email@hidden>)
 >RE: Flat Packages, Gatekeeper, and Resources (From: Philip Lukidis <email@hidden>)
 >Re: Flat Packages, Gatekeeper, and Resources (From: Julian Devlin <email@hidden>)

  • Prev by Date: Re: Customize or suppress the Installation Type pane
  • Next by Date: RE: Flat Packages, Gatekeeper, and Resources
  • Previous by thread: Re: Flat Packages, Gatekeeper, and Resources
  • Next by thread: RE: Flat Packages, Gatekeeper, and Resources
  • Index(es):
    • Date
    • Thread