Creating Unique Air Packages On Download

Im looking for a way or any ideas on how to inject variables into a packaged Air file. Or how to create a Air package on the fly to make it unique on every download?

A user creates an account a website and gets their own unique air app that pulls in their profile data from a database.

*I dont want the user to have to enter their details after they have installed the app

Ive been thinking about maybe creating the package and then altering the hex for download. But i was thinking this will cause security issue and might corrupt the files. So maybe creating the package on the fly is the answer? but how would i go about doing that?

Im looking for ideas. Its quite a interesting problem.

Any help would be great.