# Changing AIR application directories

I came across an interesting feature of AIR. I was experimenting with the -app.xml file params, and was playing with the installFolder value. As it turns out, if you build a release with one value and install it, then build another release with a different value and overwrite the original install, it still gets installed to the first value. Here’s the example:

This installs to c:\Program Files\iotashan\My Application\MyApp\

 12 MyApp iotashan/My Application

This normally would install to c:\Program Files\iotashan\MyApp\, but will install to the above original directory if you overwrite your installation.

 12 MyApp iotashan

The way to fix this is to uninstall the app and delete the leftover directories.