site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Thread-index: Acc/FnmUznwSGD6wQDWOWzy7HOMHKgAAHX7w 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=avid.com@lists.apple.com [mailto:installer-dev-bounces+aaron_london=avid.com@lists.apple.com] On Behalf Of installer-dev-request@lists.apple.com Sent: Tuesday, January 23, 2007 12:47 PM To: installer-dev@lists.apple.com Subject: Installer-dev Digest, Vol 29, Issue 13 Send Installer-dev mailing list submissions to installer-dev@lists.apple.com 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 installer-dev-request@lists.apple.com You can reach the person managing the list at installer-dev-owner@lists.apple.com 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 <ssudre2@wanadoo.fr> Subject: Re: Problems with Metapackages in Panther. To: Dennet Menezes <dennet.menezes@robosoftin.com> Cc: installer-dev@lists.apple.com Message-ID: <5A80A8B6-AA5F-11DB-9061-003065B01042@wanadoo.fr> 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 <walterw@optonline.net> Subject: How do I get Packagemaker to install plug-ins for Adobe InDesign To: installer-dev@lists.apple.com Message-ID: <C1DAB721.109EB%walterw@optonline.net> 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 <mikey-san@bungie.org> Subject: Re: How do I get Packagemaker to install plug-ins for Adobe InDesign To: Walter <walterw@optonline.net> Cc: installer-dev@lists.apple.com Message-ID: <C39F9DDF-4F0B-44E1-989A-CF9808FAB5A4@bungie.org> 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 (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/mikey-san% 40bungie.org
This email sent to mikey-san@bungie.org
------------------------------ Message: 4 Date: Tue, 23 Jan 2007 06:19:52 -0500 From: Walter <walterw@optonline.net> Subject: FW: How do I get Packagemaker to install plug-ins for Adobe InDesign To: installer-dev@lists.apple.com Message-ID: <C1DB5988.10A13%walterw@optonline.net> 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" <mikey-san@bungie.org> 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 (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/mikey-san% 40bungie.org
This email sent to mikey-san@bungie.org
------ End of Forwarded Message ------------------------------ Message: 5 Date: Tue, 23 Jan 2007 10:51:00 -0500 From: Michael Watson <mikey-san@bungie.org> Subject: Re: How do I get Packagemaker to install plug-ins for Adobe InDesign To: Walter <walterw@optonline.net> Cc: installer-dev@lists.apple.com Message-ID: <1B0E9D02-2558-4045-BD8A-F167FD8AA9FF@bungie.org> 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" <mikey-san@bungie.org> 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 (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/mikey-san% 40bungie.org
This email sent to mikey-san@bungie.org
------ End of Forwarded Message
_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/mikey-san% 40bungie.org
This email sent to mikey-san@bungie.org
------------------------------ Message: 6 Date: Tue, 23 Jan 2007 23:21:30 +0530 From: "Steven Lobo" <steven@robosoftin.com> Subject: Re: How do I get Packagemaker to install plug-ins for Adobe InDesign To: "Michael Watson" <mikey-san@bungie.org>, "Walter" <walterw@optonline.net>, installer-dev@lists.apple.com Message-ID: <WorldClient-F200701232321.AA21300971@robosoftin.com> 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 <mikey-san@bungie.org> To: Walter <walterw@optonline.net> Cc: installer-dev@lists.apple.com 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" <mikey-san@bungie.org> 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 (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/mikey-san% 40bungie.org
This email sent to mikey-san@bungie.org
------ End of Forwarded Message
_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/mikey-san% 40bungie.org
This email sent to mikey-san@bungie.org
_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/installer-dev/steven%40robosoftin .com
This email sent to steven@robosoftin.com
----------------------------------------------- Robosoft Technologies - Come home to Technology ------------------------------ Message: 7 Date: Tue, 23 Jan 2007 12:46:31 -0500 From: Michael Watson <mikey-san@bungie.org> Subject: Re: How do I get Packagemaker to install plug-ins for Adobe InDesign To: Steven Lobo <steven@robosoftin.com> Cc: installer-dev@lists.apple.com Message-ID: <1DDBA6EA-EBDF-4E72-94C7-16427BAC3096@bungie.org> 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 <mikey-san@bungie.org> To: Walter <walterw@optonline.net> Cc: installer-dev@lists.apple.com 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" <mikey-san@bungie.org> 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 (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/mikey-san% 40bungie.org
This email sent to mikey-san@bungie.org
------ End of Forwarded Message
_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/mikey-san% 40bungie.org
This email sent to mikey-san@bungie.org
_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/steven% 40robosoftin.com
This email sent to steven@robosoftin.com
----------------------------------------------- Robosoft Technologies - Come home to Technology
------------------------------ _______________________________________________ Installer-dev mailing list Installer-dev@lists.apple.com 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 (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com