site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:in-reply-to:references :mime-version:content-type:message-id:cc:content-transfer-encoding :from:subject:date:to:x-mailer; bh=fvyIBZxVxm1zcA43X3Q6D7r1g7CA0HvXuhNInPtqu/k=; b=VDOU39uw+Uz8ZjvMU5MdgRNioXyUv/Yi6TiAqeO/JpZ23JvNKH5CanAl+45P26F3ba nqlHy6c0wehrLcW1TqB/pKgYd57u9/UmPsRQQyFf+FbIrG2pM6j+jWjcl2vgNCcj5+kk mVcZZzqfWLG9zXFwM/r3P3rqYPF9espyGYIXE= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=in-reply-to:references:mime-version:content-type:message-id:cc :content-transfer-encoding:from:subject:date:to:x-mailer; b=FqHKBPCNuXM3sPXFJ5LE5KfyYpbxAUuVftfEyETBFDtv/eCoRthQddwMl57vVRqAaf vnn3DDTa5I/N5bWY8zr/Yp/dRlJjSj+p0gyQljRqCnz3pFtZZH7QnA6ZpgNggoRCGBGQ NxPFpY6FSIfGKB3ABxiU4W7kiE8ctPjCZFUnc= On Feb 11, 2010, at 5:22 PM, Bob Sellon wrote: 2 reasons why it's not a good idea: There are multiple solutions to this problem: 2. You can create a new distribution using the 3rd party packages. _______________________________________________ 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 trying to create a package using PackageMaker 3.0.4(179) that installs my application but also runs a separate package that was provided by a third party which provides USB drivers (in this case FTDI USB serial drivers). I added the driver package (FTDIUSBSerialDriver.mpkg) using Project -> Add Contents. I left the Destination for / and added a Postinstall Action to open the resource: Open File - Type - Component... When it runs, it installs my app and completes with no errors but never runs the postinstall action. I checked the install.log and see that I'm getting the following error: Feb 11 10:56:52 bob-sellons-computer installd[82184]: PackageKit: Executing script "./postflight" in /private/tmp/ PKInstallSandbox.oXkPcu/Scripts/ com.thecompany.thecompanyprogram.postflight.pkg.WcZeUE Feb 11 10:56:52 bob-sellons-computer installd[82184]: ./postflight: LSGetApplicationForInfo() failed with error -10814 while trying to determine the application with bundle identifier com.thecompany.thecompanyprogram.FTDIUSBSerialDriver.pkg.ftdiusbserial drivermpkg. In the choice/package the FTDI Package Identifier is com.thecompany.thecompanyprogram.FTDIUSBSerialDriver.pkg Based on the error message "while trying to determine the application with bundle identifier" it seems like PackageKit could not figure out what type of file this is. My best guess right now is that the PackageMaker Action editor is munging the package identifier. Seems to be adding ftdiusbserialdrivermpkg to the end. With the new (?) Actions editor, i don't see a way of manually overriding this. I've tried changing the Action to opening the file in a Finder Window but get the following error: Feb 11 11:15:59 bob-sellons-computer installd[82301]: ./postflight: 29:136: execution error: Finder got an error: An error of type -10814 has occurred. (-10814) I've also tried copying the driver package into my app folder and adding it to the project. It shows up when I use the Action editor to create a new postinstall action but produces a similar error. I'm also still seeing the identifier being munged. Any suggestions would be most welcome. - this solution would not work if you are installing the components via ARD or via the command line with installer. Since you are requesting to open a package through the UI. - this solution creates a situation that may not be supported by the 3rd party package you are trying to install. For instance the $USER env might be set to root in such a case. 1. You can just provide the packages as is and provide instructions to install one package after the other. 3. You can write an application wrapper to install the packages automatically. This email sent to site_archiver@lists.apple.com