site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=Ib1hOIBngi/M0SIZLxRBUvwN1p4kjwzVsM4sqzgtwvZBh2nZRyzc7pL35kNovy8VQO5o+Rai2f4QGLoAKzZes7MRsiqKcgkoMKvNw1V8MOXtL0x0+B/Y1Ccokn7hwFrUPS4wh5yRXKFUGvXmmlzwZ/a/dZOBdRqOx/4zMJ5mQFc= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=a2aqYsn3hwfD54XSKYUCcx2NSufV4fCa0e9TPlOm1eimSxfhEPHCENkAanLMEMYf7vEoi6PKnKv3MrfwHBg4funNckmGNbVuAbGKv9arovi7OnO42x0tup23PqzFK7YRCdZtQ5GPVQF8FEtVaucZl2xfenhaRHSw/c8E5iEwDEM= DiskFolder +---DataFolder | +---FolderToInstall | +---file1.data | +---file2.data +---MyInstaller.pkg +---Contents +---Archive.bom | . | ./FolderToInstall | ./FolderToInstall/file1.data | ./FolderToInstall/file2.data +---Info.plist | <key>IFPkgFlagAltSourceLocation</key> | <string>../DataFolder</string> | <key>IFPkgFlagDefaultLocation</key> | <string>/Full/Path/To/ParentOfFolderToInstall</string> +---PkgInfo +---Resources Good Luck - Gary On Jun 20, 2007, at 3:40 PM, cohen.rick@gmail.com wrote: Thanks! - Rick My deployment target is 10.3.9 or later. This email sent to harmless.hambone@gmail.com _______________________________________________ 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... I'm not from Apple, but I've used this flag on 10.3 and 10.4. Here's what works for me: NOTES: This only seems to work with folders (containing files) but not with loose files themselves. IFPkgFlagAltSourceLocation & IFPkgFlagDefaultLocation are the parent folders of the folder you are installing. I've had some problems with 10.3.x and permissions of files installed from CD, so I fix them in a postflight. Remember to delete MyInstaller.pkg/Contents/Archive.pax (or Archive.pax.gz). You'll rarely build an installer only once and it's easy to make mistakes when doing this manually, so automate the build process. If this flag works, this would be extremely useful. Can anybody from Apple (or elsewhere...) say whether this flag is implemented, what OS versions it would work correctly in, and if there is any further enlightenment in the correct usage? Stéphane Sudre wrote: On mercredi, juin 20, 2007, at 06:55 PM, Steve Israelson wrote: I am trying to determine if PackageMaker can create a package that can install my application and also its data files where the data files are not in the package but are on the install disk in an external directory. I want to do this so that the Windows installer can also access these data files. The install is very simple, just the App, data files, and one defaults tweak to point at the data files. I saw a couple of threads on this subject and there was no good solution other that to write your own shell script to copy the files. Has there been any other solutions found to this issue? Maybe a solution could be to: Use a Metapackage containing 2 packages: Package A: it contains your application. Standard package, no magic involved. Package B: it contains no .pax. It used the undocumented "IFPkgFlagAltSourceLocation" flag. As I've never used the "IFPkgFlagAltSourceLocation", I can't confirm that it will work. If not, then I may resort to writing my own installer since I will be in full control of the install process then. Are there any gotchas with making your own installer? By gotchas, do you mean something like: - bugs - security flaws - files being deleted - not being able to blame someone else for the first 3 items on this list. ? _______________________________________________ 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/rcohen.lists% 40gmail.com This email sent to rcohen.lists@gmail.com _______________________________________________ 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/harmless.hambone% 40gmail.com This email sent to site_archiver@lists.apple.com