Re: Installing into multiple locations w/ menu
Re: Installing into multiple locations w/ menu
- Subject: Re: Installing into multiple locations w/ menu
- From: Stéphane Sudre <email@hidden>
- Date: Thu, 5 Jun 2008 21:26:01 +0200
On Jun 5, 2008, at 6:12 PM, Paul Miller wrote:
I have a Photoshop plugin I need to potentially install into
multiple locations (multiple Photoshop versions). I'd like to
preset a menu to the user, listing the appropriate Photoshop
installations found, and allow the user to check off the locations
they want, then automatically copy the plugin into the proper
locations (which are nested inside the plugin folders). Is this
possible with an Installer Plugin for OS X 10.4 and up?
At the very least, I'd like to automatically find an appropriate
Photoshop installation location and present that as the default
install location. I haven't found a way to do that yet using
scripting. Is that possible?
The problem we have is people do not read the installation
instructions and end up installing the plugin into the default
location (since we can't preset the default location to an
appropriate place). Then they complain when the plugin doesn't show
up in Photoshop. It would be ideal to not allow them to install
until an appropriate location is either discovered automatically or
selected by the user.
Any suggestions on how to deal with either of these problems?
A solution for the many to one case:
- look for the location(s) of Photoshop.
- display that in the Installation Pane.
- When the user has selected the one they want, create a symbolic to
the destination folder in /tmp.
Set your default package destination to be the default symbolic
folder in /tmp. And enable the Follow Links option.
Example:
A Photoshop instance is in /Applications.
A symbolic link to /Applications is created in /tmp.
The package points to this symbolic link.
The limitations are:
- I haven't tested that.
- It does not work with ARD or the installer command line tool. It
could be improved by creating the symbolic link to the default
plugins location in the InstallationCheck script. But it's still not
a perfect solution.
_______________________________________________
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