8 Replies Latest reply on Mar 18, 2010 10:08 PM by Romil Mittal

    Problem migrating to 1.5.3

    newzdog

      Guys,


      I have an AIR app that has been working perfectly for some time under AIR 1.0 developed under CS3. I have upgraded to CS4 and AIR 1.5 OK but when I installed the 1.5.3 SDK the final AIR app does not work. When I try to install it I get an error "This  application cannot be installed because this installer has been  mis-configured. Please contact the application author for assistance.". Any ideas? I am really stumped.

      Best

      Steve

        • 1. Re: Problem migrating to 1.5.3
          Romil Mittal Adobe Employee

          Do you have AIR 1.5.3 installed on your system?

           

          -romil

          • 2. Re: Problem migrating to 1.5.3
            newzdog Level 1

            Romil,


            Yes I have version 1.5.3.910 of the AIR framework Installed. CS4 version is 10.0.2

             

            Best

             

            Steve

            • 3. Re: Problem migrating to 1.5.3
              tzeng Adobe Employee

              This is because Publisher ID is removed from the app. by default in 1.5.3 app.

               

              You need to set the publisherID tag in app.xml file. F

              ind the publisherID of the installed app. (a fil

              e publisherid inside the META-INF/AIR dir. and set the publisherID tag to the same.

               

              Or you can uninstall the old version before you install the new version.

               

              -ted

              1 person found this helpful
              • 4. Re: Problem migrating to 1.5.3
                newzdog Level 1

                Ted,

                 

                It sounds like your suggestions are on the right track. But I am not really sure I understand completely what you are saying. It is important for me to have the publisherID the same as the original applications that are already out there.I have already included the correct publisherID in the app descriptor XML file. Am I doing the right thing? This is descriptor xml:

                 

                <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
                <application xmlns="http://ns.adobe.com/air/application/1.5.3">
                  <id>com.elertz.stage</id>
                  <publisherID>9AF4EE1EA9AB71EAD9D48655BC2ADB5C2C8D7DBB.1</publisherID>
                  <version>1.18.2.32</version>
                  <filename>Newzdog</filename>
                  <description>Newzdog desktop app</description>
                <!-- To localize the description, use the following format for the description element.<description><text xml:lang="en">English App description goes here</text><text xml:lang="fr">French App description goes here</text><text xml:lang="ja">Japanese App description goes here</text></description>-->
                  <name>Newzdog</name>
                <!-- To localize the name, use the following format for the name element.<name><text xml:lang="en">English App name goes here</text><text xml:lang="fr">French App name goes here</text><text xml:lang="ja">Japanese App name goes here</text></name>-->
                  <copyright>Newzdog 2010</copyright>
                  <initialWindow>
                    <content>elertz.swf</content>
                    <systemChrome>none</systemChrome>
                    <transparent>false</transparent>
                    <visible>true</visible>
                    <maximizable>true</maximizable>
                    <minimizable>true</minimizable>
                    <resizable>true</resizable>
                  </initialWindow>
                  <programMenuFolder>Newzdog</programMenuFolder>
                  <icon>
                    <image128x128>AppIconsForAIRPublish/128x128.png</image128x128>
                    <image48x48>AppIconsForAIRPublish/48x48.png</image48x48>
                    <image32x32>AppIconsForAIRPublish/32x32.png</image32x32>
                    <image16x16>AppIconsForAIRPublish/16x16.png</image16x16>
                  </icon>
                  <customUpdateUI>false</customUpdateUI>
                  <allowBrowserInvocation>false</allowBrowserInvocation>
                </application>

                 

                Best

                 

                Steve

                • 5. Re: Problem migrating to 1.5.3
                  tzeng Adobe Employee

                  This descriptor looks right.

                  Do you still have problem with installation?

                  If you still do, you need to make sure you are using the same certificate for signing.

                   

                  -ted

                  1 person found this helpful
                  • 6. Re: Problem migrating to 1.5.3
                    newzdog Level 1

                    Ted,


                    I am using a renewed certificate that is different from the ones already installed. I was under the impression that using 1.5.3 with the publisherID in the application descriptor xml file allowed to update the old apps with the original certificate. The publisherID is from the original certificate. Am I correct in thinking that this shoudl work?

                     

                    Best

                    Steve

                    • 7. Re: Problem migrating to 1.5.3
                      tzeng Adobe Employee

                      Then you need to use the Certificate Migration feature.

                       

                      Here is the ADT command you need to migrates the AIR file:

                      adt -migrate SIGNING_OPTIONS <air-file-in> <air-file-out>

                      where SIGNING_OPTIONS is your original certificate.

                      • 8. Re: Problem migrating to 1.5.3
                        Romil Mittal Adobe Employee

                        Following blog post describes the effets in migration as a result of the publisher ID change made in 1.5.3:

                                http://blogs.adobe.com/simplicity/2009/11/upcoming_certificate_renewal_c.html

                         

                        -romil