Re: Iceberg installation fails when using scripts
When the preflight script is run on my system from the Terminal, it fails. kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] I tend to believe you should check that $thepid is set before trying to kill the process because there may not be a "Mail Archiver Scheduler" running process on the system (e.g. first install). On Sun, Aug 12, 2012 at 1:38 AM, Beatrix Willius <bwillius@gmx.de> wrote:
Thanks for the tips. The main problem seems to be:
12.08.12 10:05:19,446 authorizationhost: SFBuiltinEntitled: Installer.app is not entitled for system.install.apple-software (full log below)
I have:
- added "exit 0" to the scripts - used a minimum script with only "echo test" as main action - tested on another user of the main dev machine - tested on another computer (both main and second machine have been tested with Lion).
All tries to install failed with the same error.
I googled the error but found nothing conclusive. Some websites said that this issue points to a problem of the machine. But then this should work for a second computer.
Is perhaps a setting wrong? The files by themselves ARE installed so this can't be the problem. The files are also quite simple. Main app, manual and a help file. I use no readme, no license. Just the basics. The scripts are what I mainly need.
The options are set to:
Restart: no restart required Authorization: no Authorization required Flags: non selected
Any other ideas?
12.08.12 10:05:03,624 Installer: @(#)PROGRAM:Install PROJECT:Install-690 12.08.12 10:05:03,624 Installer: @(#)PROGRAM:Installer PROJECT:Installer-537 12.08.12 10:05:03,624 Installer: Hardware: MacPro4,1 @ 2.66 GHz (x 8), 6144 MB RAM 12.08.12 10:05:03,625 Installer: Running OS Build: Mac OS X 10.7.4 (11E53) 12.08.12 10:05:03,659 Installer: Mail Archiver X Installation Log 12.08.12 10:05:03,659 Installer: Opened from: /Users/beatrixwillius/Documents/ Datei/Development/Mail Archiver/code current/Builds - max.rbp/Mail Archiver X.pkg 12.08.12 10:05:15,018 Installer: InstallerStatusNotifications plugin loaded 12.08.12 10:05:17,508 Installer: ================================================================================ 12.08.12 10:05:17,508 Installer: User picked Standard Install 12.08.12 10:05:17,508 Installer: Choices selected for installation: 12.08.12 10:05:17,508 Installer: Upgrade: "Mail Archiver X" 12.08.12 10:05:17,508 Installer: ================================================================================ 12.08.12 10:05:19,392 Installer: Configuring volume "Macci" 12.08.12 10:05:19,405 Installer: Free space on "Macci": 220,02 GB (220024684544 bytes). 12.08.12 10:05:19,405 Installer: Create temporary directory "/var/folders/yb/l1kg95s932sgnw_8bl3dd67h0000gr/T//Install.22169JtqgPr" 12.08.12 10:05:19,409 Installer: IFPKInstallElement (1 packages) 12.08.12 10:05:19,446 authorizationhost: SFBuiltinEntitled: Installer.app is not entitled for system.install.apple-software 12.08.12 10:05:19,469 authorizationhost: SFBuiltinEntitled: Installer.app is not entitled for system.install.app-store-software 12.08.12 10:05:19,492 authorizationhost: SFBuiltinEntitled: Installer.app is not entitled for system.install.app-store-software 12.08.12 10:05:19,493 com.apple.SecurityServer: Failed to authorize right 'system.install.app-store-software' by client '/System/Library/PrivateFrameworks/PackageKit.framework/Versions/A/Resources/installd' [22184] for authorization created by '/System/Library/CoreServices/Installer.app' [22169] 12.08.12 10:05:19,495 installd: PackageKit: ----- Begin install ----- 12.08.12 10:05:21,057 ReportCrash: DebugSymbols was unable to start a spotlight query: spotlight is not responding or disabled. 12.08.12 10:05:21,443 ReportCrash: Saved crash report for installd[22188] version ??? (???) to /Library/Logs/DiagnosticReports/installd_2012-08-12-100521_localhost.crash 12.08.12 10:05:21,451 installd: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “Mail Archiver X.pkg”." UserInfo=0x7fa07c90ed40 {NSFilePath=./preflight, NSURL=file://localhost/Users/beatrixwillius/Documents/%20Datei/Development/Mail%20Archiver/code%20current/Builds%20-%20max.rbp/Mail%20Archiver%20X.pkg, PKInstallPackageIdentifier=com.mothsoftware.pkg.mailarchiverx, NSLocalizedDescription=An error occurred while running scripts from the package “Mail Archiver X.pkg”.} { NSFilePath = "./preflight"; NSLocalizedDescription = "An error occurred while running scripts from the package \U201cMail Archiver X.pkg\U201d."; NSURL = "file://localhost/Users/beatrixwillius/Documents/%20Datei/Development/Mail%20Archiver/code%20current/Builds%20-%20max.rbp/Mail%20Archiver%20X.pkg"; PKInstallPackageIdentifier = "com.mothsoftware.pkg.mailarchiverx"; } 12.08.12 10:05:21,502 Installer: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. 12.08.12 10:05:21,656 Installer: IFDInstallController 43C25170 state = 7 12.08.12 10:05:21,656 Installer: Displaying 'Install Failed' UI. 12.08.12 10:05:21,662 Installer: 'Install Failed' UI displayed message:'The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'. 12.08.12 10:05:21,682 Installer: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Am 11.08.2012 um 23:22 schrieb Bill Coderre:
When running an installer, push CMD-L, then CMD-3 to show all the details.
You can save the log from that window.
After the install completes, it's appended to /var/log/install.log. Note that in Unix, logs get "rotated", which means that when the log gets too long, it gets compressed, set aside, and a new one started.
Console.app is a convenient way to browse logs, and can do filtering.
On Aug 11, 2012, at 12:07 PM, Paul Sanders <p.sanders@alpinesoft.co.uk> wrote:
Any idea where the installer writes a log? It's under Installer.log in /Applications/Utiltiies/Console.app.
Mit freundlichen Grüßen/Regards
Trixi Willius
http://www.mothsoftware.com Mail Archiver X: The email archiving solution for professionals
_______________________________________________ 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: https://lists.apple.com/mailman/options/installer-dev/dev.iceberg%40gmail.co...
This email sent to dev.iceberg@gmail.com
-- Packaging Resources - http://s.sudre.free.fr/Packaging.html _______________________________________________ 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: https://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Stephane Sudre