Re: Problems creating "complex" installation
Re: Problems creating "complex" installation
- Subject: Re: Problems creating "complex" installation
- From: Rob Keniger <email@hidden>
- Date: Thu, 8 Oct 2009 17:28:07 +1000
On 08/10/2009, at 11:24 AM, Rob Keniger wrote:
> I need to create an installer that can do the following:
>
> - install my app in /Applications
> - install a bunch of plug-ins for other applications in various locations
I'm following up on my own post...
After many frustrating hours I've given up on PackageMaker 3.0 and Flat Packages. I have to say that dealing with the Installation system is BY FAR the worst experience I've had in five years doing Mac development. Compared to the Cocoa documentation, the Software Delivery and PackageMaker documentation is just a joke.
I did figure out how to integrate installer plug-ins by manually inserting the correct files using the Flat Package Editor, but why is it this difficult? I found the Raw mode of PackageMaker but I was still unable to get my custom scripts installed in the correct locations and called successfully. It just should not be this hard.
Anyway, here is what I plan to do with my problem. I've switched to Iceberg as unlike PackageMaker it's well-designed and well-documented.
Iceberg lets me easily add InstallationCheck scripts to a package, so I can run my custom Launch Services command line script and skip the package if the required application is not installed.
To install in the ~/Library/Application Support/Coda/Plug-ins/ folder, I let the installer install my plug-in to /Users/Shared and then use a postinstall script to move the file to the correct location. I did eventually find a note in the Software Distribution docs suggesting this.
Does this sound like the right approach?
I plan on filing bugs against the documentation, as well as a feature request to add a Launch Services check for existing applications, and one for allowing installation in the User's home folder.
--
Rob Keniger
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden