Posted in | Posted on 03-27-2008 | 2,633 views
So this is a minor nit - I really do love AIR, but I've noticed something funny. I go to install an application - one that I've installed before, and the installer tells me:

Ok, no big deal, I'll just move the old file or pick another file, but nope, you can't do that, because the installer dies right there! Why not let the user go back and correct the install folder? Or move the file? Sure it takes me all of 5 seconds to do this and rerun the installer, but I wish it wouldn't abort the process because of a simple problem like that.
Ok, so this isn't a complaint just about AIR - I've seen other applications do this as well, but I figured that if I complain about it, maybe someone will point out that I simply created my installer wrong.


may be you have to update the old app.
salvatore
What you get then is when installing, saying that there is a conflict, since you have version 1.0.1 and it wants to install 1.0.2. Then you get prompted with the choice to either overwrite or keep the file.
Hope this works for you,
Cheers, Sidney
Does that distinction make sense?
Again, I'm being picky - I _love_ AIR.
I don't think it should even say "an error has occured".
What it should do is DETECT beforehand and just tell you that "an application with that name already exists at the select location", then give you an editable text field pre-populated with a variation that will make the install work (ex: previousAppName_2) as well as cancel, "overwrite the previous installation", and "choose a new installation directory" buttons.
But it's AIR 1, so I'll pretend I never noticed and still tell everyone that AIR is perfect and the solution to all of the world's problems.
"The same version of the application you opened already exists on this system.
Would you like to run the version already installed?"
If you are updating your application, it is advised that the version number in your app.xml changes so that the air runtime can treat it as an update.
[Add Comment] [Subscribe to Comments]