This content has been marked as final. Show 6 replies
Forgot to mention, application install log says,
Application install failed. Exit code=-1
Could you specify the case that goes wrong?
Also, how do you uninstall an AIR app on Mac?
Thanks for the prompt reply.
The case is on the Mac, suppose my app is call myApp.air
1. Run myApp.air, install version 1, works great
2. Make a new myApp.air, name it version 2.
3. Run myApp.air, upgrade version 1 to version 2, works great.
4. Uninstall version 2 by delete the installation folder. For example, if I install on /Users/MyApp, delete the folder and empty trash.
5. Install version 2 myApp.jar, error message complains version mismatch.
On windows, I can uninstall from Control Panel. On the Mac, I don't know how I should remove an AIR app, and so I just went ahead and delete the app install folder.
Thanks in advance! Really appreciate your assistance.
You did right to uninstall the app.
>>5. Install version 2 myApp.jar, error message complains version mismatch.
"version mismatch" only comes up with your app. does an App. Update through the update() API.
So, if you just install version 2 myApp.air, it should not come up.
Some steps missed?
That's exactly the problem!!! :)
When I run version 2, it should not come up and should not run Updater.update(), but somehow it is on Mac.
There is no step between step 4 and step 5.
As I mentioned, besides trashing the app directory, I also tried to delete anything suggest to me is Adobe AIR related info, including,
But no effect so far.
This is happening on multiple machines on OSX and on Tiger.
>5. Install version 2 myApp.jar, error message complains version mismatch.
Do the "version mismatch" error message comes up during the installation process, or after the app. launches?
Could you post the installation log? (to get the log, create .airappinstall.log in your home directory.)