Captive Runtime

Hello,
What exactly is Captive Runtime? Instead of asking for AIR it will have it embedded?
Will that make the installer larger but the application faster?

I don't know much about this, but this is what I believe Captive Runtime is.
Till now, whenever an AIR desktop application is installed, the installer checks for the AIR Runtime in the system. If the runtime is not present then it connects to the Web to download and install.
What Captive Runtime does is that it bundles the AIR Framework into the application thus removing the 3rd party dependency.
I am not sure about the size and performance, but this is my guess. I believe the installer size might be affected depending on how the bundling is done, but there should not be any effect on the performance of the applicaition (neither fast not slow).
-Pramod
http://www.flexmycode.com

Similar Messages

  • Problem with ANE in Captive Runtime

    Hi,
    this is my first post to the community so I am not really sure if this is the right forum ... i hope so.
    I built an ANE for Android based on the zbar library to scan bar- and qr-codes ... it works pretty fine in debug mode and also works great when I release the app using it with the "Shared Runtime" option.
    But I need the captive runtime as our customer wants the app to be as easy as possible for the users and so an additional download of the AIR-Runtime (if its not installed) is not the way we want it to be.
    I really hope someone can help me out and point me to the right direction what could be wrong with the ANE.
    Basically it is just one function called from ActionScript to the native code and this one starts an activity with a camera view and the zbar listener. When it recognizes the bar/qr code the activity dispatches the status event to ActionScript and exits.
    When i build the app with captive runtime nothing happens when i hit the button which should start the native code ... as i dont have flash builder debug information available within the release build i really dont know what the problem is. Also general android LogCat doesnt report any error.
    As i stated before, with the shared runtime and in debug-mode everything works as expected and the content of the bar/qr code is returned correctly.
    That's why I think the error must be somewhere in the as3 code - but i have no clue where ... i read something about external linkage of the ANE but dont really understand what was meant and if this could be the problem.
    Please help, thanks in advance ... and if this is the wrong forum for that topic please point me to the right one.

    Hi Carlos,
    1) Cross check the below :
    a)Ensure that the required JDK is being used in the client system
    b)Try clearing the Web Start cache and try downloading again.
    c)Start>Programs>Java Web Start>File>Preferences>Advanced>Clear Folder
    2) XI TST  Check  whethere you have enough TABLE  space.
    3)Refresh the Cache :
    a)Start transaction SXI_CACHE.
    b)From the context menu XI Runtime Cache select Start Complete Cache Refresh.
    And also try this :
    Many actions require to access System Landscape Directory content from the Integration Builder. To optimize performance, this content is loaded into a cache so that the System Landscape Directory does not have to be accessed directly each time that System Landscape Directory content is required.
    However, this cache is not automatically updated if changes are made to the content of the System Landscape Directory. For this reason that we delete the System Landscape Directory cache if changes have been made to content in the System Landscape Directory. The cache is then filled each time that the System Landscape Directory is accessed. If we log on to the Integration Builder after we have made a change in the SLD, we do not need to delete the SLD cache.
    To clear the SLD cache, from the Integration Builder main menu, choose Environment ® Delete Cache for SLD Data.
    Once we have deleted the cache for SLD data, accessing objects in the SLD may take longer than usual initially.
    Regards
    Agasthuri Doss

  • Error when running captive runtime .exe from root directory of drive.

    Platform: Windows
    Specifics: Captive runtime desktop app using an ANE.
    Problem:  I am distributing the app on a flash drive. Ideally,the .exe will be on the root of the drive, so the user will not need to enter a subdirectory. I'm mostly concerned about users moving the software and getting frustrated by this error.
    The error is "Adobe Air: The installation of this application is damaged. Try re-installing or contacting the publisher for assistance."
    Here's an example. Importantly, this error only occurs when an ANE is included. I tried a few different ANE files created by others, and simply adding them to the project produces the error. I don't even need to use the ANE anywhere in my code.
    https://www.dropbox.com/s/epfj0138pfbmu49/soExample.7z
    This is a simple application with a few blank buttons. Try extracting in a subdirectory somewhere, and then moving to the root of a flash drive or any other drive. However, I don't recommend running code from strangers on the top directory of your C:\ drive.
    Additionally, I installed Apache Flex 4.12 but the error persists. The text simply changed to "Initial content could not be loaded for this application. Try re-installing or contacting the publisher for assistance."
    https://www.dropbox.com/s/epfj0138pfbmu49/soExample.7z

    I did some more testing. Same issue occurs if I create a captive runtime app from Flash Pro. It also happens when I use the Adobe Air installer, but install to the root directory.
    Can anyone think of a workaround?

  • Adobe AIR with Captive Runtime Support for Mobile | ADC Presents | Adobe TV

    In this video, Technical Evangelist Andrew Trice covers Adobe AIR with captive runtime support for mobile application development, which will benefit your Flash Builder projects for the Android OS.
    http://adobe.ly/wyNYjD

    Witch version of flash builder is this?

  • AIR runtime and AIR applications built using Captive Runtime still need Admin Privilege to Install

    I am working on a small project to install AIR application(native .exe & .dmg) with AIR runtime without needing the Administrator privilege so I used Captive runtime but the installation is still asking for admin privilege
    I bundled AIR application with AIR runtime using Captive runtime from flash builder 4.6, then I packaged this into a .MSI using Advanced Installer. Now when I install it for a user without admin privilege it prompts me for Admin credentials.
    Can you please tell me if
    1. I need AIR distribution license to install AIR runtime without Admin privilege
    2. Do I need a different installer
    3. Am I missing any step here
    Thank you

    If you're installing to a location where Windows requires elevated privileges, like Program Files, you'll need to have admin privileges to continue.  Are you using an AIR based native installer or have you taken the application with the captive runtime and rolled this up in your own installer?
    Here's a section from the Installation and deployment options in Adobe AIR 3 article that might help:
    Installation privileges
    When designing an installer, one has the option to choose from approaches that may or may not require administrative privilege. For example, a drag-and-drop install on Mac OS X requires no special privilege; users can always copy the application into their own application folders, for which they have the necessary permissions. On the other hand, if registry keys must be written to the machine-specific portion of the registry on Windows, installation of that application will require administrative privilege to do so.
    The two installer formats directly supported by AIR, AIR files and native installers, have always required administrative privilege. This was a design decision made in part to simplify the implementation of the AIR installers: If administrative privilege is assumed to be available, implementation is possible if the registry can be written to, and so on. It was also selected because, in many enterprises, this is the desired behavior: administrators can use the privilege requirement to gate software installation.
    All the same, there are scenarios where supporting installation without requiring administrative privileges is desirable, or even necessary. This can now be achieved using custom installers; you simply need to author an installer that operates correctly with only standard user privilege. In practice this can be easy to achieve; a simple install-by-copy to a writable location (that is, in the user's own folder) will suffice. Should you author a more complex installer, you should keep in mind that the addition of certain operations during the install process will in turn reintroduce the requirement for administrative privileges.

  • Flash Builder 4.7 - Command line ExportReleaseBuild unable to compile to Captive Runtime?

    Hi,
    I am working on a project with the following setup:
    - AIR Desktop running with the ExtendedDesktop Profile with GPU rendermode
    - Apache Flex SDK 4.11
    - SWF version 18
    - Implements the FRESteamWorksNative Extension
    - Flash Builder 4.7 Premium is our work enviroment
    Our problem is that we can compile the project in Flash Builder manually as Captive Runtime, but when we run it with ExportReleaseBuild in our build.xml, it seems to forget our Captive runtime target and just outputs the installer.
    This is our buildscript:
    build.bat:
    SET FLASHBUILDER="%ADOBE_PATH%\%FLASHBUILDER_PATH%\FlashBuilderC.exe"
    %FLASHBUILDER% --launcher.suppressErrors -noSplash -application org.eclipse.ant.core.antRunner -data "%WORKSPACE%" -file "%BUILDXML%" desktop
    build.xml:
    <target name="desktop">
         <fb.exportReleaseBuild verbose="true" destdir="bin-test" project="ProjectName" basefilename="ProjectBaseFileName" packagetype="native" certificate="Certificate.p12" password="passwordToUse"/>
    </target>
    .actionScriptProperties:
    <buildTargets>
        <buildTarget buildTargetName="default" platformId="default">
          <airSettings airCertificatePath="Certificate.p12" airTimestamp="true" anePathSet="true" version="1">
            <airExcludes/>
            <anePaths>
              <anePathEntry path="steamworks/FRESteamWorks.ane"/>
            </anePaths>
            <newLaunchParams/>
            <modifiedLaunchParams/>
            <newPackagingParams/>
            <modifiedPackagingParams>
              <Parameter name="-target" value="air-captive"/>
        <Parameter name="-extdir" value="steamworks/"/>
            </modifiedPackagingParams>
          </airSettings>
          <actionScriptSettings version="1"/>
        </buildTarget>
      </buildTargets>
    Any help with this is much appreciated, and if I missed something, please let me know.

    Hi,
    I've opened bug at Adobe site:
    Bug#3801869 - FlashBuilder 4.7 command line fails due to "Exception in com.adobe.flexbuilder.codemodel.CMCoreActivator.s…
    please vote on the bug.
    thanks,
    Erez

  • Native extensions and captive runtime

    I'm trying to use native extensions and captive runtime. When I try to create a release, the IDE shows this message "Native extensions are being used in the project but are not supported by the CAPTIVE_RUNTIME_BUNDLE package type. Runtime issues can occur." and I can't continue.
    I've been able to compile it using the command-line, but I'm worried about the "runtime issues" that can occur.

    Hi,
    Sorry, just verified that export release build, with Native Extensions and Captive Runtime bundled for Desktop projects has been fixed and is available in the final release of Flash Builder 4.7.
    Thanks,
    Hari

  • Running a Captive Runtime debug build through flash builder

    Is there a way to launch a debug configuration through Flash Builder that has the captive run time built in?
    I am developing and testing an app for android devices that do not have the newest version of the Air Runtime, some of the devices require captive runtime because they cannot upgrade.  I need to be able to launch the app on these devices AND get debug/console information from flash builder for identifying defects.
    any ideas?

    Hey Wright,
    Captive Runtime can only be used at export release build time.
    Hence you cannot debug the application with captive runtime bundled.
    Thanks,
    Hari

  • AIR 3 captive runtime environment

    Since AIR 3 features a captive runtime environment and allows users to run without install/system admin privileges, will this be carried over into RH AIRHelp? If so, when? Thanks!

    Oops! My bad!
    Failed to see that trailing part. (My eyes sorta glazed over after reading:
    Since AIR 3 features a captive runtime environment and allows users to run without install/system admin privileges
    Silly me, I assumed Maggie was an AIR developer as it sounded very "developer speak" to me!
    Carry on... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Android Captive Runtime stability

    I tried publishing my Google Android application with "Export application with captive runtime" this week and I immediately noticed stability issues. The application will run for a short time and then will suddenly unload itself. When checking the Android active applications, it's no longer listed as running. There were no errors visible. Is there somewhere I can look for error logs? Testing took place on Android 3.1 Samsung Galaxy Tab.
    I went back and published the application with the other setting selected "Export application that uses a shared AIR runtime" and it works much better on the device (no instances of it unloading itself). No other changes to the project were made.
    I'd like to use the captive runtime feature so that users don't have to download AIR for Android and we have a consistent experience on iOS and Android.
    How do I determine why my app is crashing with captive runtime? Where do I look for errors and clues?

    appandrew,
    I tried installing both apps on my Xoom and didn't have a problem. Please file a bug at https://bugbase.adobe.com/. This way our QE can take a look and contact you if they need additional information.
    Thanks,
    Joe

  • [Windows] Captive runtime bundle package certificate signing don't work when icons included

    Here is the bugbase ticked: Bug#3949990 - [Windows] Captive runtime bundle package certificate signing don't work when icons included
    Application signing don't work when you build captive runtime bundle package which include icons. Don't matter application icons or associated file types icons. It works fine when you build application bundle without icons.
    It's a very critical issue, please fix it ASAP.
    Also application signing don't work if you using AIR SDK beta: Bug#3950022 - [Windows] Application signing don't work with AIR SDK beta
    I'd like to ask everyone affected by this issue to take a minute and vote for the following bugs.
    Thanks.

    I received feedback from our QA team this morning that they were able to reproduce the bugs but they are requesting access to the .as code if possible.  If you'd like to keep this private, please feel free to email it to me directly at [email protected]

  • Export Captive Runtime Bundle with ANE

    I'm trying to export a release build of my app which makes use of AIR native extensions. Due to certain requirements, the app needs to be exported as a captive runtime bundle package.
    Flash Builder 4.6 refuses to do such an export and displays this message"Native extensions are being used in the project but are not supported by the CAPTIVE_RUNTIME_BUNDLE package type. Runtime issues can occur."
    Does anyone know exactly what these runtime issues are?

    Solved thanks to myself.  export to a different drive. in my case- Desktop. 
    turns out i can't copy to the terrablock volume i'm working off of.  I figured this out after trying to do this solely in Flash Pro.  I received a crazy error message.  I googled that and i found a post that i commented on a 6 months ago.  To see me talking to my future self look here - http://forums.adobe.com/message/5475543
    hope this helps someone.

  • Reusing AIR Captive Runtime

    I have an application that is installed and acts as a loader, downloading different other applications that all use the captive runtime.
    However, considering the current folder structure of a "captive runtime" application:
    -> Adobe AIR
    -> META-INF
    ==> signatures.xml
    ==> AIR
    =====>application.xml
    =====>hash
    -> mimetype
    -> ApplicationName.exe
    -> ApplicationName.swf
    For example, there is the Adobe AIR folder which is 38 MB in size, which is identical for all of the apps. The exe file, even if named differently it's the same file for different applications.
    I cannot put all my downloaded apps in the same folder because they would override the previous application. All the application "internals" are found in the META-INF folder. Is there any way to rename this folder to something like (app1) ? I think this would solve my problem. Of course, I would need to change the exe file also.
    Do you have any other suggestion on reusing the captive runtime?
    Thanks
    Ciprian

    No solutions to my problem?

  • Publishing to Captive Runtime

    Flash Pro 6, Mac OS10.6.8 Is it true that on a MAC  can only create a captive runtime export for a MAC and I need a windows computer and Flash 6 for Windows to Create a .EXE file? I have been working on Flash 5.5 and was excited to see the Captive Runtime option. Very surprised to be told by tech support that I could not create the Captive runtime .exe on a MAC!

    Thanks for the response. Talked with my boss and his solution was simpler: Fall back to AIR 3.5 and stay there for the forseeable future.
    Perhaps Adobe will fix the AIR captive runtime problem in a future release.
    I'll try to update this post if I learn anything new.
    Thanks.

  • Captive Runtime air 2.7?

    Hey,
    I was wondering if it in any way could be possibly to package with captive runtime in a combination between the new 3.0 ADT and the 2.7 SDK?
    In the 3.0 feature sheet it says; "Developers can now control exactly which version of the runtime an app executes against"

    You can only use the feature in AIR 3. That statement is forward looking, as in, the runtime your app uses won't be updated unless you update it. Possibly, you can set the app descriptor to use AIR 2.7, which would give you AIR 2.7 behavior, but would still use the AIR 3 runtime -- I'm not sure this is allowed, but it would be easy to check just by trying to do it and seeing if ADT lets you make such a package.

Maybe you are looking for