site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com TIA ---------------------------------------------------------------------- Philip D. Wasson pwasson at maned dot com Software Engineer Managing Editor Inc. _______________________________________________ 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 writing a Software Update-like application. It calls the command- line installer tool to do the actual installation. I've found a few things lacking in this approach, either due to lack of documentation or lack of capability in the installer. 1. Is there any way to cancel an installation cleanly? I had hoped that I could perhaps send a signal to the installer process, but no such thing is documented. I don't expect that simply killing the process would be good. 2. Is there a way to get better progress feedback from the installer? I could use some documentation on how to interpret its output, but it would be nice if it emitted percent-complete more often. Here's a sample of the output I got from one installer: installer: Package name is <some product name> installer: Installing onto volume mounted at /. installer:PHASE:Preparing for installation installer:%0.013333 installer:PHASE:Preparing <some product name> installer:PHASE:Installing <some product name> installer:STATUS: installer:STATUS:Configuring Installation installer:STATUS:Writing files installer:%0.235804 installer:STATUS:Writing files: 11% Completed installer:STATUS:Writing package receipt installer:PHASE:Finishing Installation installer:%0.002000 installer:STATUS:Finishing Installation installer:%1.000000 installer:STATUS: installer:%1.000000 installer:PHASE:The software was successfully installed installer: The install was successful. So, what's the difference between a PHASE and a STATUS? And I can't make any sense of the % numbers. Is using the command-line installer tool even a reasonable thing to do? I don't want the user to have to go through the full installer UI for each product that's being updated. This email sent to site_archiver@lists.apple.com