Im my case it was an image file in the assets folder. Look in the app install log.
Tracy Spratt, Lariat Services, development services available _____ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of James Sent: Friday, February 12, 2010 2:36 PM To: flexcoders@yahoogroups.com Subject: [SPAM] [SPAM] [flexcoders] Re: Air File Is Damaged Error Ah right. The name of the swf file itself contained an ampersand or the air file which you compiled from your application? I tried changing the name of the air file to include only letters but that didn't seem to work either. --- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com, "Tracy Spratt" <tr...@...> wrote: > > Yes, look at the appinstall log. I don't recall exactly how to do that so > just google it. In my case it was a bad character in the filename, an > ampersand if I recall correctly. > > > > Tracy Spratt, > > Lariat Services, development services available > > _____ > > From: flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com [mailto:flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com] On > Behalf Of James > Sent: Friday, February 12, 2010 1:35 PM > To: flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com > Subject: [SPAM] [flexcoders] Re: Air File Is Damaged Error > > > > > > Thanks for that. I'll try it. > > How can I solve a lack of space in my temp directory exactly? I've heard of > the airappinstall thing too but how exactly do I do this? I'm on vista. > > Sorry if this all sounds stupid. I'm just a flex student at the moment. > Cheers for your help so far. > > --- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com, > "Jim Hayes" <jim@> wrote: > > > > Are you including any other files in the package? > > I seem to remember that certain characters in their file names could > > cause this problem. > > Maybe an ampersand ??? I'm sorry, it was quite a while ago and I've > > forgottten exactly which char(s) caused it for me. > > There was a bug open on it at the time as I remember. > > Maybe worth having a quick scan through and see if theres anything > > unusual in there? > > > > An .air file is basically a .zip achive, by the way, if you need to look > > inside - take a copy and rename It to.zip > > > > These "damaged" errors seem to occur when the archive cannot be > > expanded, so a lack of space in your temp directory can also cause this. > > > > You can log the process by placing a file called .airappinstall.log in > > your home directory, by the way - the install process will be logged to > > that, so it may give you a litte more info as to the cause. > > > > -----Original Message----- > > From: flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com > [mailto:flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com] > On > > Behalf Of James > > Sent: 12 February 2010 15:48 > > To: flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com > > Subject: [flexcoders] Re: Air File Is Damaged Error > > > > > > I don't think so. In a project I made a while ago I have an app called > > coolvisi1. A few months back I created an air file from this very app > > called coolvisi1.air and I've tested it just now and it works perfectly. > > The app in question hasn't even been touched since back then. I've just > > tried to create another air file from it called coolvisi2.air and I got > > the error. > > > > However I've made another app the other day and tried to make an air > > file from that and it worked upon installation. This makes me think it's > > something to do with the code inside the app but how would I be able to > > find out what is causing this? Is there any way of looking at the > > contents of an air file to see exactly what is "damaged" and compare it > > to the contents of the one that works or something along those lines? > > > > Totally crazy problem and I've had a few of them this week :-( > > > > --- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com > <mailto:flexcoders%40yahoogroups.com> > > , "seanmcmonahan" <sean@> wrote: > > > > > > Have you recently changed sign certificates? Had a similar problem > > when our certain expired. Ended up having to migrate the old one to the > > new for each update. > > > > > > --- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com > > <mailto:flexcoders%40yahoogroups.com> , "James" <garymoorcroft_ict@> > > wrote: > > > > > > > > Yes but the fact that other air files I make are working shows that > > it's not a flex/air related problem doesn't it? If it is this though how > > would I fix it? > > > > > > > > --- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> > ups.com > > <mailto:flexcoders%40yahoogroups.com> , Johannes Nel <johannes.nel@> > > wrote: > > > > > > > > > > one thing which can cause this is if the update.xml file and the > > air file > > > > > have different versions. > > > > > > > > > > On Fri, Feb 12, 2010 at 2:54 PM, James <garymoorcroft_ict@>wrote: > > > > > > > > > > > > > > > > > > > > > > > I keep getting the same "The application could not be installed > > because the > > > > > > AIR file is damaged. etc..." message every time I attempt to > > test the > > > > > > install of an air file I've just made from an application in > > flex. I've > > > > > > tried exporting other applications for release build and they > > work fine but > > > > > > it just seems this particular one won't work so I know it's not > > a flex > > > > > > problem. I've tried starting a whole new project and creating a > > new app and > > > > > > copying and pasting all of the code from the app I need into > > this new app > > > > > > and exporting that for release build from there but again I get > > the same > > > > > > error. > > > > > > > > > > > > Is there any way of finding out what is causing this error and > > is there a > > > > > > fix for this? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > j:pn > > > > > \\no comment > > > > > > > > > > > > > > > > > > __________________________________________________________ > > This communication is from Primal Pictures Ltd., a company registered in > England and Wales with registration No. 02622298 and registered office: 4th > Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. > VAT registration No. 648874577. > > > > This e-mail is confidential and may be privileged. It may be read, copied > and used only by the intended recipient. If you have received it in error, > please contact the sender immediately by return e-mail or by telephoning > +44(0)20 7637 1010. Please then delete the e-mail and do not disclose its > contents to any person. > > This email has been scanned for Primal Pictures by the MessageLabs Email > Security System. > > __________________________________________________________ > > >