View Single Post
 
Old 07-16-2008, 11:36 AM
zephyroth's Avatar
zephyroth zephyroth is offline
 
Join Date: Jan 2008
Location: North of France
Posts: 518
You must write a shell or a perl script named "preinstall" or "postinstall" and then add it to your pkg using PackageMaker.
Example:
Code:
#!/bin/sh
rm -r $3/System/Library/Extensions/AppleEFIRuntime.kext
rm -r $3/System/Library/Extensions/AppleIntelCPUPowerManagement.kext
exit 0
$3 means the destination drive.

Hope it helps.

Mac OS X 10.6.3 • 2.8 GHz Intel Core I7 860 • ASUS P7P55D • 2 GB 2 Ghz DDR3 • ATI RADEON XFX 4890 1GB • 2 x Hitachi 160 GB Serial-ATA • PIONEER DVD-RW DVR-112 • LaCie Desktop Harddrive 750 GB USB
Reply With Quote