Skip navigation
PhilipClevberger
Currently Being Moderated

.app getting corrupt when included in installer

Apr 17, 2012 6:29 PM

Im stuck on a peculiar problem and wonder if anyone out there got any idea of what is going on.

 

I have built a content management system in Adobe AIR for a client.

The software generates a folder containing all the data and assets added by the user as well as some other files specified by me.

One of these files is a .app file and is added to included files in the .air installer.

 

Problem:

- When the software generates the folder including the user specified files and the ones specified by me (including the .app file) the .app file doesn't work any more.

- the file size of the .app file changes from 10MB to 12MB when included in the .air installer package.

 

If I just drop the original 10MB version of the file manually into the folder generated by the software, it all runs fine. Something seems to get modified when its added to the installer package.

 

Does anyone have any experience with this, it would be very much appreciated if someone could give me a clue.

 

If you are in London I will buy you a beer if you can help me solve thisone.

 

Thank you in advance

 

Best regards

/Philip

 
Replies
  • Chris Campbell
    9,456 posts
    May 4, 2010
    Currently Being Moderated
    Apr 17, 2012 7:27 PM   in reply to PhilipClevberger

    What software are you using to create a native installer?  Can you check to see if the file permissions inside the .app have changed after installing the native installer?  Can you do a binary compare on the two folders (the 12 vs 10mb) to see what's different?

     
    |
    Mark as:
  • Chris Campbell
    9,456 posts
    May 4, 2010
    Currently Being Moderated
    Apr 18, 2012 5:58 PM   in reply to PhilipClevberger

    Would it be possible to send me your native installer along with a zip copy of the .app file so I can take a look?  I'm not sure why you see a size change when navigating into the package, must be something going on at the OS level there.

     

    Additionally, have you tried running under ADL to see if you're app is throwing an exception?

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points