Re: IFPkgFlagInstalledSize not working on OS X < 10.4?
Re: IFPkgFlagInstalledSize not working on OS X < 10.4?
- Subject: Re: IFPkgFlagInstalledSize not working on OS X < 10.4?
- From: Stéphane Sudre <email@hidden>
- Date: Fri, 3 Mar 2006 23:18:37 +0100
On vendredi, mars 3, 2006, at 05:54 PM, Rob Hudson wrote:
Hello,
We are creating an installer for an educational program and are having
some trouble. Our installer works fine on 10.4, but when we test it
on 10.2 or 10.3 it is not displaying the correct size that we put into
the Info.plist file for key "IFPkgFlagInstalledSize".
Is this key supported on older OS X platforms? If so, where else can
we look to correct this?
Some more information: We are attempting to create a hybrid install
on the same CD for both Mac and Windows. Since this program contains
media content and is large, if we package the media content in the
installer for both platforms it will not fit on a single CD. We are
using a postflight script to copy the media files to the selected
destination. On the Windows side, we are using NSIS installer and
doing effectively the same thing. The short version is that the media
content is not in the .pkg directory, but in a directory at the root
level of the CD. Does the Mac installer try to calculate the size
itself, and thus the media content isn't part of the calculation?
Thanks for any guidance and help.
Stupid idea of the day:
1. Create a package A with the media content.
2. Create a package B installing nothing.
3. Take the Archive.pax[.gz] file from package B and use it to replace
the one in package A.
4. Add your postflight script in package A.
5. Now you can run an installation of package A. The installer is
looking at the .bom to know how big is the installed media. And when
the installation runs, it's not installing anything from the
Archive.pax.gz. So your postflight script can just do its stuff.
The quick test I made on 10.2.8 tend to prove it just works.
My $0.02
_______________________________________________
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