I started investigating this error when meny of users of my app started to get this message:
"This application cannot be installed because this installer has been mis-configured. Please contact the application author for assistance"

I have spent plenty of time trying to understand what exactly I did wrong. Unfortunately all the tips like reinstall Air runtime reinstall app and etc did not work for me. Here is a solution that worked for me.

It looks like this error is has everything to do with the certificate. All we probably know that this error will popup if I changed the certificate of the application. However for some reasons, for some users uninstalling the old application with the previous certificate and installing a new one (with new certificate) works great, for some  NOT. If this is a case or not u can check by changing the ID of the application in application.xml file, and let user install it as a brand new app that never been installed before. If it works with the new ID try to do the migration procedure for the certificate. This is resolved my issue.

1. Compile app with the new certificate.

2. Apply migration to the app of the old certificate.

Ant example build.xml:
<?xml version="1.0" encoding="UTF-8"?>
<project name="mecCoachApp" default="build" basedir=".">
<target name="build">
<exec executable="cmd">
<arg line="/c C:/Projects/Air/AdobeAIRSDK/bin/adt.bat -package -storetype pkcs12 -keystore newCert.p12 -storepass xxx -tsa none myapp.air"/>
</exec>

<exec executable=”cmd”>
<arg line=”/c C:/Projects/Air/AdobeAIRSDK/bin/adt.bat -migrate -storetype pkcs12 -keystore oldCert.pfx -storepass xxx -tsa none myapp.air myappMigrated.air”/>
</exec>
</target>
</project>

 

Noticed that while migrating IN and OUT files have to have different names.

Good Luck!

Dima Svirid

Software architect, JAVA, Spring, Hibernate, AngularJs, Backbone, MongoDB, Oracle. CTO and Co-Founder of Homeadnet.com

More Posts

Follow Me: