As my ethernet card's driver starts looking more and more like an actual functioning piece of software, I've been giving some thought to how to distribute it - the SE/30 card's driver can be packaged neatly as a comd system extension that you can drop into your System Folder (only Network Software 1.5 supports this, but I don't see any arguments in favour of running an older version), but the driver for the Slot Manager-unaware SE is a DRVR resource that needs to be manually added to the System file, potentially having to adjust its resource ID to avoid conflicts with any other installed drivers. Yeah, yeah, you can do that with ResEdit and a couple of brain cells, but it'd be nice to make the install process a bit more polished than that.
I found the Apple Installer SDK on the Macintosh Garden, and that definitely feels like the right tool for the job (especially if I can bundle the right Network Software bits along with it like the Asante and Dayna driver disks did), but it's not exactly easy to get my head around, and the docs that come with it are very Inside Macintosh in style: detailed, well-written, and completely incomprehensible unless you already understand them. It's a chicken-and-egg type of situation - I'm sure I could start to make sense of them if I got my head around the basic concepts, but it's hard to glean those from a reference guide that assumes you know them already. The key to finally getting my head around IM and the Toolbox was to read third-party books about programming for the Mac OS, but I'm not aware of anything like that out there for the Installer.
It's especially frustrating that while there are examples included in the SDK, none of them seem to cover working with resources in the way that I would have to. The Network Software installers and the various ethernet card vendor's driver installers do exactly the things I want to do, but they're so convoluted (and undocumented) that it's difficult to follow what's going on.
This is partly just a rant - it's a pretty niche thing to even want to know about - but as a genuine question: is anyone aware of anything out there that explains Installer scripting in terms more accessible to mere mortals? I'm sure I'll figure it out eventually if I keep bashing my head against it, but if there's an easier way to learn, I'd love to know about it.
I found the Apple Installer SDK on the Macintosh Garden, and that definitely feels like the right tool for the job (especially if I can bundle the right Network Software bits along with it like the Asante and Dayna driver disks did), but it's not exactly easy to get my head around, and the docs that come with it are very Inside Macintosh in style: detailed, well-written, and completely incomprehensible unless you already understand them. It's a chicken-and-egg type of situation - I'm sure I could start to make sense of them if I got my head around the basic concepts, but it's hard to glean those from a reference guide that assumes you know them already. The key to finally getting my head around IM and the Toolbox was to read third-party books about programming for the Mac OS, but I'm not aware of anything like that out there for the Installer.
It's especially frustrating that while there are examples included in the SDK, none of them seem to cover working with resources in the way that I would have to. The Network Software installers and the various ethernet card vendor's driver installers do exactly the things I want to do, but they're so convoluted (and undocumented) that it's difficult to follow what's going on.
This is partly just a rant - it's a pretty niche thing to even want to know about - but as a genuine question: is anyone aware of anything out there that explains Installer scripting in terms more accessible to mere mortals? I'm sure I'll figure it out eventually if I keep bashing my head against it, but if there's an easier way to learn, I'd love to know about it.