Adobe Air Application, launch Another Uninstall.exe on Uninstall of Air App

Hello,
how can i launch anothe uninstall.exe when my air application is about to be uninstalled?
this is needed because the air package does not include the data that is needed by the application
the application will be delivered on cd rom ... we have an uninstaller ready, but if the user chooses
to deinstall the application through software->deinstall the data remains on the harddisk, which is not
nice, and could be solved by simply run the provided uninstall.exe created during installaiton process
any help is very appreciated!
thx
ck

After futher investigation, I have isolated the line that causes the crash
in the NetConnectionChannel constructor
public function NetConnectionChannel(id:String = null, uri:String = null)
super(id, uri);
_nc = new NetConnection(); //ADL Crashes/Hangs on this line
_nc.objectEncoding = ObjectEncoding.AMF3;
_nc.client = this;
Oddly, this only happens in the second adapter module instance that is created.
And as stated above, this error is not thrown in the release AIR runtime.
I'll update this thread if I discover any more details.

Similar Messages

  • AIR Application Launching problem

    Hi All,
    I created one AIR application using Flash CS3. The air file size is 350+ MB.
    This air file included swf and flvs.
    I installed successfully but the problem is when i try to launch the application It takes time.
    How can i solve this? Any one help me to solve this problem.
    Thanks
    Regards
    Bala

    I'm having the same issue. It's definitely due to the videos I have embedded, if I remove them from the package it starts up much more quickly.
    Is there a way to avoid loading the videos into memory until I need them?

  • Air application installer doesn't always work when Adobe air is already installed

    Hi,
    I've recieved an adobe air application from another developer. I placed it a web site and tested it. It worked so I considered it complete. However it turns out that it only worked because I didn't have Adobe Air installed.
    I've found that there is someone with Adobe Air (same version as me) already intalled from another source and when they click application install button absolutely nothing happens. No error or anything.
    However I can revisit the page and click it and it works every time even with adobe air already installed. So I suspect it has something to do with how they've installed it.
    Has anyone ever run into this issue and do you know what could be causing it? It is because something is wrong with their installer which leaves it not knowing what to do with an air extension and the whole thing just fails silently?

    Hi,
    Would it be possible to get the URL to the page that has your AIR badge installer (or the html if it's not publicly viewable)?  We'll probably also need further info on the system that's failing, if possible could you post the installer log and check to see if the following file exists:
    Win 7:
    C:\Users\username\AppData\Roaming\Macromedia\Flash Player\www.macromedia.com\bin\airappinstaller\airappinstaller.exe
    Mac
    /Users/username/Library/Preferences/Macromedia/Flash Player/www.macromedia.com/bin/airappinstaller/airappinstaller
    Please feel free to contact me at [email protected] if necessary.
    Thanks,
    Chris

  • 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.

  • Commerical adobe air application built using Robohelp - thoughts on software protection

    Hello Forum,
    I am in the process of building a commerical software application - a niche business methodology (processes, tools, templates) - and for which I naturally want to apply *some* level of protection against unauthorized copying.  The two main requirements I have are:
    1. That the software package itself cannot be installed any number of times on any number of machines (as is currently the case with the adobe air output for distribution).
    2. That large chunks of the content cannot be copied and pasted
    Here is where my thoughts are so far:
    1. There are a number of third party providers in this space.  The ones i have idenftifed so far are: LimeLM, NitroLM, Excel Software's AirLicense and Zarqon.  There is also something called Sharify out there but from the site and lack of developer response I think this is now dormant.  All of these provide a means of locking down one license to one device but that can be transferred if the user loses and changes their device. Has anyone had any experience of these or other solution providers?
    2. As I understand it there is html code that can be added to disable copy and paste.  Does anyone know what this is? Does anyone know how to apply it?
    Finally: we are a small start up without in-house technical skills.  This was a major reason we chose RoboHelp as a solution - it meant that the software could be build by us, the subject matter experts who were creating the content. Does anyone know of a good place to crowd-source the technical skill set required to apply both the solutions to 1 and 2 described above?
    We are using RoboHelp 9 with Adobe Air desktop application output.
    Thanks in advance for any constructive comments - and best wishes to you and yours for 2013!
    Felix

    Perhaps it's time to take stock of the requirement, what has been established and your options given where you are.
    Requirements
    You want protection against multiple installs.
    You don't want users to be able to copy and paste the content.
    Established
    Neither of those are built in to AIR Help.
    To build them in you would have to create your own AIR application as the RoboHelp code for creating the AIR installer is locked down. Confirmed by Scott Prentice on HATT.
    You do not have an house AIR developer.
    Options
    Tackling Requirement 1 is going to require a developer to replicate what Adobe have done and add the extra requirement that the installer can only run once.
    Given the hours that Adobe put into this and with the resources at their disposal, I have to question the commercial viability of that.
    A customer could legitimately need to reinstall, for instance in the case of a hard drive failure.
    Perhaps my earlier suggestion of finding someone who can wrap up the AIR file in something that deletes it after installation, thereby preventing a second installation, would be viable. You would need to investigate that and do it in a way the customer can get a fresh download where a further installation is legitimate.
    Otherwise I think you need to be looking at a very different approach. Your problem is the same one that Adobe face. You will recall that when you installed RoboHelp you had to activate it. That authorises the use of RoboHelp on a specific machine. The licence authorises installation on a second machine and that has to be activated too. Attempt a third activation and you will get a polite refusal until you deactivate an earlier installation. What you need is a commercial organisation to supply your product in a similar way. The trouble there is your product is not an application in the same way as RoboHelp.
    You could use the WebHelp output and apply password protection to your site but again you are going to require development skills. Even then, you are relying on your customers not to reveal the password and that sounds like a No No as you don't trust them not to copy and paste the information.
    Copy and paste is difficult to prevent. There are tools for web sites that would likely work in webhelp but you also have to prevent screenshots being permitted. Ultimately, going to state secret espionage levels, how do you prevent someone taking a photo of the screen? It's more about making it difficult to do casually rather than making it impossible. A high brick wall around your house makes entry difficult and deters most from attempting entry, it does not make it impossible.
    I am sorry this is all negative but the root problem is your approach was wrong given these requirements. Unless someone else has other ideas, I think you need some commercial consultancy for information on how to get this idea off the ground and that is way beyond what this forum offers. Perhaps you could approach Scott Prentice at http://www.leximation.com for such assistance but I think it would be on a fee paying basis. Scott is a very knowledgeable person in many areas and he is very approachable.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Uninstall air application on linux (ubuntu)

    Hi, maybe this is a stupid question, but I can't figure out
    how to uninstall an air application on linux.
    Can you help me?

    You can uninstall an installed AIR application (on all
    operating system) by double-clicking the .air file used to install
    it. The AIR application installer includes an option for
    uninstalling an installed application.
    On Linux, you can also use a package manager (such as
    Synaptec Package Manager) to remove installed applications.

  • Failed to launch JavaFX application with native bundle exe

    Hi,
    I have created a JavaFX application, and created its native bundle using Ant. When I am trying to launch application using Jar from bundle created with double click, it successfully launching my application. But when I am trying double click on MyApplication.exe (say), it throwing JavaFX Launcher Error *"Exception while running Application"*.
    I have searched about this issue, I found about jre, so I did replace jre from *"C:\Program Files\Java\jdk1.7.0_10\jre"* to my application bundle folder -- *\bundles\MyApplication\runtime\jre*, then I tried to launch exe with double click, it successfully launched.
    I have compared both jre, there are many missing jar, exe, dll and some properties files I found.
    I have these environment settings -
    JAVA_HOME -- C:\Program Files\Java\jdk1.7.0_10
    JREFX_HOME -- C:\Program Files\Oracle\JavaFX 2.2 Runtime
    Path contains an entry of C:\Program Files\Java\jdk1.7.0_10\bin JAVA_HOME and JREFX_HOME are used as in my build.xml to take ant-javafx.jar and jfxrt.jar --
    ${env.JAVA_HOME}/lib/ant-javafx.jar
    ${env.JREFX_HOME}/lib/jfxrt.jarMy steps to create bundle are -
    <target name="CreatingExe" depends="SignedJar">
                 <fx:deploy width="800" height="600" nativeBundles="all" outdir="${OutputPath}" outfile="${app.name}">
                          <fx:info title="${app.title}"/>
                          <fx:application name="${app.title}" mainClass="${main.class}"/>
                          <fx:resources>
                               <fx:fileset dir="${OutputPath}" includes="*.jar"/>
                         <fx:fileset dir="${WorkingFolder}/temp"/>
                   </fx:resources>
               </fx:deploy>
    </target>What more needed in build.xml so that application launch correctly with exe ?
    Thanks

    You code is not dealing with the DACL access to Winsta0\Default.  Only the LocalSystem account will have full access and the interactively logged on user which is why regedit is not displaying properly.  You'll need to grant access to your user. 
    You also need to deal with UAC since that code is going to give you a non-elevated token via LogonUser().  You need to get the full token via a call to GetTokenInformation() + TokenLinkedToken.
    thanks
    Frank K [MSFT]
    Follow us on Twitter, www.twitter.com/WindowsSDK.

  • Adobe AIR Application certificate issue - Urgent

    Hello,
    I have created my AIR application in flex 3 using AIR 1.0. I have created it with local air certificate and dispatch the air application to the client. Now after 2-3 months i have got some new features to be added into that application for same client. I have lost my original certificate using which i have created the air application installer. Now if i am creating air with new certificate then it gives me following error:
    This application cannot be installed because this installer has been mis-configured. Please contact the application author for assistance.
    Can any one have any idea for how to get certificate recreated. Here certificate is not licenced one it was local. And my application is using auto update feature. So if i change the certificate then already installed application will never get update message. ITs a deadlock situation.Help me.
    Thanks
    Dhwani

    Samsung Tab 3 features x86 architecture, did you try an Android-x86 build? (add -arch x86 to compiler flags)

  • AIR Intrinsic Classes-Tried and Proven Approach to building AIR applications   in the Flash CS3 IDE

    Hi everyone,
    For all of you out there who would like to develop AIR
    applications
    from the Flash CS3 IDE but aren't sure how to get those pesky
    intrinsic
    classes working, I have a technique that you can work with to
    create
    your classes and make fully functional AIR applications.
    First of all, those solutions out there that list
    "intrinsic" functions
    in their class definitions won't work. That keyword has been
    taken out
    and simply won't work. The "native" keyword also doesn't work
    because
    Flash will reject it. The solution is to do dynamic name
    resolution at
    runtime to get all the classes you need.
    Here's a sample class that returns references to the "File",
    "FileStream", and "FileMode" classes:
    package com.adobe{
    import flash.utils.*;
    import flash.display.*;
    public class AIR extends MovieClip {
    public static function get File():Class {
    try {
    var classRef:*=getDefinitionByName('flash.filesystem.File');
    } catch (err:ReferenceError) {
    return (null);
    }//catch
    return (classRef);
    }//get File
    public static function get FileMode():Class {
    try {
    var
    classRef:*=getDefinitionByName('flash.filesystem.FileMode');
    } catch (err:ReferenceError) {
    return (null);
    }//catch
    return (classRef);
    }//get FileMode
    public static function get FileStream():Class {
    try {
    var
    classRef:*=getDefinitionByName('flash.filesystem.FileStream');
    } catch (err:ReferenceError) {
    return (null);
    }//catch
    return (classRef);
    }//get FileStream
    }//AIR class
    }//com.adobe package
    I've defined the package as com.adobe but you can call it
    whatever you
    like. You do, however, need to import "flash.utils.*" because
    this
    package contains the "getDefinitionByName" method. Here I'm
    also
    extending the MovieClip class so that I can use the extending
    class
    (shown next) as the main Document class in the Flash IDE.
    Again, this is
    entirely up to you. If you have another type of class that
    will extend
    this one, you can have this one extend Sprite, Math, or
    whatever else
    you need (or nothing if it's all the same to you).
    Now, in the extending class, the Document class of the FLA,
    here's the
    class that extends and uses it:
    package {
    import com.adobe.AIR;
    public class airtest extends AIR{
    public function airtest() {
    var field:TextField=new TextField();
    field.autoSize='left';
    this.addChild(field);
    field.text="Fileobject="+File;
    }//constructor
    }//airtest class
    }//package
    Here I'm just showing that the class actually exists but not
    doing much
    with it.
    If you run this in the Flash IDE, the text field will show
    "File
    object=null". This is because in the IDE, there really is no
    File
    object, it only exists when the SWF is running within the
    Integrated
    Runtime. However, when you run the SWF as an AIR application
    (using the
    adl.exe utility that comes with the SDK, for example), the
    text field
    will now show: "File object=[object File]". Using this
    reference, you
    can use all of the File methods directly (have a look here
    for all of
    them:
    http://livedocs.adobe.com/labs/flex/3/langref/flash/filesystem/File.html).
    For example, you can call:
    var appResource:File=File.applicationResourceDirectory;
    This particular method is static so you don't need an
    instance. If you
    do (such as when Flash tells you the property isn't static),
    simply
    create an instance like this:
    var fileInstace:File=new File();
    fileInstance.someMethod('abc'); //just an example...read the
    reference
    for actual function calls
    Because the getter function in the AIR class returns a Class
    reference,
    it allows you to perform all of these actions directly as
    though the
    File class is part of the built in class structure (which in
    the
    runtime, it is!).
    Using this technique, you can create references to literally
    *ALL* of
    the AIR classes and use them to build your AIR application.
    The beauty
    of this technique is its brevity. When you define the class
    reference,
    all of the methods and properties are automatically
    associated with it
    so you don't need reams of code to define each and every
    item.
    There's a bit more that can be done with this AIR class to
    make it
    friendlier and I'll be extending mine until all the AIR
    classes are
    available. If anyone's interested, feel free to drop me a
    line or drop
    by my site at
    http://www.baynewmedia.com
    where I'll be posting the
    completed class. I may also make it into a component if
    there's enough
    interest. To all of you who knew all this already, I hope I
    didn't waste
    your time.
    Happy coding,
    Patrick

    Wow, you're right. The content simply doesn't show up at all.
    No
    JavaScript or HTML parsing errors, apparently. But no IE7
    content.
    I'll definitely have to look into that. In the meantime, try
    FireFox :)
    I'm trying to develop a panel to output AIR applications from
    within the
    Flash IDE. GSkinner has one but I haven't been able to get it
    to work
    successfully. Mine has exported an AIR app already so that's
    a step in
    the right direction but JSFL is a tricky beast, especially
    when trying
    to integrate it using MMExecute strings.
    But, if you can, create AIR applications by hand. I haven't
    yet seen an
    application that allows you to change every single option
    like you can
    when you update the application.xml file yourself. Also, it's
    a great
    fallback skill to have.
    Let me know if you need some assistance with AIR exports.
    Once you've
    done it a couple of times, it becomes pretty straightforward.
    Patrick
    GWD wrote:
    > P.S. I've clicked on your link a few times over the last
    couple of days to
    > check it out but all I get is a black page with a BNM
    flash header and no way
    > to navigate to any content. Using IE7 if that's any
    help.
    >
    >
    >
    http://www.baynewmedia.com
    Faster, easier, better...ActionScript development taken to
    new heights.
    Download the BNMAPI today. You'll wonder how you ever did
    without it!
    Available for ActionScript 2.0/3.0.

  • Name of .exe file generated from Air Help

    Is there a way to customize the name of the .exe file generated by the Air Help output? I can specify the name of the .air file. But when the Air application is installed, the .exe filename is the same as the help title ("Help Title" field in the Adobe Air dialog box) . This means the help title is used in the title bar of the Air application, on the Start menu and Add/Remove Programs, and in the filename.
    I would like to use a shorter, one-word filename. I would expect the name of the .air file to be the name of the .exe file.
    I'm generating an Adobe Air application using RoboHelp 8.
    Thanks,
    - Maura

    I assume you are creating the file as a java.io.File object. Under those circumstances you should be able to specify the name and target directory when you save it:File f = new File(directory+System.getProperty("file.separator")+filename);Or, if you have already named it:
    f.renameTo("file.txt");Actually, now I look at it, I may have totally misunderstood what you are trying to do there- are you naming it right in the hyperlink?

  • I can't get my Adobe XI to launch, help!!!

    I have Windows 7 and today was the first day that I can't get my adobe reader to launch. I've tried uninstalling it and downloading it again without success...what is going on?!

    It's difficult to guess what's going on based on so little information. However, you can try using this tool to first remove all traces of Reader from your computer:
    http://labs.adobe.com/downloads/acrobatcleaner.html
    Then, you can download the full offline Reader installer from
    http://get.adobe.com/reader/enterprise/
    After downloading, restart your computer and run the installer before doing anything else.

  • Installing and Running Air application from webpage

    Hello ,
    I am trying to run the air application from web page and its working fine in my system. (http://localhost:8080/examples/test1.html)
    if i try to run the same air application from another system's webpage by pointing the url to my system's IP Address,(http://lpAdres of my system:8080/examples/test1.html) its showing error "The application could not be installed because the installer file is damaged. Try obtaining a new installer file from the application author"
    Air Application version are . Flex3.6 sdk and Air2.7 sdk & runtime
    Any of you know what could be the problem.
    please help em to resolve this issue asap.
    its very urgent requirement

    Hi, Jeff;
    Make sure you have compiled your application as 32 bit, and not "any cpu".
    See this document for some more info: [64|http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/10d5fa88-2013-2c10-c9a5-f11963607d4e&overridelayout=true]
    Regards,
    Jonathan
    Follow us on Twitter u2013 http://twitter.com/SAPCRNetSup

  • Run air application

    Hello,
    I'm try to run air application under Arch linux. I have:
    test.air application.
    I installed adobe-air-sdk from aur.
    I try as: https://wiki.archlinux.org/index.php/Adobe_AIR
    I make:
    #! /bin/sh
    /opt/adobe-air-sdk/bin/adl -nodebug home/user/test.air/META-INF/AIR/application.xml /opt/airapps/Mpoker.air
    But get error:
    application descriptor not found
    On other operation systems are all all right. Anybody runs any air application under arch linux?
    Thank you.

    Shouldn't it read "/home/user/test.air/META-INF/AIR/application.xml" with a slash at the beginning?
    Also http://www.siamnet.org/Wiki/AdobeAIR and http://codingbiologist.wordpress.com/20 … not-found/
    Last edited by karol (2011-04-25 13:46:50)

  • AIR Applications fail to install (Acer Aspire One, Linux)

    I've successfully installed the latest version of AIR for Linux on my Aspire One, although it took a few attempts.
    I am, however, not succeeding in installing any apps.
    1. My system believes that .air files are actually ZIP files and offers to unpack them: there seems to be nothing I can point them at to be opened by AIR itself.AIR does not appear in any menus, app lists etc
    2. If I go to a site that offers a "badge" install, the install system correctly recognises that AIR 1.5 is installed (checked box in the installer) and doesn't try to install it again. However, the apps do not install successfully - all fail with an Error #2004 and ask me to try again, which always fails.
    I can't seem to find any information whatsoever on this anywhere and I'm a bit surprised. It is surely not impossible to achieve, and I equally don't believe nobody else has had any trouble.
    Suggestions anyone?
    Thanks!
    --Richard E

    Right! "rpmbuild" was the answer to installing AIR successfully on this machine.
    Assuming that you have somewhat unlocked the machine as described in http://macles.blogspot.com/ and elsewhere, this simplest way of getting rpmbuild installed is to open a terminal and, as root, do "yum install rpm-build" - note the hyphen in the package name. If you aren't subscribed to a suitable repository, you can find it pretty easily with a Google for "fedora8 rpm-build".
    With rpm-build in place, AIR installed successfully using "./AdobeAIRInstaller.bin".
    ".air" applications are now correctly identified as belonging to AIR and badge installs also work.
    My intention in doing all this was to get a suitable Twitter etc app running on the machine, so I first tried the current version of Seesmic Desktop. It opened normally and allowed me to enter account details… and lo! it downloaded tweets! Unfortunately I never managed to get it to do that again. A bunch of small authorisation windows opened up, one for each installed account, requiring confirmation of password, and I couldn't enter anything in the field with the main window open. Minimising the main window I could now enter passwords, and OK dismissed the window, but it didn't seem to do any good. I have not seen a tweet since and all the panels in the main window are empty. A pity.
    My other favourite Twitter app is Tweetdeck - in fact I think it's superior to Seesmic Desktop if you just run a single Twitter account. Here the main window opens somewhat off-screen and blank (black) with control buttons at the top. Unfortunately although the buttons reveal their tooltips on mouseover, you can't actually access any of them, notably the account setup button. Thus the app is not usable.
    Third attempt was Twhirl, also from Seesmic (http://www.twhirl.org/). The version I had previously downloaded, 0.8.6, opened an account setup window but when you entered a password it just sat there. Luckily behind it was a window offering an update. Updating the package installed 0.9.2. This time the account window allowed the entering of an account name and password and duly displayed a window of tweets! And I was also able to write and send tweets successfully. Success! You can enter details for multiple accounts, and each has its own resizable window that contains messages pertaining to the account. Not as useful for me as Tweetdeck or Seesmic Desktop, but entirely usable (Desktop is actually a bit big for this machine's display anyway). However closing and reopening Twhirl I discovered that the application is not remembering passwords even when you tell it to - though it does remember the account names. Although I would like a fully-functioning app (and preferably one or both of the other two) this will do for the time being.
    I notice that issues regarding passwords and authorisation are the common factors in these misbehaviours: if anyone can shed any light on this, please let me know.
    Thanks to GauravKhurana for the key to solving this issue and the support in discovering it.
    --Richard E

  • Adobe AIR Application Installer.exe

    On my win xp pro sp3 machine from all the Adobe stuff
    following software installed only:
    - acrobat reader
    - flash player
    - shockwave player
    The Secunia scan tool noticed me recently I had old version
    of flash player.
    It is not right, some days ago just upgraded to 9.0.151.0.
    Why I am using the 9.x one see my other thread in the adobe
    flash player forum.
    In-depth analysis has shown that the old one is really
    present on my station:
    Adobe AIR Application Installer.exe is present on this
    machine and it keeps the old and
    vulnerable version of adobe flash player.
    What for ???????
    I didn't ever install the air application installer on my
    own.
    It must be one of other three applications I'm using
    intentionally.
    What of the three application named above has installed AIR ?
    And what for ?
    Why is nobody upgrading the vulnerable flash version attached
    to AIR ?
    How can I deinstall it ?

    quote:
    Originally posted by:
    tzeng
    You can uninstall AIR by using the uninstall program control
    panel. Just like uninstall an application.
    AIR doesn't figure on the Add/Remove Programs list.

Maybe you are looking for