home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-06-07 | 4.3 KB | 113 lines | [TEXT/MPS ] |
-
-
- How to build the Installers for TTS
-
- This document describes how to build the Installer scripts and set up disk sets,
- for the developer to test. This is not how SCM builds. The scripts here build
- a Net Install style set of files. A main folder holds the Installer and the
- Installer script and a folder corresponding to each disk of the disk set. You
- can copy the contents of each disk folder to a floppy if you want to test that
- way. The first disk also has the Installer and Installer script.
-
- You will need to get some pieces from the Installer SDK in order to build:
-
- Installer The application to distribute
- ScriptCheck MPW tool to complete and verify scripts
- FileAndRsrcSplitterTool MPW tool to split files or resources into pieces
- InstaCompOneTool MPW tool to compress multiple files
- InstaCompOneSCExt.rsrc Used by ScriptCheck to verify compressed files
-
- Put these files in the ExternalPieces folder that's in the main folder.
-
- You will also need to get any other externally generated files needed and put
- them in the ExternalPieces folder. Currently:
-
- SimpleText
-
- There will already be some files in the ExternalPieces folder. These files came
- from SCM. The SCM person should be contacted occasionally to get any later
- versions of these files.
-
- Build all the files that are going to be installed and put them all in one folder
- inside the Installer folder. I called mine BuiltPieces so for building Mexican
- Spanish TTS, the contents are, e.g.:
-
- HD:Installer:BuiltPieces:MacinTalk EspaƱol Mexicano
- HD:Installer:BuiltPieces:Carlos
- HD:Installer:BuiltPieces:Catalina
- HD:Installer:BuiltPieces:Speech Manager
- HD:Installer:BuiltPieces:Speech
- HD:Installer:BuiltPieces:Using Mexican Spanish TTS
- HD:Installer:BuiltPieces:MexicanSpanishDefault.rsrc
-
- Change directory to the main folder with all the Installer source files and run
- the appropriate build script. Current scripts:
-
- BuildMexicanSpanishTTS
- BuildEnglishTTS
-
- There is a mandatory argument of the name of the folder that has all the files
- that you built (e.g. BuiltPieces). There is also an optional -s argument that
- says to rebuild the script only. The -s argument can only be used if you've
- already run the script without -s in order to set up the folders and all the
- other files besides the script. For example, to build the first time you could:
-
- BuildMexicanSpanishTTS BuiltPieces
-
- and to update a minor change to the Installer script you could:
-
- BuildMexicanSpanishTTS -s BuiltPieces
-
- If you make a signficant change to the script, such as adding, deleting, moving,
- or renaming a file, then you need to start over building without -s.
-
-
-
- Splash Screens
-
- The source file for a splash screen is just the .rsrc file that holds the
- PICT. Currently:
-
- MexicanSpanishTTS.rsrc
- EnglishTTS.rsrc
-
- To edit a splash screen you can use ResEdit to copy the PICT into a color
- paint program, edit away, and then paste back into the .rsrc file. For the
- 1.4 build, Don Lindsay used PhotoShop to do the editing.
-
- The text is done using the Help Screen Fonts from the Installer SDK, as the
- manual recommends. So you'll want to install those fonts before editing.
- However, the user won't have these fonts, so the text needs to be bitmapped.
- If the paint program doesn't make this easy (maybe they all do), copy the
- text to MacPaint, and then lasso it and copy it back.
-
- A problem to avoid is that some picture elements don't display properly
- under System 6. For example, I created the icons for the black and white
- splash screen by copying then out of the ResEdit editing window for an
- ICN# resource, and pasting into MacDraw Pro. The icons displayed as
- garbage under System 6. Copying the icons to MacPaint and back fixed
- the problem.
-
-
-
- Help Pages
-
- We use the additional help pages that came with the Installer SDK. These
- are PICT's that were copied into the resource files that are part of the
- build for each Installer script. Currently:
-
- MexicanSpanishTTS.rsrc
- EnglishTTS.rsrc
-
- The PICT ID's are specified in an 'inpr' resource.
-
-
-
- Icons
-
- When the icon for any of the built files changes (e.g. the Speech Manager) then
- there are two places in the Installer files that might need updating. The
- splash screens have some icons in them. Also, some icons are included in
- resource files so that they show up in the info window for packages in the
- Custom Install and Custom Remove panels of the Installer.
-