Skip to main content
Participant
May 4, 2011
Question

Installation on OSX, Possibly Related to ISO Creation

  • May 4, 2011
  • 2 replies
  • 1172 views

Hello all.  We have been sublaunching the Adobe AIR runtime installer along with our .air file for a little over a year as part of a larger cross-platform installer we run.  I can't say it's been flawless, but it's generally worked up until our latest release attempt.  Previously, we've gathered all the files together in a directory and used Toast to create a Hybrid (HFS+/ISO9660) ISO.  With this release we finally got around to a scripted solution which uses hdiutil on the Mac to create the hybrid ISO, along with platform specific files being hidden.  Since I've made this change, I've run into issues with the AIR installer.

Specifically, it gets "error 7" when trying to install on most machines.  As best as I can tell, if AIR is already installed, but our .air program is not, it will work.  If AIR needs to be installed, it fails.  I have some information from system.log that may help, but first some more information on my troubleshooting.

We run a custom built python-based installer that, on OS X, elevates its priveledges (so it's running as root when it attempts to install AIR).  It calls the AIR installer using subprocess.call, with the full path to the AIR installer on the ISO, '-silent', and then the full path to our .air file on the ISO.  I used this same command both as root and as the logged in user from the command line while troubleshooting this problem.  Interestingly, it succeeded as the user, and failed as root.  It did get further than it does from within the installer, however. 

I then made some changes to our script to drop privs to the logged in user, and while this worked from a small test script (after I created ~/Library/Frameworks if it didn't exist from within the script), it for whatever reason did not work from our actual installer.

So I'm a bit stuck, looking perhaps for a reason why it wouldn't work on the new ISO.  I'll note that diffing the Adobe AIR installer from the last release's ISO and this new ISO, they come up identical.  We were using AIR 2.5.1, I also tested with 2.6 without a positive result. 

Thanks for any help!

Apr 27 02:01:43 Quality-Assurances-iMac configd[14]: PMConnection AirPort configd plug-in com.apple.powermanagement.applicationresponse.slowresponse 330 ms

Apr 27 09:42:08 Quality-Assurances-iMac configd[14]: PMConnection AirPort configd plug-in com.apple.powermanagement.applicationresponse.slowresponse 940 ms

Apr 29 09:50:49 Quality-Assurances-iMac configd[14]: PMConnection AirPort configd plug-in com.apple.powermanagement.applicationresponse.slowresponse 158 ms

Apr 29 09:51:44 Quality-Assurances-iMac fseventsd[45]: could not open <</Volumes/CORSAIR/.fseventsd/fseventsd-uuid>> (No such file or directory)

Apr 29 09:51:44 Quality-Assurances-iMac fseventsd[45]: log dir: /Volumes/CORSAIR/.fseventsd getting new uuid: 37CE89DC-E6BE-47D0-B742-DD506DA9D4C9

Apr 29 21:15:55 Quality-Assurances-iMac configd[14]: PMConnection AirPort configd plug-in com.apple.powermanagement.applicationresponse.slowresponse 136 ms

May  2 12:24:02 Quality-Assurances-iMac /Volumes/Vectorworks/Packages/../Adobe AIR Help System/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[6998]: Runtime Installer begin with version 2.5.1.17730 on Mac OS 10.6.7 x86

May  2 12:24:02 Quality-Assurances-iMac /Volumes/Vectorworks/Packages/../Adobe AIR Help System/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[6998]: Commandline is: -silent "/Volumes/Vectorworks/Packages/../Adobe AIR Help System/Vectorworks2011Help.air"

May  2 12:24:02 Quality-Assurances-iMac /Volumes/Vectorworks/Packages/../Adobe AIR Help System/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[6998]: No installed runtime detected

May  2 12:24:02 Quality-Assurances-iMac /Volumes/Vectorworks/Packages/../Adobe AIR Help System/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[6998]: Invoking Application Installer for combined install

May  2 12:24:02 Quality-Assurances-iMac /Volumes/Vectorworks/Packages/../Adobe AIR Help System/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[6998]: Launching subprocess with commandline /Volumes/Vectorworks/Adobe AIR Help System/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer -runtime "/Volumes/Vectorworks/Adobe AIR Help System/Adobe AIR Installer.app/Contents/Frameworks" -silent -withRuntime -url file:///Volumes/Vectorworks/Adobe%20AIR%20Help%20System/Vectorworks2011Help.air

May  2 12:24:03 Quality-Assurances-iMac /Volumes/Vectorworks/Adobe AIR Help System/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[7000]: Application Installer begin with version 2.5.1.17730 on Mac OS 10.6.7 x86

May  2 12:24:03 Quality-Assurances-iMac /Volumes/Vectorworks/Adobe AIR Help System/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[7000]: Commandline is: -runtime "/Volumes/Vectorworks/Adobe AIR Help System/Adobe AIR Installer.app/Contents/Frameworks" -silent -withRuntime -url file:///Volumes/Vectorworks/Adobe%20AIR%20Help%20System/Vectorworks2011Help.air

May  2 12:24:03 Quality-Assurances-iMac /Volumes/Vectorworks/Adobe AIR Help System/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[7000]: No installed runtime detected

May  2 12:24:04 Quality-Assurances-iMac /Volumes/Vectorworks/Adobe AIR Help System/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[7000]: Unpackaging file:///Volumes/Vectorworks/Adobe%20AIR%20Help%20System/Vectorworks2011Help.air to /private/var/folders/zz/zzzivhrRnAmviuee+++++++++++/TemporaryItems/FlashTmp0

May  2 12:24:21 Quality-Assurances-iMac /Volumes/Vectorworks/Adobe AIR Help System/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[7000]: Application signature verified

May  2 12:24:21 Quality-Assurances-iMac /Volumes/Vectorworks/Adobe AIR Help System/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[7000]: Unpackaging/validation complete

May  2 12:24:21 Quality-Assurances-iMac /Volumes/Vectorworks/Adobe AIR Help System/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[7000]: Converting unpackaged application to a native installation package in /private/var/folders/zz/zzzivhrRnAmviuee+++++++++++/TemporaryItems/FlashTmp1

May  2 12:24:29 Quality-Assurances-iMac /Volumes/Vectorworks/Adobe AIR Help System/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[7000]: Native installation package creation succeeded

May  2 12:24:29 Quality-Assurances-iMac /Volumes/Vectorworks/Adobe AIR Help System/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[7000]: Starting silent combined runtime and app install.\n Installing runtime version 2.5.1.17730.\n Installing app net.nemetschek.vectorworks.2011.help.eng.CC16605A57FA88F0CED2B1A19E704F482AB2B1EB.1 version 2.0 to /Applications using the source file at file:///Volumes/Vectorworks/Adobe%20AIR%20Help%20System/Vectorworks2011Help.air

May  2 12:24:42 Quality-Assurances-iMac /Volumes/Vectorworks/Adobe AIR Help System/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[7000]: Registering /Applications/Utilities/Adobe AIR Application Installer.app/Contents/Info.plist

May  2 12:24:42 Quality-Assurances-iMac /Volumes/Vectorworks/Adobe AIR Help System/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[7000]: Error occurred during register filetype operation; beginning rollback: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #1" errorID=1]

May  2 12:24:42 Quality-Assurances-iMac /Volumes/Vectorworks/Adobe AIR Help System/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[7000]: Error during rollback ignored: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #3003" errorID=3003]

May  2 12:24:43 Quality-Assurances-iMac /Volumes/Vectorworks/Adobe AIR Help System/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[7000]: Rollback complete

May  2 12:24:43 Quality-Assurances-iMac /Volumes/Vectorworks/Adobe AIR Help System/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[7000]: Got an unexpected fatal error while in stateInstalling: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #3003" errorID=3003]

May  2 12:24:46 Quality-Assurances-iMac /Volumes/Vectorworks/Adobe AIR Help System/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[7000]: Application Installer end with exit code 7

May  2 12:24:46 Quality-Assurances-iMac /Volumes/Vectorworks/Packages/../Adobe AIR Help System/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[6998]: Subprocess app installer failed (7)

May  2 12:24:46 Quality-Assurances-iMac /Volumes/Vectorworks/Packages/../Adobe AIR Help System/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer[6998]: Runtime Installer end with exit code 7

This topic has been closed for replies.

2 replies

jkellynviAuthor
Participant
August 31, 2011

No answer to this, despite finally getting some attention for the bug I filed.  They were focused on permissions, but even using 777 permissions didn't seem to resolve it.

What we ended up doing, as it was clear Adobe's assitance was going nowhere, was to include the dmg from Adobe on our ISO instead of the installer itself.  We then, from our installer, mount the dmg, taking care to note where it was mounted (in the odd event the user already had an AIR installer dmg mounted), and then install from there.  We then unmount it.  Using -nobrowse with hdiutil attach, it's all transparent to the user.

Rather ghetto, but that appears to be the order of the day.

jkellynviAuthor
Participant
July 29, 2011

Hoping to maybe dredge this up a bit.  I'm a bit unhappy to see no response on this, and no response on the bug I filed regarding this issue.  Further information:

I removed the code that hides files, and recreated an ISO automatically this week.  I'm not convinced that did the trick, but it does now install on a machine it did not before.  However, when testing on a Lion machine, it fails.  Even worse, it fails on the Lion machine using the method that had previously worked (using Toast to create ISOs).  This is absolutely critical for us to get resolved soon, we've skipped issuing new ISOs for our previous two service packs and simply cannot continue to do that, let alone not have ISOs for a new release.

We're now getting a completely different error:

7/28/11 8:40:43.649 PM Adobe AIR Installer: Runtime Installer begin with version 2.7.0.19530 on Mac OS 10.7.0 x86

7/28/11 8:40:43.649 PM Adobe AIR Installer: Commandline is: -silent "/Volumes/Vectorworks/Packages/../Adobe AIR Help System/Vectorworks2011Help.air"

7/28/11 8:40:43.649 PM Adobe AIR Installer: No installed runtime detected

7/28/11 8:40:43.811 PM Adobe AIR Installer: Invoking Application Installer for combined install

7/28/11 8:40:43.813 PM Adobe AIR Installer: Launching subprocess with commandline /Volumes/Vectorworks/Adobe AIR Help System/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer -runtime "/Volumes/Vectorworks/Adobe AIR Help System/Adobe AIR Installer.app/Contents/Frameworks" -silent -withRuntime -url file:///Volumes/Vectorworks/Adobe%20AIR%20Help%20System/Vectorworks2011Help.air

7/28/11 8:40:44.009 PM Adobe AIR Application Installer: Application Installer begin with version 2.7.0.19530 on Mac OS 10.7.0 x86

7/28/11 8:40:44.009 PM Adobe AIR Application Installer: Commandline is: -runtime "/Volumes/Vectorworks/Adobe AIR Help System/Adobe AIR Installer.app/Contents/Frameworks" -silent -withRuntime -url file:///Volumes/Vectorworks/Adobe%20AIR%20Help%20System/Vectorworks2011Help.air

7/28/11 8:40:44.009 PM Adobe AIR Application Installer: No installed runtime detected

7/28/11 8:40:44.454 PM Adobe AIR Application Installer: Unpackaging file:///Volumes/Vectorworks/Adobe%20AIR%20Help%20System/Vectorworks2011Help.air to /private/var/folders/cq/xxf198h13xd79nv6_k3x2zj00000gn/0/TemporaryItems/FlashTmp0

7/28/11 8:40:51.518 PM Adobe AIR Application Installer: Application signature verified

7/28/11 8:40:51.522 PM Adobe AIR Application Installer: Unpackaging/validation complete

7/28/11 8:40:51.530 PM Adobe AIR Application Installer: Converting unpackaged application to a native installation package in /private/var/folders/cq/xxf198h13xd79nv6_k3x2zj00000gn/0/TemporaryItems/FlashTmp1

7/28/11 8:40:58.362 PM Adobe AIR Application Installer: Native installation package creation succeeded

7/28/11 8:40:58.366 PM Adobe AIR Application Installer: Launching subprocess with commandline /usr/sbin/chown -hfRP Gunther "/Users/Gunther/Library/Application Support/Adobe"

7/28/11 8:40:58.366 PM Adobe AIR Application Installer: Launching subprocess with commandline /bin/chmod -fRP +rw "/Users/Gunther/Library/Application Support/Adobe"

7/28/11 8:40:58.393 PM Adobe AIR Application Installer: Starting silent combined runtime and app install.

Installing runtime version 2.7.0.19530.

Installing app net.nemetschek.vectorworks.2011.help.eng.CC16605A57FA88F0CED2B1A19E704F482AB2B1EB.1 version 2.0 to /Applications using the source file at file:///Volumes/Vectorworks/Adobe%20AIR%20Help%20System/Vectorworks2011Help.air

7/28/11 8:40:58.455 PM Adobe AIR Application Installer: Could not copy the file at /Volumes/Vectorworks/Adobe AIR Help System/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework to /Library/Frameworks/Adobe AIR.framework

7/28/11 8:40:58.456 PM Adobe AIR Application Installer: Error occurred during copy operation; beginning rollback: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2038" errorID=2038]

7/28/11 8:40:58.465 PM Adobe AIR Application Installer: Rollback complete

7/28/11 8:40:58.465 PM Adobe AIR Application Installer: Got an unexpected fatal error while in stateInstalling: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2038" errorID=2038]

7/28/11 8:40:59.568 PM Adobe AIR Application Installer: Application Installer end with exit code 7

7/28/11 8:40:59.755 PM Adobe AIR Installer: Subprocess app installer failed (7)

7/28/11 8:40:59.759 PM Adobe AIR Installer: Runtime Installer end with exit code 7

The installer is being run as root, so permissions theoretically shouldn't be an issue.

We have distributors making their own ISOs who are not experiencing these issues, so it would seem the code we use to launch everything is fine and it really has something to do with the process we're using to create our ISOs.  Diffing the app on the ISO vs. the app on a DMG downloaded from Adobe yields only permissions differences.  Generally more permissive for the owner, less permissive for group/other.

Any ideas at all?

Participating Frequently
August 1, 2011

Hi,

Could you file the Lion issue with necessary test media into https://bugbase.adobe.com/ for investigation?

Thanks,

Jian

jkellynviAuthor
Participant
August 2, 2011

Thanks, I've done so.  It's:

Bug 2932916