home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / mac / programm / 19860 < prev    next >
Encoding:
Internet Message Format  |  1992-12-15  |  2.3 KB

  1. 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
  2. From: dev@cats.ucsc.edu (/dev/null)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Installer Munges Menu ID's
  5. Date: 15 Dec 1992 21:27:39 GMT
  6. Organization: University of California; Santa Cruz
  7. Lines: 47
  8. Distribution: na
  9. Message-ID: <1glikbINNd9s@darkstar.UCSC.EDU>
  10. Reply-To: d1620@applelink.apple.com
  11. NNTP-Posting-Host: am.ucsc.edu
  12. Summary: Installer 3.4 changes menu id's so DA doesn't work
  13. Keywords: Installer DA Menu Desk Accessory
  14.  
  15.  
  16. Please reply via e-mail to d1620@applelink.apple.com.  This is posted for
  17. a friend.
  18.  
  19. -
  20.  
  21.  
  22. When I use Installer 3.4 to install a Desk Accessory on System 6, it
  23.  changes the Menu ID field of my 'MENU' resources.  This makes the 
  24. DA's menu fail to do anything - the DA never gets an accMenu event.
  25.  
  26. If I use the Font/DA mover to install the DA, it works just fine.  Either 
  27. there is a bug in my installer script, or in the Installer's handling of 
  28. owned resources.  Anyone got a clue?
  29.  
  30. Following is the 'inra' resource from my installer script.  The installer 
  31. knows to copy over owned resources when a DRVR is installed.
  32.  
  33. Thanks,
  34.  
  35. Mike Crawford
  36. Product Development Manager
  37. Working Software, Inc.
  38. d1620@applelink.apple.com
  39.  
  40. resource 'inra' (raDA6) {
  41. format0 {
  42. deleteWhenRemoving,        /* Delete the resource if remove is clicked*/
  43. deleteWhenInstalling,         /* Delete the target before copying new one */
  44. copy,                 /* Copy rsrc to destination */
  45. tgtRequired,             /* Target file need already exist on dest to install */
  46. updateExisting,         /* replace any preexisting DA with the same name */
  47. copyIfNewOrUpdate,     /* Copy whether or not target rsrc already exists */
  48. ignoreProtection,    /* Do it even if the target rsrc is protected */
  49. srcNeedExist,        /* Rsrc needs to exist on source disk */
  50. byName,            /* use the name to find the source and target rsrc */
  51. nameMustMatch,        /* this field is ignored if above is byName */
  52. fsTargetSystem,        /* Target file spec to install rsrc into */
  53. fsSourceDA,            /* Source file spec where to get rsrc */
  54. 'DRVR',            /* Resource type */
  55. 0,             /* Resource source id */
  56. 0,            /* Resource target id */
  57. 0,            /* atom size (filled in by ScriptCheck) */
  58. "Desk Accessory: MyAccessory",/* Atom description */
  59. "\0x00MyAccessory"/* Resource name */
  60. };
  61. };
  62.