Digitally Signing Flex/AIR Application

I am looking for some help with updating an AIR application with a renewed certificate.
The way that Adobe AIR handles digitally signed certificates is fairly confusing. I think it has changed with the release of AIR 1.5.3 and this change has caught us off guard and has resulted in some problems.
According to the Adobe website: Prior to AIR 1.5.3, signing an AIR application with a renewed certificate did not always require a migration signature. Starting with AIR 1.5.3, a migration signature is always required for renewed certificates.
Furthermore: The certificate must be changed before the original certificate expires. If you do not create an update signed with a migration signature before your certificate expires, users will have to uninstall their existing version of your application before installing a new version. As of AIR 1.5.3, an expired certificate can be used to apply a migration signature within a 180 day grace period after the certificate has expired. (You cannot use the expired certificate to apply the main application signature.).
See:
http://help.adobe.com/en_US/AIR/1.5/devappsflex/WS5b3ccc516d4fbf351e63e3d118666ade46-7ff0. html#WS5b3ccc516d4fbf351e63e3d118666ade46-7cca
http://help.adobe.com/en_US/AIR/1.5/devappsflex/WS13ACB483-1711-43c0-9049-0A7251630A7D.htm l
BOTTOM LINE:
We did not create a "migration signature" within the 180 grace period because we had no updates (bug fixes or enhancements) to our application during this time. When I finally did prepare a new release of our application and signed it with our new certificate, the Adobe installer is not recognizing the new application as an UPDATE of the old application so when you try to install it, the user gets an error message that an application that the same name is already installed. In the past, the installer recognizes the new application as an update and it replaces the old app. I think there may be a way for me to handle this properly, but all of my attempts so far have not produced the results I am looking for.
The issues may be related to specifying a Publisher ID. We may need to specify the publisherId in the descriptor.xml file, which we have never had to do in the past. However, the publisherId property may only be available in 1.5.3. I have been having trouble specifying the 1.5.3 name space (<application xmlns="http://ns.adobe.com/air/application/1.5.3">). I think that must only be available for newer versions of the compiler. I am currently using 3.5.
Are there any experts on this topic that can explain How I can package my updated app so that the installer recognizes it as an UPDATE and not a NEW APP with the same name (which doesn't work)?

Any ideas on this?

Similar Messages

  • PDF Not loading anymore on Flex Air Application

    Hi,
    Ever since I updated my Adobe Readed to Version 11, I can't view any PDF on my Flex Air Application anymore. Is there anything i need to do?
    AIR version: 3.6
    OS: Mac OS X
    Flex Builder: 4.6
    Adobe Reader: 11.0.02
    Flex components used: mx:HTML
    Please help.
    Thanks!

    Yes.  This is a well known bug in Air/Google Maps.  A lot of folks reported it on the Google Maps forums and here.  It was reported over a year ago with no action yet.  Major show stopper.
    For this main reason, I switched to the http://developer.mapquest.com AS3 API.  Plus they also recently released a Mobile Flash API that works great.
    I suggest you check it out because I don't anticipate any action on this issue on either side any time soon.
    Good luck!
    Don

  • Flex/Air applications with an OS X Menu Bar icon

    (Flash Builder 4 beta)
    I'm developing a flex/air application for mac os x exclusivley. The application should be very unobtrusive to the user, and as such, I want to eliminate the dock icon for the application and have it run exclusivley in the os x menu bar. Similar to a twitterific app. I've scoured the documentation for a way to do this, but only come up with methods for a system tray in windows, and dock icon function on a mac.
    Does AIR really lack the ability to have a menu bar icon?
    Thanks in advance!

    I've made menu's already for the application. They are native os x menu's but they are used create contextual menus (file, edit, view...etc...) and are only visible when the application is open. Unless their is a feauture I missed I don't think I can do it with those. I'm looking for the ability to create a menubar icon application similar to twitter, or the default apple spotlight.

  • Call JSFL from Flex Air application

    Hi,
    I have a Flex Air application that converts old style flash
    text var txt files into XML. As part of the process it creates a
    jsfl file that when run will automate through older FLAs and
    upgrade them with changes required.
    My question is this. Using the command
    fl.runScript(locationOfJSFLscript) in flash, it will automatically
    call the script and execute it. How do I do the same in Flex? i.e.
    I have a button in the application. I press it and it sends the
    call to run the script.
    Thank you

    Of course you may have some unstated reason for doing this in Air, but if not...
    Google photoshop droplet....
    Bob

  • Twitter Feed Within A Flex/Air Application

    I am attempting to advance an appilcation I've created so that it incorporates a live twitter feed i.e. when users access the application their own twitter feed is shown within it and is updated live.
    I have no experience in using either twitter itself or how to incorporate twitter feeds into a flex/air application specifically and was wondering if anyone can tell me exactly what I'd need to do to achieve this?
    A further addition my client has requested is the use of live images. The app itself is basically an interactive favourites menu with users clicking on and adding links to sites within the app. Each of these links is represented by an icon which is basically a screenshot of each site. I want to alter this so that these images change live AS the site themselves change so they are constantly up to date. Is this also possible at all and if so can anyone give me advice on how this could be achieved?

    Thanks a lot. I've used another method that simply lets the user enter their twitter name and it loads their live feed. I suppose that way would work too though. Cheers.

  • Identical flex-air applications do not compile

    I'm having terrible difficulty with writing Air Applications for compiling with the flex 3.2 SDK.
    I have two identical basic flex air applications, but one will not compile, the other will.
    When I try to run the application from flex builder the first app runs fine while the second one doesn't.
    any ideas?
    http://www.andy-hayes.com/download/TestApp.zip
    http://www.andy-hayes.com/download/TestTransparentApplication.zip
    I've just about had enough of flex builder's bs. tbh.

    Hi Randy,<br /><br />This forum really isn't the place to try to get support on app compilation.  We try to keep discussion here to development of the SDK itself.  I'd suggest looking at the regular Flex forums or flexcoders and posting more details as to the error you're seeing.<br /><br />Matt<br /><br /><br />On 1/13/09 3:51 AM, "randy gland" <[email protected]> wrote:<br /><br />A new discussion was started by randy gland in<br /><br />Developers --<br />  Identical flex-air applications do not compile<br /><br />I'm having terrible difficulty with writing Air Applications for compiling with the flex 3.2 SDK.<br /><br />I have two identical basic flex air applications, but one will not compile, the other will.<br /><br />When I try to run the application from flex builder the first app runs fine while the second one doesn't.<br /><br />any ideas?<br /><br />http://www.andy-hayes.com/download/TestApp.zip<br />http://www.andy-hayes.com/download/TestTransparentApplication.zip<br /><br />I've just about had enough of flex builder's bs. tbh.<br /><br />________________________________<br />View/reply at Identical flex-air applications do not compile <a href=http://www.adobeforums.com/webx?13@@.59b78044><br />Replies by email are OK.<br />Use the unsubscribe <a href=http://www.adobeforums.com/webx?280@@.59b78044!folder=.3c060fa3>  form to cancel your email subscription.

  • How to Add Input Values into a XML in Flex AIR Application

    I need a help, now I am developing a flex windows AIR application, in this I am displaying data using a xml file,
    I have some input fields in my application,if the application user filled the input field and press submit button, the inputs
    Should be stored in that xml. How can I do this using flex, can you  anyone please provide me a sample file with tutorial.
    Thanks in advance
    Vasanth,
    Chennai

    You can use the "+" operator which is both the addition (number) and concatenation (string) operator. JavaScript makes the decision about how this operator will work by the type of the value of being processed. Two numbers JavaScript performs addition, character string and number, number and character string, or 2 character strings then concatenation.
    If you just use the '+' operator and spaces, you will get extra spaces unless you add code to allow for null fields and adjusting the spacing or other punctuation as needed. You may also need to force numeric values to character stings or you might end up with an addition and not concatenation.
    Adobe provided a example of a funciton to properly join 3 fields with full versions of Acrobat:
    function fillin(s1, s2, s3, sep) {
      // Concatenate 3 strings with separators where needed
      // convert passed strings to a string value
      s1 = s1.toString();
      s2 = s2.toString();
      s3 = s3.toString();
      // assign a numeric value for presence of a given string(s)
      var test = 0; // no passed strings
      if (s1 != "") test += 1; // s1 has a value
      if (s2 != "") test += 2; // s2 has a value
      if (s3 != "") test += 4; // s3 has a value
      // return appropriate combination based on passed strings
      if (test == 0) return ""; // no stings passed
      if (test == 1) return s1; // s1 only
      if (test == 2) return s2; // s2 only
      if (test == 3) return s1 + sep + s2; // s1 and s2
      if (test == 4) return s3; // s3 only
      if (test == 5) return s1 + sep + s3; // s1 and s3
      if (test == 6) return s2 + sep + s3; // s2 and s3
      if (test == 7) return s1 + sep + s2 + sep + s3; // s1, s2, and s3

  • Can you call external exe file from Flex Air Application like notepad.exe

    Im trying to make my Air Application open an External exe file anyone know if this can be done?

    Hi,
    If you want to share code between a flex app and AIR, you
    could isolate the common bits as a swc file and link to the swc
    from both the flex and air project.
    Also, you could have the flex mxml file and air mxml file
    load the same module (which has the same stuff as your original
    flex application) using ModuleLoader.
    Or, you could even load the swf of your flex application
    using SWFLoader in your air mxml file.
    Basically, check out creating flex libraries, modules and
    runtime loading of swfs.

  • Digitally signing an AIR file

    This question was posted in response to the following article: http://help.adobe.com/en_US/air/build/WS5b3ccc516d4fbf351e63e3d118666ade46-7ff0.html

    Hello,
    this documentation page at the "Changing certificates" section says:
            In some circumstances, you must change the certificate you use to sign updates for your AIR application. Such circumstances include:
                    1. Renewing the original signing certificate.
                    2. Upgrading from a self-signed certificate to a certificate issued by a certification authority
                    3. Changing from a self-signed certificate that is about to expire to another
                    4. Changing from one commercial certificate to another, for example, when your corporate identity changes
    What about "Downgrading from a certificate issued by a certification authority to a self-signed certificate" please ? e.g: the opposite of the second circumstance listed in this part of the documentation.
    Considering that we respect the 180 days limit after certificate's expiration date:
    Is it possible to move from certificate issued by a trusted CA to a self-signed certificate ?
    And then move back from the self-signed certificate to a new certificate issued by the same trusted CA as the old one ?
    I ask about this because :
    Our application's certificate issued by Thawte has expired for 30 days.
    Thawte can't provide us a new certificate before the 180 days limit is reached.
    So we consider to move from the expired Thawte certificate to a self-singed one. And then move back from the self-signed certificate to the new Thawte certificate which they will give us in the future.
    Since we have a big amount of users, we'd like to be sure that this will work and everybody will be able to update the application without any troubles related to the "old expired Thawte certifcate => self-signed certificate => new Thawte certificate" migration.
    Thanks for your help

  • Open PS (CS-CS4) and load image from flex/air application?

    Hello,
    (Not sure wether to post this in the AIR forum or the FLEX forum?)
    I am at a loss on how to get my simple application to work. I have a small desktop air application that simply opens Photoshop and runs an action. I used switchboard and the application ran great on PC and MAC. However it only worked for CS3, and CS4 not CS or CS2?. Plus the size of switchboard was a bit large for my small app. I am willing to live with that though . I am using Air with Flex and wanted to know if perhaps there is a beter approach? All the application does is open photoshop, loads an image, and runs an action. Can I do this for all versions of Photoshop using switchboard? Can I do this without switchboard and just use javascript. The big issue is the Air app needs to open Photoshop, and most of the examples have me open PS first and then execute a script located in the PS directory. This needs to work outside of the PS directory. Any examples are appreciated.
    I have looked at the following:
    - SwitchBoard : only works for CS3-CS4 (on my tests)
    - PatchPanel: same issue, plus seperate SDKs
    - ExtendScript: requires script to be run from PS not Air

    Of course you may have some unstated reason for doing this in Air, but if not...
    Google photoshop droplet....
    Bob

  • HTTPService problem (ioerror #2032) in flex AIR application

    Hi all,
    I am using flex 4.5 Hero Sdk. Flex Builder plugin. Win7x64. Adobe Air 2.5.
    I have a flex air project which contains 3 library projects included.
    The project uses one of the included libraries for managing HttpService calls to a Tomcat server.
    When I use "merge into code" option for building all projects there is no problem. I can both run in Adl and installed application (exe). HttpService calls works fine in both Adl and Air 2.5 runtime.
    When I use Rsl option for building all projects I can run-debug in Adl However when I run the installed version (I mean this time running the application not with adl, but with Flex Air 2.5.x version installed in win7x64) this time HttpService calls to the server gives ioerror (Error#2032).
    Some information I discovered (may not be related to the problem I stated above)
    When using rsl option, "use local RSLs when debugging" option makes the difference. If this option is false, Adl cannot run the application.
    I tried -use-network=true compiler option, but not sure if I did everything right while trying.
    Shortly I think I need some knowledge for working with RSLs. So, can anybody help me?

    Take a look at http://forums.adobe.com/message/3345972#3345972

  • Random error #2032 from flex air application

    Sometimes in my air application I am getting one error #2032 - but on re-sending this query it works fine. I suspect this is some timing issue. What could be possible use cases where it can fail like this.

    Of course you may have some unstated reason for doing this in Air, but if not...
    Google photoshop droplet....
    Bob

  • How to display data from local csv files (in a folder on my desktop) in my flex air application using a datagrid?

    Hello, I am very new to flex and don't have a programming background. I am trying to create an air app with flex that looks at a folder on the users desktop where csv files will be dropped by the user. In the air app the user will be able to browse and look for a specific csv file in a list container, once selected the information from that file should be displayed in a datagrid bellow. Finally i will be using Alive PDF to create a pdf from the information in this datagrid laid out in an invoice format. Bellow is the source code for my app as a visual refference, it only has the containers with no working code. I have also attached a sample csv file so you can see what i am working with. Can this be done? How do i do this? Please help.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="794" height="666">
        <mx:Label x="280" y="19" text="1. Select Purchase Order"/>
        <mx:List y="45" width="232" horizontalCenter="0"></mx:List>
        <mx:Label x="158" y="242" text="2. Verify Information"/>
        <mx:DataGrid y="268" height="297" horizontalCenter="0" width="476">
            <mx:columns>
                <mx:DataGridColumn headerText="Column 1" dataField="col1"/>
                <mx:DataGridColumn headerText="Column 2" dataField="col2"/>
                <mx:DataGridColumn headerText="Column 3" dataField="col3"/>
            </mx:columns>
        </mx:DataGrid>
        <mx:Label x="355" y="606" text="3. Generated PDF"/>
        <mx:Button label="Click Here" horizontalCenter="0" verticalCenter="311"/>
    </mx:WindowedApplication>

    Open the file, parse it, populate an ArrayCollection or XMLListCollection, and make the collection the DataGrid dataProvider:
    http://livedocs.adobe.com/flex/3/html/help.html?content=Filesystem_08.html
    http://livedocs.adobe.com/flex/3/html/help.html?content=12_Using_Regular_Expressions_01.ht ml
    http://livedocs.adobe.com/flex/3/html/help.html?content=dpcontrols_6.html
    http://livedocs.adobe.com/flex/3/langref/mx/collections/ArrayCollection.html
    http://livedocs.adobe.com/flex/3/langref/mx/collections/XMLListCollection.html
    If this post answered your question or helped, please mark it as such.

  • Flex/Air Application Login - the best way

    Hi,
    I have small ideological problem :) I have login form in my
    application. So, each user has his own login and password. As
    serverside is used LCDS with secured destinations.
    And here are two possible approaches:
    1) I use server side auth. mechanism (Tomcat realm) to check
    users credentials. I have custom auth. class, which check user
    credentials. This works, but, i have some problems in logout
    operation and if user enter wrong username or password.
    2) Second way is this. I have only one user (which is
    hardcoded in app or loaded from config). This user is authenticated
    to server at the start (setCredentials() ). I need this, because
    all destinations are secured. And the "real user" is verified
    against the services that will bring the information if that user
    is verified or not.
    So, i don't know which approach is better. Now, using the
    first.
    What do You think about this ? Which way is the best ?

    Hi,
    this topic can be deleted (i can't do this, i can edit, but
    can't delete this post).
    I'm very sorry, i wanted to post my question into Flex Data
    Services forum, not here.
    So, i entered this question into the Flex Data Services
    forum:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=60&catid=583&threadid =1400436&enterthread=y

  • Creating Flex/Air Application for iPad

    With the new Flash Packager for iPhone, what kind of project do you need to create for this to work? Can I use a Flex Project in Flash Builder 4?

    Yep. I use Flash Builder 4 and compile my projects to .ipa.
    Read this topic, it can be helpful for you:
    http://forums.adobe.com/thread/617244?tstart=0

Maybe you are looking for

  • How to Save a Fillable Form?

    Hi guys, I've searched and read other posts on this same quesiton, but I've gotten no luck. I open the form in Acrobat X Pro and save as > reader extended > enable additonal features. I then open the new enabled copy, fill some fields out, and then s

  • CDs Will Not Display in iTunes Source list

    1. CDs load to the desktop. 2. iTunes launches and does the CDDB search. 3. CD does not show up in source list. 4. Blown prefs, repaired permissions...same results. Any ideas? Thanks.

  • Converting PDF to Word

    After I edit in Word , can I convert it back to PDF?

  • Material Classification (Level Wise)

    Dear Experts, We want to Classify our Material like below: Level-1:      Direct / Indirect Level-2:     Raw material / packaging / consumables / Proffesional Services / Transport etc. Level-3:     Iron          /             Eletrical           /   

  • Pop up windows don't open or have a very long delay-why?

    When i visit certain websites and I click on a link that would open another window it often doesn't open. Sometimes I will come back to my Mac 30 mins later to find that they have all opened. Some sort of delayed reaction that can take 10's of minute