Re: How do I get Packagemaker to install plug-ins for Adobe
Re: How do I get Packagemaker to install plug-ins for Adobe
- Subject: Re: How do I get Packagemaker to install plug-ins for Adobe
- From: "Aaron London" <email@hidden>
- Date: Tue, 23 Jan 2007 12:56:25 -0500
- Thread-topic: How do I get Packagemaker to install plug-ins for Adobe
I suggest stepping back for a moment and learning how to use existing
PackageMaker/Installer features.
1. Read the new Apple Software Delivery Guide:
http://developer.apple.com/documentation/DeveloperTools/Conceptual/Softw
areDistribution
2. See the following section of the Apple Legacy Software Delivery
Guide:
http://developer.apple.com/documentation/DeveloperTools/Conceptual/Softw
areDistribution4/Concepts/sd_find_file.html
3. Read the PackageMaker app help, it is much better in recent versions.
As with so many responses posted to problems on this list, the answers
to this question start from the wrong direction. Instead of suggesting
that someone write some nasty script hack or even try an installer
plugin (which won't work in ARD or silent install contexts), we should
be encouraging new users to learn and use the basic existing features of
the tool.
-A. London
-----Original Message-----
From: installer-dev-bounces+aaron_london=email@hidden
[mailto:installer-dev-bounces+aaron_london=email@hidden] On
Behalf Of email@hidden
Sent: Tuesday, January 23, 2007 12:47 PM
To: email@hidden
Subject: Installer-dev Digest, Vol 29, Issue 13
Send Installer-dev mailing list submissions to
email@hidden
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.apple.com/mailman/listinfo/installer-dev
or, via email, send a message with subject or body 'help' to
email@hidden
You can reach the person managing the list at
email@hidden
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Installer-dev digest..."
Today's Topics:
1. Re: Problems with Metapackages in Panther. (St?phane Sudre)
2. How do I get Packagemaker to install plug-ins for Adobe
InDesign (Walter)
3. Re: How do I get Packagemaker to install plug-ins for Adobe
InDesign (Michael Watson)
4. FW: How do I get Packagemaker to install plug-ins for Adobe
InDesign (Walter)
5. Re: How do I get Packagemaker to install plug-ins for Adobe
InDesign (Michael Watson)
6. Re: How do I get Packagemaker to install plug-ins for Adobe
InDesign (Steven Lobo)
7. Re: How do I get Packagemaker to install plug-ins for Adobe
InDesign (Michael Watson)
----------------------------------------------------------------------
Message: 1
Date: Mon, 22 Jan 2007 22:27:25 +0100
From: St?phane Sudre <email@hidden>
Subject: Re: Problems with Metapackages in Panther.
To: Dennet Menezes <email@hidden>
Cc: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed
On lundi, janvier 22, 2007, at 10:15 AM, Dennet Menezes wrote:
> Hi,
>
> I tried using the exit value 33 but it still gives me inconsistent
> results
> and I have no clue as to why. I have 11 language specific packages
> which I
> need to club into a metapackage. The individual packages should be
> installed
> only if there is a specific file (which points to the language) in a
> particular location.
>
>
> The volume check scripts are of the form
>
> #!/bin/sh
>
> if [ -f "/Applications/TestFolder/Dutch" ]; then
> echo "Dutch-Yes"
> exit 0
> else
> echo "Dutch-No"
> exit 33
> fi
>
> with the exit value 33 as you suggested. However exit value 32 or 33
it
> works perfectly fine in Tiger!
>
> Changing the exit value to 33 got it working briefly in Panther for a
> metapackage containing two packages but very inconsistently. There
were
> times it enabled the packages even if the VolumeCheck failed. With 11
> packages I have never got it working right. Am I missing something
> obvious?
> How can a metapackage go ahead and install a package which cannot be
> installed standalone?
Hmm, I'm observing the same phenomenon. Sometimes it works, sometimes
it doesn't.
I've made some tests using InstallationCheck scripts instead of
VolumeCheck scripts and the result is better. I tried it 10 times and
every time the packages are correctly enabled and disabled.
I return 64 for error and 0 for correctness.
Of course this would require enabling the "Install on root volume only"
option.
I tried an installation and it worked fine and a later attempt show
that only the right package is enabled.
------------------------------
Message: 2
Date: Mon, 22 Jan 2007 18:46:57 -0500
From: Walter <email@hidden>
Subject: How do I get Packagemaker to install plug-ins for Adobe
InDesign
To: email@hidden
Message-ID: <C1DAB721.109EB%email@hidden>
Content-Type: text/plain; charset=US-ASCII
I use PackageMaker for an installer for my application. The application
also has a plug-in component that should go into the Plug-Ins folder of
InDesign & InCopy.
Currently I make the users copy the plug-in manually but would like to
have
the installer handle it for me.
>From what I was reading, it seems like its possible, but I can't figure
out
where to get started.
Walter
------------------------------
Message: 3
Date: Mon, 22 Jan 2007 19:28:58 -0500
From: Michael Watson <email@hidden>
Subject: Re: How do I get Packagemaker to install plug-ins for Adobe
InDesign
To: Walter <email@hidden>
Cc: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Are you saying you need to locate the user's ID plug-in folder, and
then install a payload into it?
--
mikey
On 22 Jan, 2007, at 18:46, Walter wrote:
> I use PackageMaker for an installer for my application. The
> application
> also has a plug-in component that should go into the Plug-Ins
> folder of
> InDesign & InCopy.
>
> Currently I make the users copy the plug-in manually but would like
> to have
> the installer handle it for me.
>
>> From what I was reading, it seems like its possible, but I can't
>> figure out
> where to get started.
>
> Walter
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Installer-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> 40bungie.org
>
> This email sent to email@hidden
------------------------------
Message: 4
Date: Tue, 23 Jan 2007 06:19:52 -0500
From: Walter <email@hidden>
Subject: FW: How do I get Packagemaker to install plug-ins for Adobe
InDesign
To: email@hidden
Message-ID: <C1DB5988.10A13%email@hidden>
Content-Type: text/plain; charset=US-ASCII
I need to locate & deliver a payload the Adobe InDesign & InCopy
plug-ins
folder. Usually its these folders that I need to copy files to:
/Applications/Adobe InDesign CS/Plug-Ins
/Applications/Adobe InDesign CS2/Plug-Ins
/Applications/Adobe InCopy CS/Plug-Ins
/Applications/Adobe InCopy CS2/Plug-Ins
Walter
On 1/22/07 7:28 PM, "Michael Watson" <email@hidden> wrote:
> Are you saying you need to locate the user's ID plug-in folder, and
> then install a payload into it?
>
>
> --
> mikey
>
> On 22 Jan, 2007, at 18:46, Walter wrote:
>
>> I use PackageMaker for an installer for my application. The
>> application
>> also has a plug-in component that should go into the Plug-Ins
>> folder of
>> InDesign & InCopy.
>>
>> Currently I make the users copy the plug-in manually but would like
>> to have
>> the installer handle it for me.
>>
>>> From what I was reading, it seems like its possible, but I can't
>>> figure out
>> where to get started.
>>
>> Walter
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Installer-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>> 40bungie.org
>>
>> This email sent to email@hidden
>
------ End of Forwarded Message
------------------------------
Message: 5
Date: Tue, 23 Jan 2007 10:51:00 -0500
From: Michael Watson <email@hidden>
Subject: Re: How do I get Packagemaker to install plug-ins for Adobe
InDesign
To: Walter <email@hidden>
Cc: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
You can't assume that's where those folders are going to be. Mine
aren't there, for example.
You'll need to do some clever science to attempt to locate the user's
folders before installing. I want to say this almost might be easier
with a Cocoa app of some sort, since you can leverage LaunchServices.
--
On 23 Jan, 2007, at 06:19, Walter wrote:
> I need to locate & deliver a payload the Adobe InDesign & InCopy
> plug-ins
> folder. Usually its these folders that I need to copy files to:
>
> /Applications/Adobe InDesign CS/Plug-Ins
> /Applications/Adobe InDesign CS2/Plug-Ins
> /Applications/Adobe InCopy CS/Plug-Ins
> /Applications/Adobe InCopy CS2/Plug-Ins
>
> Walter
>
> On 1/22/07 7:28 PM, "Michael Watson" <email@hidden> wrote:
>
>> Are you saying you need to locate the user's ID plug-in folder, and
>> then install a payload into it?
>>
>>
>> --
>> mikey
>>
>> On 22 Jan, 2007, at 18:46, Walter wrote:
>>
>>> I use PackageMaker for an installer for my application. The
>>> application
>>> also has a plug-in component that should go into the Plug-Ins
>>> folder of
>>> InDesign & InCopy.
>>>
>>> Currently I make the users copy the plug-in manually but would like
>>> to have
>>> the installer handle it for me.
>>>
>>>> From what I was reading, it seems like its possible, but I can't
>>>> figure out
>>> where to get started.
>>>
>>> Walter
>>>
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Installer-dev mailing list (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>> 40bungie.org
>>>
>>> This email sent to email@hidden
>>
>
> ------ End of Forwarded Message
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Installer-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> 40bungie.org
>
> This email sent to email@hidden
------------------------------
Message: 6
Date: Tue, 23 Jan 2007 23:21:30 +0530
From: "Steven Lobo" <email@hidden>
Subject: Re: How do I get Packagemaker to install plug-ins for Adobe
InDesign
To: "Michael Watson" <email@hidden>, "Walter"
<email@hidden>, email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain
You could install your plugins to some temporary location on the
user's hard disc. Then, via an installer plugin, you can display
UI asking the user to locate their Adobe InDesign install location
and copy your plugins to the appropriate "Plugins" folder at that
location.
Steven
-----Original Message-----
From: Michael Watson <email@hidden>
To: Walter <email@hidden>
Cc: email@hidden
Date: Tue, 23 Jan 2007 10:51:00 -0500
Subject: Re: How do I get Packagemaker to install plug-ins for Adobe
InDesign
> You can't assume that's where those folders are going to be. Mine
> aren't there, for example.
>
> You'll need to do some clever science to attempt to locate the user's
> folders before installing. I want to say this almost might be easier
> with a Cocoa app of some sort, since you can leverage LaunchServices.
>
>
> --
>
>
> On 23 Jan, 2007, at 06:19, Walter wrote:
>
> > I need to locate & deliver a payload the Adobe InDesign & InCopy
> > plug-ins
> > folder. Usually its these folders that I need to copy files to:
> >
> > /Applications/Adobe InDesign CS/Plug-Ins
> > /Applications/Adobe InDesign CS2/Plug-Ins
> > /Applications/Adobe InCopy CS/Plug-Ins
> > /Applications/Adobe InCopy CS2/Plug-Ins
> >
> > Walter
> >
> > On 1/22/07 7:28 PM, "Michael Watson" <email@hidden> wrote:
> >
> >> Are you saying you need to locate the user's ID plug-in folder, and
> >> then install a payload into it?
> >>
> >>
> >> --
> >> mikey
> >>
> >> On 22 Jan, 2007, at 18:46, Walter wrote:
> >>
> >>> I use PackageMaker for an installer for my application. The
> >>> application
> >>> also has a plug-in component that should go into the Plug-Ins
> >>> folder of
> >>> InDesign & InCopy.
> >>>
> >>> Currently I make the users copy the plug-in manually but would
like
> >>> to have
> >>> the installer handle it for me.
> >>>
> >>>> From what I was reading, it seems like its possible, but I can't
> >>>> figure out
> >>> where to get started.
> >>>
> >>> Walter
> >>>
> >>>
> >>> _______________________________________________
> >>> Do not post admin requests to the list. They will be ignored.
> >>> Installer-dev mailing list (email@hidden)
> >>> Help/Unsubscribe/Update your Subscription:
> >>> 40bungie.org
> >>>
> >>> This email sent to email@hidden
> >>
> >
> > ------ End of Forwarded Message
> >
> >
> > _______________________________________________
> > Do not post admin requests to the list. They will be ignored.
> > Installer-dev mailing list (email@hidden)
> > Help/Unsubscribe/Update your Subscription:
> > 40bungie.org
> >
> > This email sent to email@hidden
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Installer-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
.com
>
> This email sent to email@hidden
-----------------------------------------------
Robosoft Technologies - Come home to Technology
------------------------------
Message: 7
Date: Tue, 23 Jan 2007 12:46:31 -0500
From: Michael Watson <email@hidden>
Subject: Re: How do I get Packagemaker to install plug-ins for Adobe
InDesign
To: Steven Lobo <email@hidden>
Cc: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
I would at least attempt to locate them first. Do work for the user
when you can.
I don't know much about installer plug-ins. Can they execute C and
Obj-C code?
--
mikey
On 23 Jan, 2007, at 12:51, Steven Lobo wrote:
> You could install your plugins to some temporary location on the
> user's hard disc. Then, via an installer plugin, you can display
> UI asking the user to locate their Adobe InDesign install location
> and copy your plugins to the appropriate "Plugins" folder at that
> location.
>
> Steven
>
> -----Original Message-----
> From: Michael Watson <email@hidden>
> To: Walter <email@hidden>
> Cc: email@hidden
> Date: Tue, 23 Jan 2007 10:51:00 -0500
> Subject: Re: How do I get Packagemaker to install plug-ins for
> Adobe InDesign
>
>> You can't assume that's where those folders are going to be. Mine
>> aren't there, for example.
>>
>> You'll need to do some clever science to attempt to locate the user's
>> folders before installing. I want to say this almost might be easier
>> with a Cocoa app of some sort, since you can leverage LaunchServices.
>>
>>
>> --
>>
>>
>> On 23 Jan, 2007, at 06:19, Walter wrote:
>>
>>> I need to locate & deliver a payload the Adobe InDesign & InCopy
>>> plug-ins
>>> folder. Usually its these folders that I need to copy files to:
>>>
>>> /Applications/Adobe InDesign CS/Plug-Ins
>>> /Applications/Adobe InDesign CS2/Plug-Ins
>>> /Applications/Adobe InCopy CS/Plug-Ins
>>> /Applications/Adobe InCopy CS2/Plug-Ins
>>>
>>> Walter
>>>
>>> On 1/22/07 7:28 PM, "Michael Watson" <email@hidden> wrote:
>>>
>>>> Are you saying you need to locate the user's ID plug-in folder, and
>>>> then install a payload into it?
>>>>
>>>>
>>>> --
>>>> mikey
>>>>
>>>> On 22 Jan, 2007, at 18:46, Walter wrote:
>>>>
>>>>> I use PackageMaker for an installer for my application. The
>>>>> application
>>>>> also has a plug-in component that should go into the Plug-Ins
>>>>> folder of
>>>>> InDesign & InCopy.
>>>>>
>>>>> Currently I make the users copy the plug-in manually but would
>>>>> like
>>>>> to have
>>>>> the installer handle it for me.
>>>>>
>>>>>> From what I was reading, it seems like its possible, but I can't
>>>>>> figure out
>>>>> where to get started.
>>>>>
>>>>> Walter
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Do not post admin requests to the list. They will be ignored.
>>>>> Installer-dev mailing list (email@hidden)
>>>>> Help/Unsubscribe/Update your Subscription:
>>>>> 40bungie.org
>>>>>
>>>>> This email sent to email@hidden
>>>>
>>>
>>> ------ End of Forwarded Message
>>>
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Installer-dev mailing list (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>> 40bungie.org
>>>
>>> This email sent to email@hidden
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Installer-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>> 40robosoftin.com
>>
>> This email sent to email@hidden
>
>
>
> -----------------------------------------------
> Robosoft Technologies - Come home to Technology
>
>
------------------------------
_______________________________________________
Installer-dev mailing list
email@hidden
http://lists.apple.com/mailman/listinfo/installer-dev
End of Installer-dev Digest, Vol 29, Issue 13
*********************************************
_______________________________________________
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