|Nov 18, 2012, 10:05 AM||#1|
How to build a Mac OS X Installer Package from these files?
Already tried many ways: pkgbuild, productbuild, PackageMaker, Packages application...
The structure of the flat package that I want to build:
Distribution - xml script MacBookPro2011EFIUpdate.pkg - flat package Resources - resources folder, contains language localizations
productbuild error: Cannot copy package "MacBookPro2011EFIUpdate.pkg" into product (Bundle-style package "MacBookPro2011EFIUpdate.pkg" is not supported.)
And, if you succeed, please tell how you did that!
|Nov 18, 2012, 03:06 PM||#2|
Here it is
instead of bundled package, you need a flat package with your component in it. Just put this .scap file in some folder (say "Parts" folder) then turn it into flat PKG file using command:
pkgbuild --root ./Parts --identifier com.whatever.something --install-location /System/Library/CoreServices/Firmware\ Updates/MacBookProEFIUpdate-2.7/ MacBookPro2011EFIUpdate.pkg
productbuild --distribution Distribution --resources Resources Installer.pkg
At the end you can sign it with your Developer ID Installer, using productsign command and you're set!
Hope it helps!
|osx, package, packagemaker, pkg-file, xcode|
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Copying Files from Package Files||Tomar||Mac Programming||3||Mar 19, 2014 01:03 PM|
|Cannot install pkg files using the installer in Mac OS X 10.8||KevinKZ||Mac Applications and Mac App Store||0||Oct 6, 2013 11:57 AM|
|How to build a bootable USB Installer||Dalton63841||OS X Mavericks (10.9)||85||Sep 8, 2013 04:54 PM|
|What is "Mobile Device Installer Package"||yalag||iOS 7||9||Aug 14, 2013 07:51 AM|
|Is there a good program to package a group of files into multiple rar files?||east85||Mac Applications and Mac App Store||5||Aug 27, 2012 04:00 PM|
All times are GMT -5. The time now is 04:14 AM.