Uhh... Flat packages are supported on 10.5 and later. 10.4 (Tiger) recognizes only "bundle" style packages.
-Greg On Jun 2, 2011, at 4:27 PM, Bill Coderre wrote: 10.4 and later support what's called "flat" packages. They are a single file, which contains a directory structure archived using the "xar" archive format. It's just like people sometimes "zip" a folder into a single file.
Flattening the directory into a single file, and making sure that all the "good data" is inside the archive was an intentional decision, partially to address this particular problem.
The Mac OS X command pkgutil can expand or flatten the structure, and the man page is not half bad, by the way.
Anycase, if you are shipping software for 10.4 and later, using flat packages is a good idea. They also feature _javascript_-based distribution files, which in my opinion are vastly easier and more powerful than the old "bundle" stuff.
On Jun 2, 2011, at 3:56 PM, Michele Corum wrote:
The solution to the question was as follows:
I need to make sure to set my minimum target for 10.5 Leopard and the .pkg will save as a single file which will then be seen as a single file when accessed via smb, cifs and http.
I guess it’s another PackageMaker setting that changes arbitrarily when reopening a saved .pmdoc.
Michele Corum
Macintosh Engineer/Developer
aap3 at Cisco Systems, Inc.
400 East Tasman Drive, SJ12-4, F3
San Jose, California 95134
Desk 408.853.3430
Cell 925.586.6173
email@hidden
From: Allen Hancock <email@hidden>
Date: Thu, 26 May 2011 19:10:53 -0500
To: Michele Corum <email@hidden>
Cc: Installer-Dev mailing-list <email@hidden>
Subject: Re: .pkg stored on Windows Servers
On May 26, 2011, at 7:08 PM, Michele Corum wrote:
I have created a simple distribution .pkg. When it is copied to a Windows
2003 server share, the .pkg is no longer recognized as a single file, rather
it shows up as a directory.
Two simple solutions are:
Build it as a flat package (if the technical restrictions are compatible with your contents & scripts)
or store the .pkg in a .dmg file, which should mount fine off the dmg, and be installable.
If you care about how the presentation to your end users, I highly recommend DMG Canvas by araelium.com <http://araelium.com>
Another solution which might be suggested, storing the pkg in a .zip, is less desireable, as your users will have to remember to copy the zip to their computer before the decompress it.
Hope this helps!
Allen Hancock | CEO <http://www.watchmanmonitoring.com/>
Twitter <http://twitter.com/watchmanmonitor> - Facebook <http://www.facebook.com/pages/Watchman-Monitoring/160959583918652> - Web <http://www.watchmanmonitoring.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
|