0
votes

I have an existing AIR app installed on many machines (only PC and Mac for now). Currently the filesize of this app is pretty big. It contains a lot of images and video. I was wondering if it was possible to provide a "DLC update" type of installer, that just contains a few more media assets that could be installed into the existing AIR apps install directory.

I have written my AIR app to detect all the media in a subfolder, so just need to get the new content in there. I don't really want to provide a new installer that includes all the assets they already have installed.

1

1 Answers

0
votes

What you need to do, is update your existing app to be aware of what it should have within the media folder, rather than blindly finding what is already there. Create a manifest file that defines all the files that should be there. Include not only the file name for each, but also a download URL/path it can be retrieved from. Check for each one, building a queue of files it needs to download, then fetch the files you need and write them out.