• 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: How to access resources in flat distribution package
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to access resources in flat distribution package


  • Subject: Re: How to access resources in flat distribution package
  • From: Kevin Molcard <email@hidden>
  • Date: Thu, 21 Jun 2012 16:46:21 +0200

The installer will run on the user computer so this is not an option :).

Kevin
On 6/21/12 4:42 PM, Joshua Levitsky wrote:
I know this costs $, but I use SSD instead of standard disks on my machines that build packages and OS images. I have a few processes that went from 4 hours down to 20 minutes simply by doing that.

--
Joshua Levitsky

On Thursday, June 21, 2012 at 10:40 AM, Kevin Molcard wrote:

Hi Kushneet,
thanks for the tip.
Actually, I found this trick after posting to the list.
I am still wondering if there is another solution because it could take
some time on big packages.

Kevin
On 6/21/12 4:03 PM, Khushneet Inder Singh wrote:
Hi Kevin,

What you can do is first expand the FLAT package using pkgutil --expand
FlatPackage ExpandedPackage. After expanding the package you can
manipulate /access package contents. Once done with manipulations and
changes you can flatten back the expanded package by using pkgutil
--flatten ExpandedPackage ChangedFlatPackage.

Regards,
Khushneet

-----Original Message-----
From: installer-dev-bounces+ksingh=email@hidden <mailto:email@hidden> [mailto:installer-dev-bounces+ksingh=email@hidden <mailto:email@hidden>] On
Behalf Of Kevin Molcard
Sent: Thursday, June 21, 2012 3:20 PM
To: Installer-Dev mailing-list
Subject: How to access resources in flat distribution package

Hi all,
I am trying to convert my package to flat distribution to be able to
sign it using productsign.
I am using Packages to build my package.
I have some resources that I have to access in my postflight script.
In bundle format I used this:

ROOT_PATH=`sudo dirname "$1"`
RESOURCES_PATH="$ROOT_PATH/../Resources/"

This seems to not work with flat packages.
Does anyone know how to access these resources?

Thanks in advance.
Kevin

--
Kevin Molcard
Sofware Engineer

ARTURIA
4 chemin de Malacher
38240 Meylan - France
Tel: +33 438 020 555
Fax: +33 438 020 525

http://www.arturia.com

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden <mailto:email@hidden>)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden <mailto:email@hidden>

--
Kevin Molcard
Sofware Engineer

ARTURIA
4 chemin de Malacher
38240 Meylan - France
Tel: +33 438 020 555
Fax: +33 438 020 525

http://www.arturia.com



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden <mailto:email@hidden>)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden <mailto:email@hidden>


--
Kevin Molcard
Sofware Engineer

ARTURIA
4 chemin de Malacher
38240 Meylan - France
Tel: +33 438 020 555
Fax: +33 438 020 525

http://www.arturia.com



_______________________________________________
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: 
 >How to access resources in flat distribution package (From: Kevin Molcard <email@hidden>)
 >RE: How to access resources in flat distribution package (From: Khushneet Inder Singh <email@hidden>)
 >Re: How to access resources in flat distribution package (From: Kevin Molcard <email@hidden>)
 >Re: How to access resources in flat distribution package (From: Joshua Levitsky <email@hidden>)

  • Prev by Date: Re: How to access resources in flat distribution package
  • Next by Date: Re: How to access resources in flat distribution package
  • Previous by thread: Re: How to access resources in flat distribution package
  • Next by thread: Re: How to access resources in flat distribution package
  • Index(es):
    • Date
    • Thread