CustomeUpdateUI for native AIR app installer

Hi,
We have a native installer for a windows and Mac AIR app.
For updates, we use the NativeApplicationUpdater code from:
http://code.google.com/p/nativeapplicationupdater/
After an update has been downloaded and launched, AIR shows a dialong prompting the user to "Replace" or "Cancel"
the update.
I would like to get rid of the dialog as this seems to include a redundant question for the user who chose to update from the first place.
I believe setting the <customUpdateUI> tag at the application decriptor file would hide the dialog, but that causes the update to just launch the existing app. How can I come up with custom logic that will cause the update to actually replace the existing app?
Thanks,
Eilon

It does have half an answer. SWFs can request loading AIR applications so they suggested embedding a SWF on the page which would be able to launch your AIR application. Your link would need to fire off some JavaScript to use the ExternalInterface with the SWF to relay your request inside the SWF. 
If you really want it on Windows for example then you'll need to register your URI, the example should be self explainatory:
http://msdn.microsoft.com/en-us/library/aa767914(v=vs.85).aspx

Similar Messages

  • Launch native air app(desktop) using URI scheme

    Have a air application for handling files. Is it possible to launch using URI.
    The same question has been asked on stack overflow without definite answer
    http://stackoverflow.com/questions/8956316/open-a-native-air-app-via-url

    It does have half an answer. SWFs can request loading AIR applications so they suggested embedding a SWF on the page which would be able to launch your AIR application. Your link would need to fire off some JavaScript to use the ExternalInterface with the SWF to relay your request inside the SWF. 
    If you really want it on Windows for example then you'll need to register your URI, the example should be self explainatory:
    http://msdn.microsoft.com/en-us/library/aa767914(v=vs.85).aspx

  • Any solution for Launching Air Apps from Sandboxed Chrome and Safari Browsers?

    Before we go and build our own plug-in (Ugh!)...
    As of early this year, we could no longer launch our Air application from Chrome. Now Safari (with Mavericks) has Sandboxed Flash with their browser and it will no-longer launch our application.
    Does anyone have any helpful advice (beyond building our own plug-in)?
    Thanks,
       Leo

    For the Chrome issue, I added instructions on how to manually enable an exception so that the plugin could run. The easier way to get it working is to have them install an Air app from the browser using a Flash badge. This didn't work for us since our app needs a native installer. Another option is to have our user install another Air app from our site. The exception is created for the site and the Air plugin so even though it would be a different app, once they allowed the plugin on our site, we could launch the natively installed app after that.
    I just discovered the Safari sandbox issue on Mavericks. I haven't tried either of these approaches on Safari yet. Is it the AdobeAAMDetect plugin in Safari settings that needs to be allowed?
    http://support.trainerroad.com/entries/22547739-How-do-I-allow-TrainerRoad-to-be-launched- from-the-website-

  • Admin Rights for Adobe AIR apps

    Which Admin rights are needed on a system to install a .AIR file on a system? In our Enterprise scenario users do not have Admin rights on the system. And whenever user tries installing an AIR app an error is thrown for the same. I want to know what are the least (Admin) rights that we need to give to a user on a WindowsXP system so that he can install air apps?

    Hello,
    Unfortunately, there isn't a simple answer to this question because AIR isn't in complete comtrol over the full set of files and registry keys touched during an install - we rely on Windows Installer for that.  However you can find additional information about this at:
    Does Installing an AIR Application Require Admin Rights?
    What are Administrative Rights, Anyway?
    You might also want to vote for this idea: Installation of Adobe AIR apps without having administrative privileges
    Hope this helps,
    Chris

  • Can't install native air app on Windows XP

    Windows XP SP3
    Install log
    [2012-02-20:13:18:49] Bootstrapper begin with version 3.0.0.4080 on Win x86
    [2012-02-20:13:18:49] Installed runtime (3.1.0.4880) located at c:\Program Files\Common Files\Adobe AIR
    [2012-02-20:13:18:49] Launching subprocess with commandline "Adobe AIR Application Installer.exe" "C:\Temp\AIR1.tmp\DirectCommander"
    [2012-02-20:13:18:52] Application Installer begin with version 3.1.0.4880 on Windows XP x86
    [2012-02-20:13:18:52] Commandline is: C:\Temp\AIR1.tmp\DirectCommander
    [2012-02-20:13:18:52] Installed runtime (3.1.0.4880) located at c:\Program Files\Common Files\Adobe AIR
    [2012-02-20:13:18:54] Validating app in folder C:\Temp\AIR1.tmp\DirectCommander
    [2012-02-20:13:18:55] Application signature verified
    [2012-02-20:13:18:55] Unpackaging/validation complete
    [2012-02-20:13:18:55] No app located for appID 'ru.yandex.direct.commander' and pubID 'EB09D3D12E06B1A2575408F5347232008B284B95.1'
    [2012-02-20:13:18:55] Got an unexpected fatal error while unpackaging: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Unhandled exception TypeError: Error #1009" errorID=1009]
    [2012-02-20:13:19:01] Application Installer end with exit code 7
    [2012-02-20:13:19:01] Subprocess Application Installer failed (7)
    [2012-02-20:13:19:01] Bootstrapper end with exit code 7
    This application http://support.microsoft.com/mats/Program_Install_and_Uninstall/en-us didn't help.
    What can it be?

    Link http://direct.yandex.ru/commander/DirectCommander.exe
    > You might also consider creating a temporary user account and see if you can install there.
    Why it should be help?

  • Support for native packaged apps?

    Hi,
    I'm looking to incorporate some Native Process functionality into my app, which means I'll be deploying EXE, DMG, and possibly RPM version of the application.
    Is there anyway that Melrose can facilitate this in it's current state? Looking at the developer panel, it doesn't seem so...

    That helps alot, I'll now have to re-think my business model as obviously InMarket is not the place I can be if I want to develop cutting edge AIR applications. I truly appreciate the timeframe though, it gives me some solid info I can plan around.
    I'm not sure I agree with the direction entirely, I think the monetization opportunities go down 10-fold by not allowing use of the Native API's in 2.0.
    With the native process API's the variety of application's we could build in AIR expanded exponentially, suddenly we can take advantage of thousands of pre-existing native processes to do all kinds of things that AIR can't do natively. The possibilities are endless.
    So, while you are focusing on reaching into new markets, you're limiting AIR apps to be simplistic in nature, and quite limited in functionality. Not to mention, it's a poor message to developers: Here's this API we released, but it will be 18mths+ before we will actually support it in our own storefront.
    I'm not really sure what one has to do with the other as well. Mobile/Tabled and TV's will obviously not support Native Process anyways, so I don't see how adding support for native apps in Desktop storefronts, should really affect the partnerships / development of these other storefronts.
    It seems you guys are overthinking things. Start with getting the simple/basic stuff working properly, then you can conquer the world

  • Settings for Native Mobile App

    I'm using RoboHelp 11 to generate a native mobile app for Android.
    In the Generate Native Mobile App dialog box, I've downloaded PhoneGap, Android SDK, JDK, and Apache Ant. I've then used paths that I think would work. Here's a screen shot:
    When I attempt to generate the file, I see an error (below).
    Can you please recommend the exact path? I've looked at your documentation(Adobe RoboHelp 11 * Generate a native mobile app) and Tom Aldous's YouTube video (How To Create Android App From Your Training and Technical Manuals - YouTube). Does it matter where I download the files? Is RoboHelp 11 just compatible with certain versions of these downloads?

    @Robert I am working with someone else who is having problems. I produced some instructions for Rh10 that got things working for myself and others. The difference between 10 and 11 is that 10 required some system variables to be set whereas 11 sets the necessary paths when generating the app. Thus it is likely your problems are related to the various installations. Given where you have located them, it is not possible for me to read them. I put each app (except Java) directly off the C drive.
    To the best of my knowledge, the only app that is version specific is PhoneGap which must be 2.9.0 and that is what you have.
    First try moving the apps and generating outside your profile. This is my setup from 10 but 11 is the same as far as this part is concerned.
    See where that gets you.
    @Rick Apps are great for Knowledge Bases. As far as OLH is concerned, there are some usability issues if people don't know how to switch between apps.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Adobe AIR app installation issue due to certificate problem on mac 10.9.5

    Im trying to upgrade and then reinstall an Adobe Air application but get the error message failing to install due to a certificate issue.
    The developer says the fix is to uninstall the app and install again but this also fails.
    Checked my machine clock - saved but that didnt work
    The adobe AIR uninstaller simply says I have the latest version? Cant seem to delete and reinstall although other adobe air apps work so I dont think this is the issue
    I have gone through the troubleshooting guide: Troubleshoot AIR installation | Mac OS but still have the issue?
    Any ideas would be great.

    I suspect your Mac OS install was an in place upgrade from an earlier version. This is something I would never even consider with a production machine.

  • License Keys for Adobe Air Apps

    Many software applications require the end user to input a valid license key before proceeding with the installation. I have yet to come across an Adobe AIR application that employs this mechanism.
    The question is how can i integrate such a mechanism into an adobe air app?

    Two options:
    a) Build a licensing verification scheme yourself
    b) Use a 3rd party tool, such as NitroLM or Sharify or Shibuya

  • Ad-hoc AIR app installation, without UDIDs

    I am currently building an AIR app for iOS, targeting iPad, with Flash CS5.5. I realize Flash gives me the option to build and deploy the app as an ad-hoc deployment which is fine. But what I'd really like to do is replicate the process here:
    http://stackoverflow.com/questions/5546581/how-to-distribute-ios-application-wirelessly-wi thout-managing-udids-and-recompil
    Where I can point users to a web link that lets them install the app on their device, regardless of whether their UDID is in the provision.
    I tick off 'Deploymen - Ad Hoc' in the publish settings, and Flash generates the ipa file fine, but when I upload the ipa and provision file to my ftp server, and try to install on my iPad, an alert box come up saying "Can't connect"
    The key piece of the html install looks like this:
    <a href="itms-services://?action=download-manifest&url=http://www.example.com/ipadapp/myApp/myApp.plist"><img src="icon_57.png" alt="" width="59" /></a>
    It seems the missing piece is the .plist file, but I don't know how to generate that from Flash/AIR.
    I have a normal Apple developer account (not enterprise).. not sure if that factors into things. Thanks!

    You should read all of the comments. By the end it seems as if it may be a special feature of the enterprise account that the UDIDs are collected automatically. Or something like that.
    It's not hard to add devices to your developer account, and the Mac App Store application BetaBuilder is incredibly easy to use. You end up with the over the air installing that you want, without your users having to install the provisioning file via iTunes.

  • Using Packager for Existing AIR App

    Hi,
    (I'm a total newbie to Flash and almost a newbie to development.)
    What are the considerations when planning to re-package an existing AIR app into an .ipa?  How do I even know what files to include for publishing?
    Thanks,

    One thing to consider is if using Flash CS5 your app might not publish properly or may publish with errors and bugs.  It depends on how you coded the app/flash site.  But if you are using Loader() method in your FLA make sure to include all of the swfs that your swf container file accesses.  If they are not in a subfolder you will have to add them one-by-one to your list of included files.

  • Advice please for creating a preloader for an AIR app

    Hi.
    I've developed an AIR app in flex and all I want is a preloader for when the app is opened.
    I've ready plenty of the tutorials online - but most of the tutorials are geared towards <mx:Application> not <mx:WindowedApplication> and I
    can't seem to get them working using the <mx:WindowedApplication preloader=" ">.
    Coding the actual preloader isn't the issue i'm just having problems running it from the AIR app.
    If anyone has any tips for me that would be great!
    Thanks.

    you could use a mx:Window in order to create a splash window.
    http://livedocs.adobe.com/flex/3/html/help.html?content=WorkingWithWindows_2.html

  • How to create a more general install package for an AIR app?

    Hi,
    I have been using the ADT to compile an exe of my AIR app along with some other files I want to distribute. Problem is, I would like to do more general install actions (e.g. copy a bunch of files to the users Documents directory, copy a file to the local store, install fonts etc). Right now I achieve some of these by copying stuff from the application directory on the first run, but that is rather kludgy. Currently I am looking at using InstallShield or InstallAnywhere to do what I want out of the can, but I thought I'd see if anyone has some more AIR-friendly suggestions...
    Thanks!

    In my case I managed to work around the issues we were having by doing a configuration pass on the first run of the app. That means I had to basically put all the data I needed in my assets directory using the ADT compiler, then determine if it is a first run as follows:
    var locationPrefsObj:SharedObject = SharedObject.getLocal("PrefsObj");
    if ( !locationPrefsObj.data.hasOwnProperty("appCreatedDate")
    || ( locationPrefsObj.data.appCreatedDate != File.applicationDirectory.creationDate.toString() ) )
         firstRun();
    else {
         initConfig();
    // initialize an existing config
    The firstRun function will obviously be very bespoke, but you need to set the SharedObject at the end of it to make sure it doesn't get called every time.
    // this function is only run straight after an install
    private function firstRun():void {
         var success:Boolean = false;
         // do your first run stuff here and mark success=true if you are happy   
         if ( success ) {
              // set the appCreatedDate - then a future install can identify dirt left by the previous install
              var locationPrefsObj:SharedObject = SharedObject.getLocal("PrefsObj");
              locationPrefsObj.data.appCreatedDate = File.applicationDirectory.creationDate.toString();
              locationPrefsObj.flush();
    Other gotchas I hit:
    (1) You can copy things from the assets folder no problem, but to move or delete anything (so as not to leave lots of extra stuff hanging around), you need to (a) run with administrator privileges on Vista and w7 (the elevation happens automatically if you leave the "Run after install" box checked on an ADT install), and (b) work around the Flash security model that says you can't delete anything from a subdirectory of Program Files under any circumstances. I got around this by something like:
    // delete a file
    new File(File.applicationDirectory.resolvePath("assets/fileToBeDeleted").nativePath).deleteFi le();
    It's a bit nasty as it violates the security model, but until ADT lets you put stuff in two install locations I can't see another way to clean up the install properly.
    (2) I tried to install fonts (using VB and other stuff), but it is a real mess - the models in all different flavours of Windows seem to be different. I gave up as our software could get around it another way ...
    Hope that helps!

  • HTML Banner for Native Android App Builder

    In the release notes it says
    The HTML banner in the library has limited available APIs.
    I don't even see a place in the app builder to define a banner.
    We called Gold Support and they don't know anything about the new Native App Builder.
    Thanks,
    Darrin

    I know that with Android the subscriptions are not supported but a header banner (static - no action linked) is important to see!
    Client want a branded viewer - now is very poor!
    Are there some news about this? Now i'm working with the new native Android app and i see that in the web builder (works very well!) there is not a field to upload a png. V31, V32?
    I use Professional

  • Air App Installation Error

    Hi There Guys
    Please if anyone could help.
    I am just testing to see how I can make an Air Application
    through Dreamweaver CS3.
    I have installed the latest Air latest Air Extension for
    Dreamweaver CS3.
    There are no other installation from before of above files
    and also I have tried the air installer created from dreamweaver on
    another pc with Air Runtime the same thing happens.
    The error is:
    Sorry, an error has occurred
    This application requires a version of Adobe Air which is no
    longer supported. Please contact the application author for an
    updated version.
    When viewing this from adobe dreamweaver "Preview in Adobe
    Air" it is o.k., but when this is made into a installer it does not
    install giving the above error.
    I appreciate any help,
    Thanks
    Ben

    Hi!
    I think i already know why!! and i'm a beginner!! ';)
    It does not works because you have compiled saying its for
    another version that the "Adobe Air player" installed on your
    systems.
    I presume you have installed the lastest PLAYER(think as
    flash player for example) but you are telling: this code is for an
    old player.
    So now either you have to install the old player (it will not
    override the new or current player, but add another).
    OR
    You change the blabla i n your application to tell it to use
    the latest player.
    In details you have to change this:
    <application xmlns="
    http://ns.adobe.com/air/application/1.0">
    it tells to use the 1.0 (the current latest adobe air player)
    its in your app.xml file or something!!
    I believe you might have something like
    <application xmlns="
    http://ns.adobe.com/air/application/1.0.M6">
    ... you simply need to remove the .M6
    To summarize you are creating an install package which
    requires another version of the player installed. You can change
    this or install the older version.
    !!Hope that helps!

Maybe you are looking for

  • TS1894 After sync my iphone my videos have sound but no picture in quicktime.

    My videos that I sync through iTunes have sound but a black screen when trying to watch through Quicktime.

  • Bad reception on Droid Razr M, and on LG Spectrum

    Just curious as to others opinions... I bought two phones, the razr m, and a samsung stellar I believe it was. We live in a spotty area of coverage in VA, but the stellar (my husbands phone works just fine). I however have been dropping calls, limite

  • Output Problem with my problem help please

    Here is the Instruction to the problem: An interesting problem in number theory is sometimes called the ?necklace problem.? This problem begins with two single-digit numbers. The next number is obtained by adding the first two numbers together and sa

  • Line does not disconnect

    I have a BT Studio 1500 and BT Broadband. The phone works perfectly well on all incoming calls and on all outgoing calls when the person being called picks up the phone. However when the person being called does not answer and the call goes to a reco

  • Altec-Lansing XT1 speakers need to be unplugged after every shutdown

    I recently bought a set of Altec-lansing XT1 speakers, partly because I read lots of good reviews but mostly because I missed being able to use my iSub. They sound better than the internal speakers and having a subwoofer again makes a world of diffec