views:

93

answers:

0

I'm using Claus Wahlers' AIR Remote Updater class (codeazur.com.br/lab/airremoteupdater/). All works fine and an update is triggered if the remote version is newer. The newer file is downloaded and the update starts. However I then get "an error has occured" message: "This application cannot be installed because this installer has been mis-configured"

(The same file will update without errors when run manually "Would you like to replace the currently installed version?" Choosing 'replace' works fine)

I have enabled Air Application Installer logging and I can see that both the app id and the pub id match - this seems to be a common reason for this problem (forums.adobe.com/thread/243421?tstart=60)

The error given in the log file is as follows:

AIR file version doesn't match
Requested version: ; AIR file version: 1.0.2

But if I unzip the new app file and look at META-INF\AIR\application.xml the version designator shows <version>1.0.2</version> As requested!

The log file is also showing me where the newer file is being downloaded and unpacked. If I look at the application.xml file in that directory:

Unpackaging to C:\Documents and Settings\myusername\Local Settings\Temp\fla893D.tmp

the version designator also shows <version>1.0.2</version>

I don't get it?! The log tells me that the requested file version doesn't match but it's exactly the same as what's shown in the version designator of the downloaded update package...

This is driving me crazy. Can anyone help?