I realize I left out some relevant information.
After I a successful installation of the application, I remove it by either dragging it to the Trash or with AppCleaner.
Once the application has been removed, I reinstall by running the .pkg file or from the command line that I entered in my first post.
I suspect that the removal process is leaving something behind that is causing every other install to fail.
I've seen errors that say that the air file is corrupt which seems to be associated with this error: failed while unpackaging: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Error #2004" errorID=2004]Can anyone tell me what the error 2004 or exit code messages mean?
Can anyone tell me what exit code 7 or error code 2004 mean?
Also, if there is another bootstrapper application that is more compatible with AIR I'd appreciate some suggestions.
Here's the output from .airinstall.log and .airappinstall.log
machine:~ root# cat .airinstall.log
Starting silent x1 install from file:///tmp/MyApp.air
UI SWF load is complete
stateRunningAppInstaller: appinstaller -runtime "/tmp/Adobe AIR Installer Stand Alone.app/Contents/Frameworks" -silent -withRuntime -url file:///tmp/MyApp.air
App installer failed; exit code 7
machine:~ root# tail .airappinstall.log
Starting silent app install of file:///tmp/MyApp.air
UI SWF load is complete
Unpackaging to /private/var/folders/zz/zzzivhrRnAmviuee+++++++++++/TemporaryItems/FlashTmp0
unpackaging is complete
application is bound to side-by-side version 1.0
application is bound to this version of the runtime
app id MyApp
pub id ---
failed while unpackaging: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Error #2004" errorID=2004]
starting cleanup of temporary files
application installer exiting
According to this Flex Reference document:
#2004 is indicative of an invalid parameter being passed.
The exit code 7 indicates that the installation failed. I would make sure that the application is not already installed. You indicate in your previous message that you remove the file by dragging it to the Trash. Make sure to the empty the Trash as well. I would also recommend checking to see what the LaunchServices Database thinks is installed. You can query this by typing the following:
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Supp ort/lsregister -dump | grep MyApp
It should return all instances of your application on your system. Hope this helps.
Adobe AIR QE
Thanks for your input, I'll give it a try.