Hi there,
I'm getting an error while trying to install an AIR application. Basically, I just see the AIR installer dialog with an empty progress bar and an "Installing ..." message. Here's what the log file looks like:
Nov 4 23:07:57 MM /Applications/Utilities/Adobe AIR Uninstaller.app/Contents/MacOS/Adobe AIR Installer[201]: Commandline is: -psn_0_172074
Nov 4 23:07:57 MM /Applications/Utilities/Adobe AIR Uninstaller.app/Contents/MacOS/Adobe AIR Installer[201]: Installed runtime (2.5.0.16600) located at /Library/Frameworks/Adobe AIR.framework
Nov 4 23:08:02 MM /Applications/Utilities/Adobe AIR Uninstaller.app/Contents/MacOS/Adobe AIR Installer[201]: Runtime Installer end with exit code 6
Nov 4 23:08:02 MM com.apple.launchd.peruser.501[97] ([0x0-0x2a02a].com.adobe.air.Installer[201]): Exited with exit code: 6
Nov 4 23:15:15 MM Eye-Fi Center[226]: NSDocumentController Info.plist warning: The values of CFBundleTypeRole entries must be 'Editor', 'Viewer', 'None', or 'Shell'.
Nov 4 23:15:15 MM /Applications/Eye-Fi/Eye-Fi Center.app/Contents/MacOS/Eye-Fi Center[226]: Launching subprocess with commandline /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater -eula -nai
Nov 4 23:15:15 MM /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater.app/Contents/MacOS/Adobe AIR Installer[229]: Runtime Installer begin with version 2.5.0.16600 on Mac OS 10.6.4 x86
Nov 4 23:15:15 MM /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater.app/Contents/MacOS/Adobe AIR Installer[229]: Commandline is: -eula -nai
Nov 4 23:15:15 MM /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater.app/Contents/MacOS/Adobe AIR Installer[229]: Installed runtime (2.5.0.16600) located at /Library/Frameworks/Adobe AIR.framework
Nov 4 23:15:15 MM /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater.app/Contents/MacOS/Adobe AIR Installer[229]: Starting eula display
Nov 4 23:15:17 MM /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater.app/Contents/MacOS/Adobe AIR Installer[229]: Finished eula display
Nov 4 23:15:28 MM configd[13]:
Nov 4 23:15:29: --- last message repeated 2 times ---
Nov 4 23:15:29 MM /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater.app/Contents/MacOS/Adobe AIR Installer[229]: Finished eula display
Nov 4 23:15:29 MM /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater.app/Contents/MacOS/Adobe AIR Installer[229]: Runtime Installer end with exit code 0
Nov 4 23:15:29 MM /Applications/Eye-Fi/Eye-Fi Center.app/Contents/MacOS/Eye-Fi Center[226]: Subprocess /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater failed (1)
Nov 4 23:15:29 MM configd[13]:
Nov 4 23:15:59: --- last message repeated 14 times ---
Nov 4 23:16:31 MM /System/Library/CoreServices/CCacheServer.app/Contents/MacOS/CCacheSe rver[156]: No valid tickets, timing out
Some background on the application I'm trying to install:
1. The application descriptor file points at the 2.0 version of the runtime. The application I'm trying to install has been packaged as a dmg.
2. I already have the 2.5 version of the AIR runtime installed on this machine, so I'm not sure why there are references to the EULA in the log file.
3. I'm not actively double clicking on the dmg file. The .dmg is actually being installed by a third party application via the command line.
Any ideas on what could be happening here or can you offer any remedial action on how to get this application installed correctly?
Thanks
Sean
That looks like the log you get when we display the EULA on first app launch. You should only be able to get into that state if you've installed the runtime silently without accepting the eula. Are you sure that's what you're getting when actually running the installer? You might want to clear out your logs and try again to be sure
Thanks for the responses guys,
The third party application is passing a -silent and -location flag to when launching the application.
Another log file from a different computer but experiencing the same issue (kinda looks like a permissions issue with the chown failure):
Nov 4 16:48:43 null-f81edfe7f68c authexec[24758]: executing /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer
Nov 4 16:48:44 null-f81edfe7f68c /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[24758]: Runtime Installer begin with version 2.5.0.16600 on Mac OS 10.6.4 x86
Nov 4 16:48:44 null-f81edfe7f68c /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[24758]: Commandline is: -ei
Nov 4 16:48:44 null-f81edfe7f68c /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[24758]: No installed runtime detected
Nov 4 16:48:44 null-f81edfe7f68c /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[24758]: Starting silent runtime install. Installing runtime version 2.5.0.16600
Nov 4 16:48:57 null-f81edfe7f68c /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[24758]: Registering /Applications/Utilities/Adobe AIR Application Installer.app/Contents/Info.plist
Nov 4 16:48:57 null-f81edfe7f68c /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[24758]: Launching subprocess with commandline /usr/sbin/chown -hfRP root:wheel "/Library/Frameworks/Adobe AIR.framework"
Nov 4 16:48:57 null-f81edfe7f68c /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[24758]: Subprocess chown failed (-1)
Nov 4 16:48:57 null-f81edfe7f68c /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[24758]: Launching subprocess with commandline /usr/sbin/chown -hfRP root:wheel "/Applications/Utilities/Adobe AIR Application Installer.app"
Nov 4 16:48:57 null-f81edfe7f68c /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[24758]: Subprocess chown succeeded
Nov 4 16:48:57 null-f81edfe7f68c /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[24758]: Launching subprocess with commandline /usr/sbin/chown -hfRP root:wheel "/Applications/Utilities/Adobe AIR Uninstaller.app"
Nov 4 16:48:57 null-f81edfe7f68c /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[24758]: Subprocess chown succeeded
Nov 4 16:48:57 null-f81edfe7f68c /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[24758]: Runtime Installer end with exit code 0
Nov 4 16:48:57 null-f81edfe7f68c /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[24753]: Elevated install completed
Nov 4 16:49:00 null-f81edfe7f68c /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[24753]: Elevated install failed: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Error #2038" errorID=2038]
Nov 4 16:49:00 null-f81edfe7f68c /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[24753]: Exiting due to error: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Error #2038" errorID=2038]
Nov 4 16:49:03 null-f81edfe7f68c /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[24753]: Runtime Installer end with exit code 7
Nov 4 16:49:03 null-f81edfe7f68c com.apple.launchd.peruser.501[240] ([0x0-0x41f41f].com.adobe.air.Installer[24753]): Exited with exit code: 7
Nov 4 16:50:20 null-f81edfe7f68c mdworker[24721]: Found source of class (null), but no such class was found.
Nov 4 16:50:20 null-f81edfe7f68c mdworker[24721]: Could not initialize source from /Users/dnk/Library/Application Support/AddressBook/Sources/7FB5AEF5-79B0-4A86-8845-2631B2BB0FEB
Nov 4 16:50:20 null-f81edfe7f68c mdworker[24721]: Found source of class (null), but no such class was found.
Nov 4 16:50:20 null-f81edfe7f68c mdworker[24721]: Could not initialize source from /Users/dnk/Library/Application Support/AddressBook/Sources/7FB5AEF5-79B0-4A86-8845-2631B2BB0FEB
Nov 4 16:53:24 null-f81edfe7f68c Eye-Fi Center[24781]: NSDocumentController Info.plist warning: The values of CFBundleTypeRole entries must be 'Editor', 'Viewer', 'None', or 'Shell'.
Nov 4 16:53:24 null-f81edfe7f68c /Applications/Eye-Fi/Eye-Fi Center.app/Contents/MacOS/Eye-Fi Center[24781]: Launching subprocess with commandline /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater -eula -nai
Nov 4 16:53:24 null-f81edfe7f68c /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater.app/Contents/MacOS/Adobe AIR Installer[24784]: Runtime Installer begin with version 2.5.0.16600 on Mac OS 10.6.4 x86
Nov 4 16:53:24 null-f81edfe7f68c /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater.app/Contents/MacOS/Adobe AIR Installer[24784]: Commandline is: -eula -nai
Nov 4 16:53:24 null-f81edfe7f68c /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater.app/Contents/MacOS/Adobe AIR Installer[24784]: Installed runtime (2.5.0.16600) located at /Library/Frameworks/Adobe AIR.framework
Nov 4 16:53:25 null-f81edfe7f68c /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater.app/Contents/MacOS/Adobe AIR Installer[24784]: Starting eula display
Nov 4 16:53:27 null-f81edfe7f68c /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater.app/Contents/MacOS/Adobe AIR Installer[24784]: Finished eula display
Nov 4 16:53:30: --- last message repeated 1 time ---
Nov 4 16:53:30 null-f81edfe7f68c /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater.app/Contents/MacOS/Adobe AIR Installer[24784]: Runtime Installer end with exit code 0
Nov 4 16:53:30 null-f81edfe7f68c /Applications/Eye-Fi/Eye-Fi Center.app/Contents/MacOS/Eye-Fi Center[24781]: Subprocess /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater failed (1)
This last post from me appeared to be a permissions issue.
However, the first post is still an issue. Here's the command that is being executed to launch the app:
"/Applications/Eye-Fi/Install Eye-Fi Center.app/Contents/MacOS/Install Eye-Fi Center" -silent -location /Applications/Eye-Fi -allowDownload
Any ideas on why this might be still happening?
Sean
Chris,
Some more output from a different user experiencing this exact same problem:
Nov 11 15:21:55 Gallifrey /Applications/Eye-Fi/Install Eye-Fi Center.app/Contents/MacOS/Install Eye-Fi Center[2707]: Application installer success
Nov 11 15:21:55 Gallifrey /Applications/Eye-Fi/Install Eye-Fi Center.app/Contents/MacOS/Install Eye-Fi Center[2707]: Bootstrapper success^M
Nov 11 15:21:55 Gallifrey sudo[2719]: root : TTY=unknown ; PWD=/private/tmp/PKInstallSandbox.OdwoHj/tmp ; USER=Lucas ; COMMAND=/usr/bin/open /Applications/Eye-Fi/Eye-Fi Helper.app
Nov 11 15:22:00 Gallifrey Eye-Fi Center[2722]: NSDocumentController Info.plist warning: The values of CFBundleTypeRole entries must be 'Editor', 'Viewer', 'None', or 'Shell'.
Nov 11 15:22:00 Gallifrey /Applications/Eye-Fi/Eye-Fi Center.app/Contents/MacOS/Eye-Fi Center[2722]: Launching subprocess with commandline /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater -eula -nai
Nov 11 15:28:10 Gallifrey /Applications/Eye-Fi/Eye-Fi Center.app/Contents/MacOS/Eye-Fi Center[2722]: Subprocess /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater failed (1)
Nov 11 15:28:13 Gallifrey Eye-Fi Center[2776]: NSDocumentController Info.plist warning: The values of CFBundleTypeRole entries must be 'Editor', 'Viewer', 'None', or 'Shell'.
Nov 11 15:28:13 Gallifrey /Applications/Eye-Fi/Eye-Fi Center.app/Contents/MacOS/Eye-Fi Center[2776]: Launching subprocess with commandline /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater -eula -nai
Again, this is the command I'm executing in the bootstrap installer we have running on the user's machine:
"/Applications/Eye-Fi/Install Eye-Fi Center.app/Contents/MacOS/Install Eye-Fi Center" -silent -location /Applications/Eye-Fi -allowDownload
Are we invoking this incorrectly? Is there a way to get more debug information to pinpoint the exact root of this issue?
Sean
A possible solution to this very issue was posted to some forums:
After much research I found the solution was to:
- Uninstall Adobe Air using in uninstaller in Applications/Utilities
- delete ~/Library/Application Support/Adobe/AIR
- Make sure ~/Library/Frameworks and ~/Applications had 755 permissions
- Reinstall the latest Adobe Air (if you get a #2038 error after install there's a problem)
- Reinstall the application
Would really appreciate some insight from someone from engineering as to why these steps might be necessary to install an AIR application (especially given the fact that the AIR installer asks the user to elevate to admin privileges before installation)
Sean
Hi Sean,
After doing those steps, was the runtime able to install?
We do have an open issue with the following folders possibly having improper permissions set:
~/Library/Application Support/Adobe
~/Library/Application Support/Adobe/AIR
/Users/Shared/Library/Application Support/Adobe
/Users/Shared/Library/Application Support/Adobe
It's also possible for a user to have a bogus file named "Adobe" located in their /Applications folder.
This was caused by older Adobe CS installers and it's something we're actively looking into. However, I haven't seen anything regarding ~/Library/Frameworks or ~/Applications.
Chris
Hi Chris,
The user was able to install the application after executing this set of steps. I'm unsure of which particular step was key in allowing the installation to proceed.
Just to be clear; From what I understand, even before executing this set of steps, the user had the Adobe AIR 2.5.0.16600 runtime installed on their machine. When the user was experiencing this issue and quit the installer window, they still had Adobe AIR 2.5.0.16600 installed on their machine. I see that the error log seems (correct me if I'm mistaken) to indicate that this particular issue is related to a runtime installation failure:
Nov 11 15:28:10 Gallifrey /Applications/Eye-Fi/Eye-Fi Center.app/Contents/MacOS/Eye-Fi Center[2722]: Subprocess /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater failed (1)
this runs contrary to the fact that the user had an up to date version of the runtime on their machine.
I can ask the user on our forums whether they had older versions of Creative Suite installed on their machine. Is there any other questions/debug information that you think would be helpful in pinning down this particular issue so that newer versions of the AIR installer can work for more users?
Sean
Hi, I'm the engineer who's dealing with this
Now that I see all the new logs I'm pretty sure the root of the problem was that ~/Library/Application Support/Adobe/AIR or /Users/Shared/Library/Application Support/Adobe was read-only or otherwise inaccessible. We store some state there, to track whether the eula has been accepted and a few other things. The installer unfortunately doesn't handle being unable to write to either folder well and gives the unhelpful errors you've been seeing. It's a relatively new issue that we've been seeing, and we're still not sure which other Adobe product or whatever else is setting the wrong permissions there. If you catch one in the act let us know. We've got a bug logged to make the installer robust enough to handle such cases or at least give sensible error.
The line
Nov 11 15:28:10 Gallifrey /Applications/Eye-Fi/Eye-Fi Center.app/Contents/MacOS/Eye-Fi Center[2722]: Subprocess /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater failed (1)
is a bit of a red herring. Since we can't write the flag that shows the eula has been accepted, we try to show the eula when you launch your application. That EULA also can't write the flag, and we have a mess. It just happens that the EULA is displayed with the same executable that does updates
Sorry you've been having some much trouble, but I hope that takes some of the mystery away
Hi there Douglas,
I can ask the user on our forums whether they changed permissions on ~/Library/Application Support/Adobe/AIR directory. I suspect that they didn't. Even is they did, I thought that the elevation of privileges to admin user during the install process would make this a moot point - I could quite easily be wrong here as I don't know the full ins and outs of installers. It would be a huge plus if the AIR installer was able to fallback to writing to the user's home directory or somewhere else if it found itself unable to write to the ~/Library/Application Support/Adobe/AIR directory. Getting an understandable error message being presented to the user would be useful, but having some level of fault tolerance in the runtime installer would be best. Even if users understood the context of the error message, asking them to change permissions on a directory isn't really a viable option and causes a support headache for us.
If you have specific questions of the user on our forums that ran into this issue, I'd be happy to pass them along. If you suspect that a pervious Creative Suite installer might have altered the directory's permissions during a prior installation, I can ask if this user has Creative Suite installed. Otherwise - are there any other Adobe products that might be writing to this directory and altering the permissions?
Thanks for your response - it definitely helps in giving me a better understanding of why this happened in the first place. Hopefully, if I can get some more debug information from this user's machine (let me know if you have any questions you'd like to ask), we can figure out what the root of the problem is and fix this for future Adobe AIR runtime releases.
Sean
Hi Sean,
I'm currently tracking a couple of open bugs related to the Mac installer. The first, bug #2756259, deals with the possibility of a file named "Adobe" existing in the user's Applications folder. This is another legacy issue, possibly caused by beta installs of CS applications.
The second bug, #2756424, deals with the installering being unable to seemlessly handle incorrect folder permission levels.
I understand what a pain this can be support wise, to help ease the burden on the customer I've put together a small applescript application that looks to rename the bogus file for the first bug, and fix the permission levels for the typical folder locations. I consider this a temporary stop-gap until we can make changes in the runtimer installer. Please feel free to take a look and let me know if it helps you out.
Chris
Edit: Remove the out of date AppleScript. Instead, please see this post for the latest repair script details.
Thanks for that Chris,
I'll send that apple script on to the support team and they'll distribute it to users encountering this error as they see fit.
One of the users who got into this state mentioned the following on our forums:
I also did have Adobe Air blocked with Little Snitch initially, but unblocked it after updating it. I think the key was to delete the Application Support/Adobe/AIR folder I did get a lot of #2038 errors every time I reinstalled Adobe AIR but reading through this blog helped me fix it: http://blog.iconara.net/2007/06/12/air- ... rror-2038/
If you have any follow up questions or anything, I'm happy to relay them to our users.
Thanks again
Sean
Chris,
Thank you!! That Apple Script worked! I've been baning my head against this for a while.
Here's what's odd though. I didn't have any CS4 apps on my machine, but I did have that /Applications/Adobe folder (which I renamed). I only had the CS5 Master Collection installed (I recently reformatted and installed OS X fresh too, so I can guarantee there were no upgrades). The only CS4-related apps I have on my machine (using the old installers, updaters, and licensing engine) are Flash Builder 4 Premium and ColdFusion Builder 1. So I'd suggest looking into those.
I had tried setting the folder permissions to 755 manually, but it didn't seem to work (I'm sure I must have missed one or something). Also, what's odd is that the installer previously would not create the folder (and data) for /Users/Shared/Library/Application Support/Adobe/AIR, however it would if I ran the installer from terminal using sudo (and in that case the installer would complete without an error window or in the system logs), yet the install would still be hosed.
Feel free to ping me offline if you want me to help test with anything else regarding the possibility of Flash Builder 4 or CF Builder 1 installer possibly causing any permission issues (I'll be happy to offer any testing you want to run by me).
--
Jeff Coughlin (ACP)
jeff [at] jeffcoughlin .dot. com
Hi there Chris,
I just saw http://blogs.adobe.com/air/2010/12/update-now-available-for-adobe-air- 2-5-1-mac-only.html posted and was wondering whether the fixes for the issues you mention earlier on in this post were included in this latest update?
Cheers
Sean
Hi Sean,
This Mac only update was created to address a camera API bug first reported on this thread. The mac installer bugs are still on track to be fixed in an upcoming release.
Chris
Hi there Chris,
I don't mean to be a pest in asking whether this bug has been committed to the next version of the runtime, but I just got some mail this morning asking for final testing on the 2.6 version of the runtime. Will the installation bugs listed in this thread be addressed in the 2.6 version of the runtime?
Thanks again
Sean
Hi Sean,
Thanks for bringing this up again. I just took a look at the status for both 2756259 and 2756424 and they are both marked Closed / Fixed for AIR 2.6 which is scheduled for release in the next several weeks.
Bug 2756259 ("Cryptic error message when the runtime installer fails with the file "Adobe" present in /Applications") has been addressed by having the AIR installer now giving a detailed and understandable error so that users can manually deal with the presence of this file themselves. The silent install will fail, but the log message is now more readable. We did not want to alter an existing file on the user's machine, so this seemed the best option available.
Bug 2756424 ("Runtime installer is unable to work around folders with insufficient permissions during installation"). The AIR Installer will now automatically correct the permissions level for the "~/Library/Application Support/Adobe", "/Users/Shared/Library/Application Support/Adobe" and "~/Library/Preferences/Macromedia/Flash Player/www.macromedia.com" folders. This will work in both gui and silent modes.
In the interim, please feel free to forward people to this post which contains a small AppleScript which attempts to address these issues.
Thanks,
Chris
need help!!!
tried everything in this post and others that refer to the same installation issues and still keep getting the "An error occurred while installing Adobe AIR. Installation may not be allowed by your administrator. Please contact your administrator."
I would really like this to resolve since I like my adobe air products and would like to have them work on my new mac without any issues...
can you suggest anything else?
Hi traknon1,
I'm sorry your having problems installing AIR. Would you mind creating a new post and include the AIR install log from your system so we could investigate further?
Thanks,
Chris
North America
Europe, Middle East and Africa
Asia Pacific
Copyright © 2012 Adobe Systems Incorporated. All rights reserved.
Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy (updated 07-14-2009).