Comand line argument for updating .air applications

Hi all,
Please help me regarding the issue while updating the .air application silently using command line argument -update -silent -location <%INSTALLDIR%> "Location of .air file".
For the fresh installation I used the following cmd line arguments
------> Adobe AIR Application Installer.exe -silent -eulaAccepted -programMenu -location "<INSTALLDIR>" "Location of .air file" ---> This will work for fresh installations only.
but the same comand will not work if the older version is already installed in the machine we have t use -update argument.
I don't fine correct argument list for updating the .air files. Please help me if any one know how to update the .air file silently using command line arguments.

Hi,
To update an app, the app installer should be invoked with the following command line params:
-update -silent <dir> <url> <version>
where <dir> is the full native path to the application, <url> is the URL to the .air file to update it with (either local or remote), and <version> is the version of the new app in the .air file.
Thanks,
Jian

Similar Messages

  • Setting Command Line Arguments for my Class

    HI,
    How do I set the command line arguments for my debug class. For example , I would like my user to type :
    java Debug -LEVEL1
    What should I do to implement this behaviour.
    Thanks in advance...

         public static void main (String[] args){
              if(args.length > 0){
                   int j = 0;
                   BMsearch search = new BMsearch();
                   try{
                        while (j < args.length){
                             if(args[j].equalsIgnoreCase(ONE_PATERN)){
                                  search.addPaternForSearch(args[j+1]);
                                  j = j+2;
                             else if (args[j].equalsIgnoreCase(PATERNLIST)){
                                  j++;
                                  while( ! (args[j].startsWith("-")) ){
                                       search.addPaternForSearch(args[j]);
                                       j++;
                                  }//end while
                             else if (args[j].equalsIgnoreCase(PATERNFILE)){
                                  j++;
                                  search.readPaternFile(args[j]);
                                  j++;
                             else if(args[j].equalsIgnoreCase(MATCH_H)){
                                  search.heuristic = MATCH_HEURISTIC;
                                  j++;
                             else if(args[j].equalsIgnoreCase(MATCH_H2)){
                                  search.heuristic = MATCH_HEURISTIC_TWO;
                                  j++;
                             else if(args[j].equalsIgnoreCase(OCC_H)){
                                  search.heuristic = OCC_HEURISTIC;
                                  j++;
                             else if(args[j].equalsIgnoreCase(COMB_H)){
                                  search.heuristic = COMBINED_HEURISTIC;
                                  j++;
                             else if(args[j].equalsIgnoreCase(JAVA_S)){
                                  search.heuristic = JAVA_NATIVE;
                                  j++;
                             else if(args[j].equalsIgnoreCase(TEXTFILE)){
                                  j++;
                                  search.readFileIn(args[j]);
                                  j++;
                             else if(args[j].equalsIgnoreCase(TEXTURL)){
                                  j++;
                                  search.readURLFileIn(args[j]);
                                  j++;
                             else if(args[j].equalsIgnoreCase(STOPatFIRST)){
                                  search.searchall = false;
                                  j++;
                             else if(args[j].equalsIgnoreCase(STOPatLAST)){
                                  search.searchall = true;
                                  j++;
                             else if(args[j].equalsIgnoreCase(VERBOSE)){
                                  search.verbose = true;
                                  j++;
                             else if(args[j].equalsIgnoreCase("-h") || args[j].equalsIgnoreCase("-help")){
                                  printHelp();
                                  Start = false;
                                  break;
                             else{
                                  System.out.println(" Error while parsing Parameter. ");
                                  System.out.println(" type java BMsearch -help for all Options");
                                  Start = false;
                                  break;
                        }// end outer while
                   catch(Exception e){
                        System.out.println(" Error while parsing Parameter. ");
                        System.out.println(" type java BMsearch -help for all Options");
                        Start = false;
                        j = args.length;
                   if(Start){
                        if(search.verbose)System.out.println(" Parameter parsed, beginning with search ...");
                             search.starttimeTotal = System.currentTimeMillis();
                        search.search();
                        search.stoptimeTotal = System.currentTimeMillis();
                        System.out.println(" Whole search took:  " + (search.stoptimeTotal - search.starttimeTotal) + " milliseconds.(Brutto) ");
              else{
                   System.out.println(" Error while parsing Parameter. ");
                   System.out.println(" type java BMsearch -help for all Options");
         }//end MAINThis is takem from one of my command line classe (a Boyer Moore Pattern-Matching application from an exercise). I don't know if this is the best way, but thats what I have done there for passing some arguments, where the order of them isn't pre-given (you can pass the params in the order you want).
    The CAPITAL vars are pre-defined final Strings holding the param-names, e.g.
    public static final String ONE_PATERN = "-p";
    public static final String PATERNLIST = "-plist";
    public static final String PATERNFILE = "-pfile";Another trick sometimes used in Linux/Unix, if you have only false/true combinations, are numbers from pow 2 (2,4,8,16). In C they are used because of the binary representation, but it has some benefits. E.g. a value of 2 (0010) and another true set on 4 (0100) results binary in 6 (0110), so you can mix parameters in only one value, and with a byte - array you could check, if the flag for a given param is set. But this way is a little tricky for the end-user.

  • HT1222 Hello, I wanted to update my Mac OS 10.5.2 and i am using dial up modam, Once the machine will ask to restart for update modem application also close, please suggest how can i update

    Hello, I wanted to update my Mac OS 10.5.2 and i am using dial up modam, Once the machine will ask to restart for updation modem application also close, please suggest how can i update

    Start by checking if you can run Snow Leopard:
    Requirements for OS X 10.6 'Snow Leopard'
    http://support.apple.com/kb/SP575
    The OS 10.6 Snow Leopard install DVD is available for $19.99 from the Apple Store:
    http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard
    and in the UK:
    http://store.apple.com/uk/product/MC573/mac-os-x-106-snow-leopard
    but nobody knows for how long it will be available.
    When you have installed it, run Software Update to download and install the latest updates for Snow Leopard to bring it up to 10.6.8, or download the combo update from here:
    http://support.apple.com/kb/DL1399
    Check via Software Update whether further updates are required.
    You should now see the App Store icon, and you now need to set up your account:
    http://support.apple.com/kb/HT4479
    To use iCloud you have to upgrade at least to Lion, but some functions are only available in Mountain Lion:
    http://support.apple.com/kb/HT4759
    You can also purchase the code to use to download Lion (Lion requires an Intel-based Mac with a Core 2 Duo, i3, i5, i7 or Xeon processor and 2GB of RAM, running the latest version of Snow Leopard), or you can purchase Mountain Lion from the App Store - if you can run that:
    http://www.apple.com/osx/specs/

  • Hi for All,  Pleeeeeeease help me, Update Air application problem

    Hi guys,
    I have  big adobe-air ajax based application installed in my computer ,I have updated some files in my application, and generate the new(updated) version of  the air file and put it in the server .My application size is 300 MB. The  problem is that the  update framework  will download and reinstall all the files of air application(300 MB !!!) ,
    Is there any way to reinstall only the updated files of my application without need to reinstall all the files during the update process ????
    Regards

    Hi Anil,
    If you go to RSPLAN there you can go to Portal link (it must be configured properly in system)
    In portal there will be wizard where you can easily go step by step and create planning functions and sequences like below:
           1.      You choose the appropriate InfoProvider.
           2.      You create one or more aggregation levels.
           3.      You create one or more filters.
           4.      You create one or more planning functions.
           5.      You create a planning sequence.
           6.      You test the planning model.
    which is clearly explained in below link
    http://help.sap.com/saphelp_nw70/helpdata/en/43/1d2440301a06f4e10000000a422035/frameset.htm
    after doing this you can create a query on aggregates you have created above and then make query input ready i.e planning enabled for keyfigures you want like mentioned in below link:
    http://help.sap.com/saphelp_nw70/helpdata/en/43/1d023a41130bd5e10000000a422035/frameset.htm
    then you can run query in Analyzer and save it as a work book after proper drilldown which can be used as template.
    Hope you understood basic thing, as you going on doing u will know clearly every thing.
    Ravi

  • Deadlock detected during SELECT FOR UPDATE - an application error?

    I have a general question about how Oracle prevents deadlocks from affecting
    applications: do I need to build support into the application for handling
    deadlocks when they occur in this particular scenario, or should Oracle handle
    this for me? I'd like to know whether this is "normal" behavior for an Oracle
    application, or if there is an underlying problem. Consider the following situation:
    Two sessions issue individual SELECT FOR UPDATE queries. Each query locates
    records in the table using a different index. These indexes point to rows in a
    different order from each other, meaning that a deadlock will occur if the two
    statement execute simultaneously.
    For illustrative purposes, consider these rows in a hypothetical table.
    ALPHABET
    alpha
    bravo
    charlie
    delta
    echo
    foxtrot
    golf
    hotel
    Index A results in traversing the table in ascending alphabetical order; index
    B, descending. If two SELECT FOR UPDATE statements concurrently execute on this
    table--one with an ascending order execution path and one in descending order--
    the two processes will deadlock at the point where they meet. If Session A
    locks alpha, bravo, charlie, and delta, while Session B locks hotel, golf,
    foxtrot, and echo, then neither process can proceed. A needs to lock echo, and
    B needs to lock delta, but one cannot continue until the other releases its
    locks.
    This execution path can be encouraged using hints. Executing queries similar to these on larger tables will generate the "collision" as described above.
    -- Session A
    select /*+ index_asc (customer) */
    from customer
    where gender = 'M'
    for update;
    -- Session B
    select /*+ index_desc (customer) */
    from customer
    where gender = 'M'
    for update;
    Oracle will recognize that both sessions are in a stand-off, and it will roll
    back the work performed by one of the two sessions to break the deadlock.
    My question pivots on whether or not, in this situation, the deadlock gets
    reported back to the application executing the queries as an ORA-00060. If
    these are the ONLY queries executed during these sessions, I would think that
    Oracle would rollback the locking performed in one of the SELECT FOR UPDATE
    statements. If I understand correctly,
    (1) Oracle silently rolls back and replays work performed by UPDATE statements
    when a deadlock situation occurs within the scope of the update statement,
    and
    (2) A SELECT FOR UPDATE statement causes Oracle, at the point in time the cursor
    is opened, to lock all rows matching the WHERE clause.
    If this is the case, then should I expect Oracle to produce an ORA-00060
    deadlock detection error for two SELECT FOR UPDATE statements?
    I would think that, for deadlock situations completely within Oracle's control,
    this should be perceived to the application invoking the SELECT FOR UPDATE
    statements as regular blocking. Since the query execution plans are the sole
    reason for this deadlock situation, I think that Oracle would handle the
    situation gracefully (like it does for UPDATE, as referenced in (1)).
    Notice, from the trace file below, that the waits appear to be from row locking,
    and not from an artificial deadlock (e.g. ITL contention).
    Oracle8i Enterprise Edition Release 8.1.7.4.0 - 64bit Production
    With the Partitioning option
    DEADLOCK DETECTED
    Current SQL statement for this session:
    SELECT XXX FROM YYY WHERE ZZZ LIKE 'AAA%' FOR UPDATE
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    58a1f8f18 4 anonymous block
    58a1f8f18 11 anonymous block
    The following deadlock is not an ORACLE error. It is a
    deadlock due to user error in the design of an application
    or from issuing incorrect ad-hoc SQL. The following
    information may aid in determining the deadlock:
    Deadlock graph:
    ---------Blocker(s)-------- ---------Waiter(s)---------
    Resource Name process session holds waits process session holds waits
    TX-002f004b-000412cf 37 26 X 26 44 X
    TX-002e0044-000638b7 26 44 X 37 26 X
    session 26: DID 0001-0025-00000002     session 44: DID 0001-001A-00000002
    session 44: DID 0001-001A-00000002     session 26: DID 0001-0025-00000002
    Rows waited on:
    Session 44: obj - rowid = 0000CE31 - AAANCFAApAAAAGBAAX
    Session 26: obj - rowid = 0000CE33 - AAANCHAArAAAAOmAAM
    Thanks for your insight,
    - Curtis
    (1) "Oracle will silently roll back your update and restart it"
    http://tkyte.blogspot.com/2005/08/something-different-part-i-of-iii.html
    (2) "All rows are locked when you open the cursor, not as they are fetched."
    http://download-east.oracle.com/docs/cd/A87860_01/doc/appdev.817/a77069/05_ora.htm#2170
    Message was edited by:
    Curtis Light

    Thanks for your response. In my example, I used the indexes to force a pair of query execution plans to "collide" somewhere in the table in question by having one query traverse the table via index in an ascending order, and another in descending. This is an artificial scenario for reproducible illustrative purposes, but similar collisions could legitimately occur in real world scenarios (e.g. a full table scan and an index range scan with lookup by ROWID).
    So, with that said, I think it would be unreasonable for Oracle to report the collision as a ORA-00060 every time it occurs because:
    (1) The UPDATE statement handles this situation automatically, and
    (2) An ORA-00060 results in a 100+KB trace file being written out, only rational for truly erroneous situations.
    I agree that, when the application misbehaves and locks rows out of order in separate SQL statements, then Oracle should raise an ORA-00060, as the deadlock is outside of its control. But in this case, the problem occurs with just two individual SQL statements, each within its own transaction.

  • Error updating AIR application on Linux

    Hello,
    I'm trying to update an AIR application that's already installed, and I'm getting the following error message every time:
    "The application could not be installed because another application is already being installed. Complete the first installation before proceeding with this one."
    There doesn't seem to be any other installation happening, and I still get the same error after restarting the computer.
    I'm running AIR 2.6.0.19170 on Ubuntu 11.10. The end of Install.log is shown below (the full contents of the log are at http://pastebin.com/ExtFdpfg).
    I'd be grateful for any suggestions as to how to resolve this.
    Thanks
    Install.log:
    [Adobe AIR Application Installer:10319][INFO] Application Installer begin with version 2.6.0.19170 on Linux x86
    [Adobe AIR Application Installer:10319][INFO] Commandline is:
    [Adobe AIR Application Installer:10319][INFO] Installed runtime (2.6.0.19170) located at /opt/Adobe AIR
    [Adobe AIR Application Installer:10319][INFO] Unpackaging file:///home/joggler/Downloads/joggler_client_1.0.444.air to /tmp/FlashTmp.sOyZbs
    [Adobe AIR Application Installer:10319][INFO] Application signature verified
    [Adobe AIR Application Installer:10319][INFO] Unpackaging/validation complete
    [Adobe AIR Application Installer:10319][INFO] Installed app (com.kevinwilson.housecontrol) located at /opt/HouseControl/bin/HouseControl
    [Adobe AIR Application Installer:10319][INFO] Converting unpackaged application to a native installation package in /tmp/FlashTmp.tkg6Ti
    [Adobe AIR Application Installer:10319][INFO] Native installation package creation succeeded
    [Adobe AIR Application Installer:10319][INFO] Starting app update of /opt. Updating from com.kevinwilson.housecontrol version 1.0.442 to com.kevinwilson.housecontrol version 1.0.444 using the source file at file:///home/joggler/Downloads/joggler_client_1.0.444.air
    [Adobe AIR Application Installer:10319][ERR] Error occurred during rpm uninstall operation; beginning rollback: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Unhandled exception Error: Only root can uninstall the application" errorID=0]
    [Adobe AIR Application Installer:10319][INFO] Rollback complete
    [Adobe AIR Application Installer:10319][ERR] Got an unexpected fatal error while in stateInstalling: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Unhandled exception Error: Only root can uninstall the application" errorID=0]
    [Adobe AIR Application Installer:10319][INFO] Launching subprocess with commandline /opt/Adobe AIR/Versions/1.0/Adobe AIR Application Installer -runtime /opt -update -silent -logToStdout /opt/HouseControl/bin/HouseControl file:///home/joggler/Downloads/joggler_client_1.0.444.air 1.0.444
    [Adobe AIR Application Installer:10319][INFO] Relaunching with elevation
    [Adobe AIR Application Installer:10319][ERR] Elevated install failed: error 5008 3
    [Adobe AIR Application Installer:10319][ERR] Application Installer end with exit code 7
    [Adobe AIR Application Installer:2815][INFO] Application Installer begin with version 2.6.0.19170 on Linux x86
    [Adobe AIR Application Installer:2815][INFO] Commandline is: -update /opt/HouseControl/bin/HouseControl "/home/joggler/.appdata/com.kevinwilson.housecontrol/Local Store/#ApplicationUpdater/update.air" 1.0.444
    [Adobe AIR Application Installer:2815][INFO] Installed runtime (2.6.0.19170) located at /opt/Adobe AIR
    [Adobe AIR Application Installer:2815][INFO] Installed app (com.kevinwilson.housecontrol) located at /opt/HouseControl/bin/HouseControl
    [Adobe AIR Application Installer:2815][INFO] Unpackaging file:///home/joggler/.appdata/com.kevinwilson.housecontrol/Local%20Store/%23ApplicationUpdater/update.air to /tmp/FlashTmp.B8ssc2
    [Adobe AIR Application Installer:2815][INFO] Application signature verified
    [Adobe AIR Application Installer:2815][INFO] Unpackaging/validation complete
    [Adobe AIR Application Installer:2815][INFO] Converting unpackaged application to a native installation package in /tmp/FlashTmp.U5gXca
    [Adobe AIR Application Installer:2815][INFO] Native installation package creation succeeded
    [Adobe AIR Application Installer:2815][INFO] Starting app update of /opt. Updating from com.kevinwilson.housecontrol version 1.0.442 to com.kevinwilson.housecontrol version 1.0.444 using the source file at file:///home/joggler/.appdata/com.kevinwilson.housecontrol/Local%20Store/%23ApplicationUpdater/update.air
    [Adobe AIR Application Installer:2815][ERR] Error occurred during rpm uninstall operation; beginning rollback: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Unhandled exception Error: Only root can uninstall the application" errorID=0]
    [Adobe AIR Application Installer:2815][INFO] Rollback complete
    [Adobe AIR Application Installer:2815][ERR] Got an unexpected fatal error while in stateInstalling: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Unhandled exception Error: Only root can uninstall the application" errorID=0]
    [Adobe AIR Application Installer:2815][INFO] Launching subprocess with commandline /opt/Adobe AIR/Versions/1.0/Adobe AIR Application Installer -runtime /opt -update -silent -logToStdout /opt/HouseControl/bin/HouseControl file:///home/joggler/.appdata/com.kevinwilson.housecontrol/Local%20Store/%23ApplicationUpdater/update.air 1.0.444
    [Adobe AIR Application Installer:2815][INFO] Relaunching with elevation
    [Adobe AIR Application Installer:2815][ERR] Elevated install failed: error 5008 3

    Hello,
    I'm trying to update an AIR application that's already installed, and I'm getting the following error message every time:
    "The application could not be installed because another application is already being installed. Complete the first installation before proceeding with this one."
    There doesn't seem to be any other installation happening, and I still get the same error after restarting the computer.
    I'm running AIR 2.6.0.19170 on Ubuntu 11.10. The end of Install.log is shown below (the full contents of the log are at http://pastebin.com/ExtFdpfg).
    I'd be grateful for any suggestions as to how to resolve this.
    Thanks
    Install.log:
    [Adobe AIR Application Installer:10319][INFO] Application Installer begin with version 2.6.0.19170 on Linux x86
    [Adobe AIR Application Installer:10319][INFO] Commandline is:
    [Adobe AIR Application Installer:10319][INFO] Installed runtime (2.6.0.19170) located at /opt/Adobe AIR
    [Adobe AIR Application Installer:10319][INFO] Unpackaging file:///home/joggler/Downloads/joggler_client_1.0.444.air to /tmp/FlashTmp.sOyZbs
    [Adobe AIR Application Installer:10319][INFO] Application signature verified
    [Adobe AIR Application Installer:10319][INFO] Unpackaging/validation complete
    [Adobe AIR Application Installer:10319][INFO] Installed app (com.kevinwilson.housecontrol) located at /opt/HouseControl/bin/HouseControl
    [Adobe AIR Application Installer:10319][INFO] Converting unpackaged application to a native installation package in /tmp/FlashTmp.tkg6Ti
    [Adobe AIR Application Installer:10319][INFO] Native installation package creation succeeded
    [Adobe AIR Application Installer:10319][INFO] Starting app update of /opt. Updating from com.kevinwilson.housecontrol version 1.0.442 to com.kevinwilson.housecontrol version 1.0.444 using the source file at file:///home/joggler/Downloads/joggler_client_1.0.444.air
    [Adobe AIR Application Installer:10319][ERR] Error occurred during rpm uninstall operation; beginning rollback: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Unhandled exception Error: Only root can uninstall the application" errorID=0]
    [Adobe AIR Application Installer:10319][INFO] Rollback complete
    [Adobe AIR Application Installer:10319][ERR] Got an unexpected fatal error while in stateInstalling: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Unhandled exception Error: Only root can uninstall the application" errorID=0]
    [Adobe AIR Application Installer:10319][INFO] Launching subprocess with commandline /opt/Adobe AIR/Versions/1.0/Adobe AIR Application Installer -runtime /opt -update -silent -logToStdout /opt/HouseControl/bin/HouseControl file:///home/joggler/Downloads/joggler_client_1.0.444.air 1.0.444
    [Adobe AIR Application Installer:10319][INFO] Relaunching with elevation
    [Adobe AIR Application Installer:10319][ERR] Elevated install failed: error 5008 3
    [Adobe AIR Application Installer:10319][ERR] Application Installer end with exit code 7
    [Adobe AIR Application Installer:2815][INFO] Application Installer begin with version 2.6.0.19170 on Linux x86
    [Adobe AIR Application Installer:2815][INFO] Commandline is: -update /opt/HouseControl/bin/HouseControl "/home/joggler/.appdata/com.kevinwilson.housecontrol/Local Store/#ApplicationUpdater/update.air" 1.0.444
    [Adobe AIR Application Installer:2815][INFO] Installed runtime (2.6.0.19170) located at /opt/Adobe AIR
    [Adobe AIR Application Installer:2815][INFO] Installed app (com.kevinwilson.housecontrol) located at /opt/HouseControl/bin/HouseControl
    [Adobe AIR Application Installer:2815][INFO] Unpackaging file:///home/joggler/.appdata/com.kevinwilson.housecontrol/Local%20Store/%23ApplicationUpdater/update.air to /tmp/FlashTmp.B8ssc2
    [Adobe AIR Application Installer:2815][INFO] Application signature verified
    [Adobe AIR Application Installer:2815][INFO] Unpackaging/validation complete
    [Adobe AIR Application Installer:2815][INFO] Converting unpackaged application to a native installation package in /tmp/FlashTmp.U5gXca
    [Adobe AIR Application Installer:2815][INFO] Native installation package creation succeeded
    [Adobe AIR Application Installer:2815][INFO] Starting app update of /opt. Updating from com.kevinwilson.housecontrol version 1.0.442 to com.kevinwilson.housecontrol version 1.0.444 using the source file at file:///home/joggler/.appdata/com.kevinwilson.housecontrol/Local%20Store/%23ApplicationUpdater/update.air
    [Adobe AIR Application Installer:2815][ERR] Error occurred during rpm uninstall operation; beginning rollback: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Unhandled exception Error: Only root can uninstall the application" errorID=0]
    [Adobe AIR Application Installer:2815][INFO] Rollback complete
    [Adobe AIR Application Installer:2815][ERR] Got an unexpected fatal error while in stateInstalling: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Unhandled exception Error: Only root can uninstall the application" errorID=0]
    [Adobe AIR Application Installer:2815][INFO] Launching subprocess with commandline /opt/Adobe AIR/Versions/1.0/Adobe AIR Application Installer -runtime /opt -update -silent -logToStdout /opt/HouseControl/bin/HouseControl file:///home/joggler/.appdata/com.kevinwilson.housecontrol/Local%20Store/%23ApplicationUpdater/update.air 1.0.444
    [Adobe AIR Application Installer:2815][INFO] Relaunching with elevation
    [Adobe AIR Application Installer:2815][ERR] Elevated install failed: error 5008 3

  • Updating Air Application without prompt

    I am considering using Air for a kiosk application.  One potential issue I see is that when you update, my research shows that it requires someone to click an "Accept" button to perform the update.  I was wondering is there any way around this?  If there isn't then this would be a dealbreaker for using Air.
    We would be able to log in remotely and run scripts, so not sure if something can be done this way to bypass the requirement for touching of the button.  But it has to be done without the interaction of a person.
    If anyone can point me in the right direction, it would be greatly appreciated.  I've done some searching but nothing's come up yet and maybe I'm just not finding the right thing.
    Thanks!

    Desktop applications can indeed simply skip the user-question. I've written an Update Helper, which is currently still in work but it provides the "force install" functionality which don't even let the user chose to restart the app or not. It's simply doing so
    You can find the current state here: https://github.com/beautifycode/AIRUpdateHelper-AS3

  • Execute .exe File With Arguments From CaptiveRuntime Air Application

    Hello,
    We have an AIR application compiled as a Captive Runtime app. We need to launch a Native Process (an exe file) on application startup and pass some arguments to that exe. Are there any examples on how to do this? Any resources we can look at for guidence?
    Thanks!

    Hi,
    You need to use Integration technology like BlazeDS or LCDS.

  • Need Help with command line arguments for a class method

    Hey guys,
    I'm fairly new to programming in java.
    I want to a write a class method that adds up its command line arguments which are numbers. For example, if the input was .... 5 2 3....then the output would be 10.
    I have been told to use the Convert to convert a string to a double. I'm ok for writing the class method but I have no idea how to use Convert and why I need it in the method.
    Can anybody help please?

    Hey guys,
    I'm fairly new to programming in java.
    I want to a write a class method that adds up its
    command line arguments which are numbers. For
    example, if the input was .... 5 2 3....then the
    output would be 10.Okay. So you would receive the numbers to add as the String[] argument to a main method. The steps are simple:
    1) declare a variable for the count
    2) for each String in the array:
    2.1) extract the value as a double
    2.2) add this to the count
    3) output the resulting count
    I have been told to use the Convert to convert a
    string to a double.
    I'm ok for writing the class
    method but I have no idea how to use ConvertThere is no class Convert in the Java API.
    and why
    I need it in the method. Do you understand you need to somehow convert each String to a double (step 2.1)? Since Convert is unknown to me, maybe you should just take a look at class Double. It can help you do step 2.1, the rest should be trivial enough.
    http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Double.html
    Give it a go and feel free to post back with a specific problem you are having, accurately described if you please :-)

  • How to Play/Pause All for Adobe Air Application using AS3 in Flash CS4?

    I am new to Flash and I'm creating an educational application in AS3 in Flash CS4 for Adobe Air. I want to use buttons to play and pause all content (movieclips AND sound).
    I have created play and pause buttons that worked by switching the frame rate between 0 and 20, unfortunately I've realised that it's never really 0fps but rather 0.01fps and so it continues playing, albeit very very slowly. Also this doesn't affect the audio; I have set sound files to Stream which are synced to movieclips on their timelines, but even when the application is set to 0fps the audio continues.
    Since I have various levels with numerous movieclips each with synced audio, what i'd like is to be able to do is pause absolutely everything within each movieclip with one button and to be able to resume from the same place using another button. Is this possible? If not, is there a global function to pause/resume the entire application/program?
    Thanks in advance for your help!

    Its possible but you would need to tell each movieclip and audioclip to play/pause. You can create a for loop inside your mouse event function to find each movieclip and pause/play its timeline and a separate for loop for audio clips. Also instead of setting fame rate to 0 for pause just use a stop() command.

  • Is there a pratical size limit for an Air application window?

    I'm brand new to creating Air applications. I started to design a utility in Flash CS4 for my own use. I had originally intended for it to be a simple SWF, but decided to make an Air app as an experiment, and to perhaps share it with others in the future.
    Basically, the application allows the use to drag-resize a box to measure the pixel dimensions of an area onscreen (photo, Windows window, etc.) I wanted to allow it to be resized to any dimensions up to the size of the screen. The chrome is custom and mostly transparent with some alpha for the box to overlay on whatever you're measuring. However, I've run into a few problems, the primary one being that I cannot set the app to run maximized to the screen size and allow any graphics to extend beyond the dimensions of the stage in the source FLA (it all gets clipped at the edges of the stage). I decided to forget about this and just set a maximum size of the stage. So, what was originally a box that you could stretch out to any dimensions, can now only be resized to the upper limit I set (preferrably 1600px X 900px).
    Annoyingly, I've found that any stage size in the source FLA beyond 1500px X 850px causes the Air app to respond very slowly. At sizes below that, the app responds very quickly, as if it were a windowed SWF. My question is, is there a practical upper limit to the size of an Air app window? I mean, if I have an Air app with a window size of 1500px X 850px that can be resized without any perceived lag, why does the window resizing slow down so dramatically by just increasing those dimensions by 1px?

    These factors that determine the minimum and maximum width and height of a window:
    The minimum and maximum operating system limits, which are the values of the systemMinSize and systemMaxSize properties of the        NativeWindow object
    The maximum width and height of a window in Adobe AIR, which are each 2880 pixels
    The minimum width and height required by any displayed system chrome
    The minSize and maxSize properties of the NativeWindow object
    I cannot address the performance problems you are experiencing. I hope someone else can comment.

  • Updating AIR application

    I hope I am asking this question in the right forum
    I am working with a dev team that's writing AIR application
    To keep it simple, let's say this AIR application has 10 swf and 2 swc (plus other assets)
    All of these files are packaged inside an AIR installer, and customer will run this full package AIR installer to install this application
    My question is: let's say they created a patch, and it is changing 2 .swf.  Is it possible to create an "incremental" AIR installer that contain ONLY the 2 changed swf, and user can run this incremental AIR installer to update an existing AIR application with the 2 newly changed swf files?
    Thanks
    KK Fong
    PS: We are using Flex SDK 3.6.0 right now

    keep a xml that has current version. Download your swf live everytime you start application(if there is a newser version)

  • How have a free thawte key for my Air application

    I want sign my air apps.how to do it??

    Hi,
    could you please clearify what you mean when you say "I want sign my air apps.how to do it??"
    what do you mean sign... are u trying to create signature for a certificate during pakaging of your application?
    if thats the case it depends on the type of framework you are using to compile your air application . Are you using Flex, Flash or Ajax to develop an AIR app?.
    or do you want to publish your application onto the adobe air market place?
    if thats the case you need to register as a publisher and add an offering.
    if its none of the above then i might have misunderstood what you are requesting...
    surf

  • How to sign digital cerificate for adobe air application

    Hello freinds Please guide me how to sign the digital cerificate for my adoge air application.
    I am working on adobe flex sdk 3.2. so please guide me step by step how to sign my aaplication so that i can distribute it to other users.
    this is my first time thats why littlebit confused..
    Thanks And Regards
       Vineet Osho

    I assume you use Flex Builder. There is a UI that will let create a certificate when you try to export the AIR file.
    If you are using ADT directly. Use the '-certificate' option to create a PFX file.

  • Is it possible for an AIR application to get the content dynamically from server in Android?

    To give you people the context we will be developing Hybrid application using HTML5 and PhoneGap which will be published on Android and iOS platforms.
    I want to know if an AIR application in android can get the content dynamically from the server. If yes, then how part comes into picture?
    PS:- I dont have any knowledge about AIR applications and i am an Android developer and exploring this integration of AIR on android.

    Yes, an AIR app on android (or iOS) can communicate with a server in several ways.
    Search 'adobe air zend amf' on the web to see some examples.

Maybe you are looking for

  • Problem to display a negative number in XML Publisher output in excel

    Hi All, I am facing problem in displaying a negative number in XML Publisher output in excel. My requirement is that I have to display a negative number in brackets when the output is taken in excel format. Eg: If the value is -123 then i have to dis

  • Need to track Function modules called when executing a transaction

    Hi All,           Is there a way through which i can track function modules called, while executing a Transaction. Kindly provide pointers to it. Thanks in advance. Regards, Navin.

  • Gradient mesh -- CS6

    I am working on a tutorial using the gradient mesh tool.  In the tutorial I draw a rectangle, and with the gradient mesh tool select one point of the rectangle to turn it into a gradient mesh.  The problem is that in the tutorial the mesh stays color

  • Left Speaker in Iphone 4 not working since 4.1 update

    anyone else having this issue the right side is working fine but if u cover the right side nothing comes out of the left side..

  • Template don't update- but views pages

    I develop a html web site and used 5 template pages. 1. Then transferred the files to my clients computer. 2. They them made changes to a few pages 3. I tranfered the files over that they had changed 4. Then found out the templates did not work? Who