You can use Apple's Installer software. Documentation on the software and its scripts is available on the Developer web site. Use the following path to find it:
Developer Support
Developer Services
Tool Chest
Developer Utilities
Installer 3.4
Installer.sit (StuffIt)