home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!europa.asd.contel.com!howland.reston.ans.net!usc!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!darkstar.UCSC.EDU!cats.ucsc.edu!dev
- From: dev@cats.ucsc.edu (/dev/null)
- Newsgroups: comp.sys.mac.programmer
- Subject: Installer Munges Menu ID's
- Date: 15 Dec 1992 21:27:39 GMT
- Organization: University of California; Santa Cruz
- Lines: 47
- Distribution: na
- Message-ID: <1glikbINNd9s@darkstar.UCSC.EDU>
- Reply-To: d1620@applelink.apple.com
- NNTP-Posting-Host: am.ucsc.edu
- Summary: Installer 3.4 changes menu id's so DA doesn't work
- Keywords: Installer DA Menu Desk Accessory
-
-
- Please reply via e-mail to d1620@applelink.apple.com. This is posted for
- a friend.
-
- -
-
-
- When I use Installer 3.4 to install a Desk Accessory on System 6, it
- changes the Menu ID field of my 'MENU' resources. This makes the
- DA's menu fail to do anything - the DA never gets an accMenu event.
-
- If I use the Font/DA mover to install the DA, it works just fine. Either
- there is a bug in my installer script, or in the Installer's handling of
- owned resources. Anyone got a clue?
-
- Following is the 'inra' resource from my installer script. The installer
- knows to copy over owned resources when a DRVR is installed.
-
- Thanks,
-
- Mike Crawford
- Product Development Manager
- Working Software, Inc.
- d1620@applelink.apple.com
-
- resource 'inra' (raDA6) {
- format0 {
- deleteWhenRemoving, /* Delete the resource if remove is clicked*/
- deleteWhenInstalling, /* Delete the target before copying new one */
- copy, /* Copy rsrc to destination */
- tgtRequired, /* Target file need already exist on dest to install */
- updateExisting, /* replace any preexisting DA with the same name */
- copyIfNewOrUpdate, /* Copy whether or not target rsrc already exists */
- ignoreProtection, /* Do it even if the target rsrc is protected */
- srcNeedExist, /* Rsrc needs to exist on source disk */
- byName, /* use the name to find the source and target rsrc */
- nameMustMatch, /* this field is ignored if above is byName */
- fsTargetSystem, /* Target file spec to install rsrc into */
- fsSourceDA, /* Source file spec where to get rsrc */
- 'DRVR', /* Resource type */
- 0, /* Resource source id */
- 0, /* Resource target id */
- 0, /* atom size (filled in by ScriptCheck) */
- "Desk Accessory: MyAccessory",/* Atom description */
- "\0x00MyAccessory"/* Resource name */
- };
- };
-