|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
|
#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: Code:
Distribution - xml script MacBookPro2011EFIUpdate.pkg - flat package Resources - resources folder, contains language localizations Code:
id="com.apple.pkg.MacBookPro2011EFIUpdate" version="2.7.0.0.1.1330468277" Code:
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! |
|
|
|
1
|
|
|
#2 |
|
Here it is
Hi,
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: Code:
pkgbuild --root ./Parts --identifier com.whatever.something --install-location /System/Library/CoreServices/Firmware\ Updates/MacBookProEFIUpdate-2.7/ MacBookPro2011EFIUpdate.pkg Code:
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! |
|
|
|
1
|
![]() |
|
| Tags |
| osx, package, packagemaker, pkg-file, xcode |
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
All times are GMT -5. The time now is 11:37 AM.







Hybrid Mode
