How to build your own MacOSX installer  for OOo (asumes you have your own MacOSX X11 build)

1. grab the macosx_installer.tar.gz from this issue and unpack it

2. create a new directory on your machine in the macosx_installer directory 
called:

Package_contents/

note: the Install_resources comes from the macosx_installer.tar.gz
 
3. Examine the Install_reosurces folder and find

English.lproj/
English.lproj/InstallationCheck.Strings
InstallationCheck
License.html
postinstall
postupgrade
preinstall
preupgrade

Now copy English.lproj to create German.lproj (or French.lproj) and then 
translate the error message strings you find in  InstallationCheck.strings for each language.

4. Copy following pieces out of extra_pieces and place them in the newly created Package_contents 
directory

Begin_OOorg.app
CocoaDialog.app
OOo_Admin.app
SGENT42.PS
soffice
OOo1.1.3_README.rtf

- translate the README into your language

- translate the following line in soffice to your language:

       "${sd_prog}"/CocoaDialog.app/Contents/MacOS/CocoaDialog 
progressbar --indeterminate --title "OpenOffice.org" --text  "Performing First-Time Startup 
Initialization, Please be very patient ..." < ${NPIPE} &

- change the name of Begin_OOrg.app to something better for your language
- change the name of OOo_Admin.app to something better for your language

5. Install your *own* language specific build of OpenOffice.org

You *must* install it into /Applications/OpenOffice.org1.1.3/ using

setup.bin -net

You should use a "Custom Install" and select everything but KDE, GNOME, 
and CDE integration.

6. Now move the entire OpenOffice.org1.1.3 folder you just installed to 
your Package_contents/ folder

7. Inside Package_contents, move things to where they belong:

- Begin_OOorg.app to Package_contents/OpenOffice.org1.1.3/

- OOo_Admin.app to Package_contents/OpenOffice.org1.1.3/

- soffice to Package_contents/OpenOffice.org1.1.3/program/ 
  (replace the one that is there)

- CocoaDialog.app to Package_contents/OpenOffice.org1.1.3/program/

- OOo_1.1.3_README.rtf to Package_contents/OpenOffice.org1.1.3/

- SGENT42.PS to Package_contents/OpenOffice.org1.1.3/share/psprint/driver/ 
(replace the one that is there)

8.  Now remove all old .DS_Store files and change ownership to root in 
each of your new folders

cd Package_contents
rm -f `find ./ -name ".DS_Store"
chown -R -h root:admin ./

cd ..
cd Install_resources
rm -f `find ./ -name ".DS_Store"
chown -R -h root:admin ./
chmod ugo+x InstallationCheck postinstall postupgrade preinstall 
preupgrade

9. Now you are finally ready to run PackageMaker .  PackageMaker is 
part of the Developer tools.

On my machine this can be found at:

/Developer/Applications/Utilities/Packagemaker.app

To launch it simply double-click on the OOo_Installer.pmsp that comes inside the 
macosx_installer.tar.gz

Follow along with all of the tabbed menus.

Under Description, enter
   Title, Version, and Description in your language of choice
Under Files
   Hit choose and select your Package_contents folder and make sure to 
check "Compress Archive"
Under Resources
   Hit choose and select your Install_resources folder
Under Info
   Set the default location to /Applications
   Set restart Action to "No Restart Required"
   Set authroization action to "Admin Authorization"
   Then check the following flags:
        - Allows Back Rev.
        - Relocatable
        - Required
  Under Versions
    Set Display name to "OpenOffice.org1.1.3"
    identifier to org.openoffice.OOoffice
    Get-Info string to "OpenOffice.org 1.1.3"
    Short version to 1.1.3
    Major to 1
    Minor to 1

Then go up to File->Create Package.

Then if it prompts you, "tell it to split forks"

You should then have a nice installer ready to go.

Some notes:

1. None of the steps can be skipped, all are needed.

2. You can replace Begin_OOrg.app and OOo_Admin.app with 
Start_OpenOffice.org (only the very latest version) but then you have 
to contact Terry to get translations made.  I designed both 
BeginOOorg.app and OOo_Admin.app to not need anything translated.

Important Note:  That the string "OpenOffice.org 1.1.3" is hard coded into a few places that will need 
updating for OOo 1.1.4 releases and later.

These include the need to edit the following files:

postupgrade

postinstall

OOo_Admin/Contents/Resources/Scripts/main.scpt (with Applescript editor, requires a Applescript 
recompile)

soffice

Hope this helps,

Kevin