Skip to main content
Participant
November 19, 2010
Question

Air app misconfigured

  • November 19, 2010
  • 1 reply
  • 3321 views

I have taken over an app project. it has a publisherID in the descriptor xml to maintain updates and the current Air version is 1.5.3. so obviously was originally built on previous version.

The certificate expired, the tech team purchased a new re-issued certificate.

Current setup Flash Builder 4 on Max OS 10.6.5.

A) I have signed the application with the new certificate.

Upon installation of the .air file I get:

The message I get is:

"Sorry, an error has occurred.

The Application cannot be installed because the installer has been mis-

configured.  Please contact the application author for assistance."

B) I used the java ADT -migrate to apply the old certificate.

This goes through seemingly ok.

Upon installation of the new migrated .air file, I get:

"Sorry, an error has occurred.

The Application cannot be installed because the installer has been mis-

configured.  Please contact the application author for assistance."

I am told the exact same App worked perfectly (for upgrades) on the old certificate before its expiration.

I have tried changing the version no to eliminate that.

Any suggestions please?

This topic has been closed for replies.

1 reply

chris.campbell
Legend
November 19, 2010

Hi,

This could be as simple as uninstalling the previous version of the application, but to dig deeper we'll need to see the AIR installer log.  You can find instructions for this at: http://kb2.adobe.com/cps/403/kb403150.html#main_how_create_log_file_air_install

Thanks,

Chris

AluminairAuthor
Participant
November 25, 2010

The Solution:

A recent Flash Builder Update has been forced through by Adobe.  Which means you cannot publish to air versions prior to 2.0.

The Flex 4.1 + this 'adobe update' implies that we must be using at least Adobe 2.0.

I had:

<application xmlns="http://ns.adobe.com/air/application/1.5.3">

Solution is:

Replace <application xmlns="http://ns.adobe.com/air/application/1.5.3">

with <application xmlns="http://ns.adobe.com/air/application/2.0">

Also just in case you need to know where the adt tool is on a mac:

I found the java version most reliable:

Assuming the air app is on the mac desktop and the old certificate has been added to the mac keystore (jus opening the certificate should be enough to add it to the keystore if you select the appropriate oprtion when asked)

cd directory to:
/Applications/Adobe Flash Builder 4/sdks/4.1.0/lib/
Then run
java -jar adt.jar -migrate -storetype pkcs12 -keystore <old certificate name>.p12
"/Users/<username>/desktop/MyAirApp.air" "/Users/<username>/desktop/MyAirApp_migrated.air"
You will be asked for the old certificate password, enter this and you are done

P.S. Strike through text on this does not work properly

P.P.S Marking my own question as answered when adding this reply does not work