Adobe Air Deployment Questions

I'm working on a commercial application.  This application gets sold to customers, then deployed by various customers on whatever server they would like.  It's a java backend flex front end.  That said, for the web-app, since the swf file is housed in an application server within the same context/webroot as the server-side code, I can use relative url's.
For example, I can reference everything through /application/servlet/fun versus a full url http://10.0.0.0:808/application/servlet/fun.
This is a huge advantage for a web app because I can sell my product and they can deploy it wherever they want without me having to recompile or anything like that to account for new URLs.
Is there a way to do something similar with Adobe Air?  I would like the use the Air environment for my next iteration of the app if possible because it gives added screen space (cuts out a lot of the browser stuff).
Currently, I put all my url's in .properties files.  So, I would have a property like this:
MAIN_SERVLET=/application/servlet/fun (for example)
I could still have a concept like this, but how does a desktop app know the relative url path to the application server?  Thus, I don't think you can use relative urls.
Please guide me in the right direction.  I've been googling this all morning trying to understand the deployment process but I've found the documentation to be lacking.
Thanks!
Dan

This seems like a totally reasonable thing to do and seems like the path I will take.
Hi – I’m confused as to how this works.
I’ve followed this tutorial http://www.davidtucker.net/2008/01/10/air-tip-5-passing-arguments-to-an-application-on-ins tall/comment-page-1/#comment-3720
yet the BrowserInvokeEvent does not seem to be invoked.  This is the application compiled into the .air app.  On the preInitialize event, I do the following code:
private function initResources():void{
NativeApplication.nativeApplication.addEventListener(BrowserInvokeEvent.BROWSER_INVOKE, onInvokeEvent);
Swiz.loadBeans( [Beans] );
As you can see, I subscribe to the event and prepare my swiz framework beans.  That’s all.
Having said that, the listener is never called. I have the following code in place to debug and see what data I’d be receiving from the flashvars.
private function onInvokeEvent(invocation:BrowserInvokeEvent):void {
Alert.show(”BrowserInvokeEvent handler”);
var arguments:Array = invocation.arguments;
for each ( var object in arguments ){
Alert.show(”argument is ” + object + ” or ” + object.data );
Am I missing a step such as recompiling the Badge.swf with the new contents of AIRBadge.as ?
Thanks in advance, I’m very stumped by this.  Any guidance will be appreciated.
Dan

Similar Messages

  • Adobe AIR deployment

    Admittedly, I'm green to software deployments in an enterprise type environment, but I'm trying to deploy various Adobe software packages to users (~500). Air is one in particular that I've been wrestling with. I get an error message every time I try to run the .msi installer saying "Could not access network location (computed)". The .msi is something I extracted from the local settings temp folder as I've done with other apps I've tried to deploy. I've searched on the error a bit, but other than some conflicts between CS3 and Office I've not seen anyone else with this problem.
    My question is: is AIR not meant to be deployed with an .msi file and if so, what are the recommended ways to deploy it?
    Thanks in advance for the help.

    I have the same issue.
    The document linked above reccomends using SMS which costs close to $1000.
    When we distribute third party software, we use GPOs to deploy software packages, which only work if you have a .msi file.
    Java and Adobe both provide .msi packages for their software, however Adobe does not provide .msi downloads for Adobe AIR, only for their Flash and Reader. I can only download .exe for AIR.
    In the past, when I need to deploy .exe packages, I use a program called 7Zip to extract the .exe, which provides me with a .msi package that I can deploy using a GPO.
    This does not work with Adobe AIR. When you try to install the .msi an error message comes up saying:
    "Could not access network location (computed)"
    This does not make sense since I am trying to install the program locally, it is not even looking over the network for the file.
    Has anyone run in to this before? I need to resolve this issue so AIR can be deployed to ~100 Workstations.

  • Adobe AIR installation questions

    Hi all,
    I'm looking into the possibility of distributing an application with Adobe AIR and I've a few questions about the Adobe AIR installation process. Just to give you some background on the situation I'm in - if a user wants to use the service I'm working on, they need to install a binary application on their computer. We've a web site which communicates with this binary application. As the user as to install the binary application to begin with, we're beginning to look at AIR as a possible alternative to distributing the web content through a browser.
    1. Adobe AIR installation requests that the user enters their computer password. Is there any way to retrieve this password from a separate installer? The binary application that we ask our users to install asks the user for their password and it would be nice to not ask the user to enter their password twice. Are there any possibilities for sharing this password between our binary application and the Adobe AIR installer?
    2. If I sign up as a re-distributer of AIR, is the Adobe EULA which is displayed at the start of installation still necessary? I'm already displaying one EULA (with the binary application) and I'd prefer not to have to display two.
    3. I'm assuming that there is no way to specify the directory into which I'd like the Adobe AIR runtime to be placed - can you confirm that Adobe AIR is always installed in the /Applications folder on mac and c:/Program Files on Windows?
    This question goes out to Adobe AIR developers - If you have distributed your application with Adobe AIR, have you ever stumbled across the situation where a user has uninstalled the Adobe AIR runtime (either intentionally or unintentionally) and you are now left in a situation where a user cannot access your services because Adobe AIR is not installed on their computer. If so, are you aware of any usable fallbacks other than to tell customers that they have to have Adobe AIR installed to run the application?
    Thanks
    Sean

    1:  We are working on a method to use a local socket to communicate with an installed c# application on the users machine.  The situation is very similar, however we store credentials encrypted and accessible to the installed binary.  If those credentials do not exist the AIR app requests the user to input them and they are sent to the binary.  These credentials are stored either per session, daily or forever per the user's preferences.  We use this method to let AIR be the front end it was designed to be and leave all the heavy lifting OS / processor wise to the binary.  Unsure if this would help but you can read a bit more on using local sockets here: http://help.adobe.com/en_US/AIR/1.5/devappshtml/WS5b3ccc516d4fbf351e63e3d118666ade46-7caf. html
    2:  The EULA is still required as the End User has to accept it.  If there's a way around that, I'm not aware.
    3:  The installation directory can be changed by the user unless you are performing silent installs (available when you sign a redistribution agreement).  I don't recommend relying on the installation directory never changing.
    Try using nativePath to determine where your program location is: (javascript)
    //application directory
    var file = air.File.applicationDirectory.resolvePath("testfile.html");
    air.trace(file.nativePath);
    //application storage directory
    var file = air.File.applicationStorageDirectory.resolvePath("testfile.html");
    air.trace(file.nativePath);
    4:  I've faced the problem where the AIR runtime is not available, but we always fall back on the badge there.  For what it's worth it's pretty handy at detecting requirements and getting them to the user.
    hope that helps

  • Adobe AIR help; question regarding search criteria with multibyte characters

    Hi,
    I created Adobe AIR application with Robohelp 9 (using FM 10 files as source, and texts are written in Japanese and English),
    and happend to find that search function in AIR application doesn't catch keywords correctly.
    For example,
    1. If you type "文字" and "スタイル" with single byte space in search window, the result appears for both "文字" and "スタイル".
    2. If you type "文字" and "スタイル" with double byte space in search window, the result doesn't match for anything.
    3. If you type "文字スタイル" (in one word) in search window, the result doesn't match for anything.
    Same thing happens for the case "文字種" (literally, "文字"+"種", the meaning is almost the same).
    But, if you type search words which is all in Katakana, the result seems to be fine.
    Is there any limitation for multibyte characters support? Or, this behaviour is a feature??
    If so, how can make AIR application "hit" correct words?
    Thank you very much for your kind help in advance!

    On this one your best course of action is to contact Adobe Support. They will likely require your project and there is one thing I would suggest you do first. Create a new project with just a few topics to prove the problem exists there as well. If it does it will be a simpler upload and you will know the problem is repeatable.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Adobe AIR project - Questions

    Hello I m here to solve any questions related to AIR in my mind.
    I would start an offline project that consist of displaying and editing things in a db.I would like to develop this project over AIR and Action Script 3.I know that AS3 can handle Mysql but for running Mysql DB offline it would have a mysql server running on the machine...but here would like to create a db running with my AIR application and without have to install any mysql local server.
    So witch type of DB or how can i create DB for AS3 use?
    Maybe i can use xml as tables of DB and coding the xmls as they were db parts but the datas are very huge and this will not be easy to edit things in db with xml as tables
    Thanks a lot

    The AIR runtime includes the SQLite database engine, so if you want to use a database as part of your application that is the easiest way to do so. The documentation about the built-in database functionality is here:
    Flex: http://help.adobe.com/en_US/AIR/1.5/devappsflex/WS5b3ccc516d4fbf351e63e3d118676a5497-7fb4. html
    Flash:http://help.adobe.com/en_US/AIR/1.5/devappsflash/WS5b3ccc516d4fbf351e63e3d118676a5497-7fb4 .html
    HTML/JavaScript: http://help.adobe.com/en_US/AIR/1.5/devappshtml/WS5b3ccc516d4fbf351e63e3d118676a5497-7fb4. html
    In theory an AIR application can also communicate with any other type of database, assuming you find or write the code to perform that communication. For example, there is an open-source ActionScript library to directly access MySQL. However, as you point out, to use any server-based database you would need to have an instance of the database server running where the computer can access it.
    Aside from SQLite, the only other file-based database system that I'm familiar with is Microsoft Access. (I'm sure there are others, but I just don't know their names.) I don't know of any existing projects to work with Access database files from AIR, but again I could have just missed something.

  • Adobe reader deployment question

    I've read the document on deploying adobe reader via gpo and have one particular question. Why do we have to do an administrative installation of adobe on the network? Isn't the msi file plus the other extracted files from the exe enough to deploy adobe? I don't see the reason behind an administrative installation. I've already customized it with the wizard; the mst file is in the same folder.

    Thanks for the reply, it really helped get me to the right place and I was successful in opening the Adobe Reader Installer.  The key words for me were "your computer's Administrator password".  I had been trying to use my Adobe password.  Thanks a lot!!

  • Deployment of an Adobe AIR application in an enterprise environment

    Dear Team members,
    first of all my apologies for posting this thread in more than one forum (see Installations Issues) but the argument is very important to us and I don't know where discuss it.
    I would like to post a question to you regarding deployment doubts that we are trying to address.
    My company is working on the new version of our primary application previously built as a J2EE application with some reporting functions with Flex, and we want to use AIR in order to leverage its possibilities:
    Seamless integration with existing application functionalities (implemented as standard JEE web application pages) thanks to the integrated HTML capabilities
    Improved integration of the user interface with the desktop
    Native processes to provide additional functionalities
    Our application is targeted to pharmaceutical industry, subject to FDA regulations, and it affects more than 5000 users for each customer, so we have some specific requirements affecting the deployment and distribution of the software:
    Allow to run multiple versions of the software on the same client machine (to support test and acceptance activities in addition to the production environment)
    Minimize the effort of the initial setup on each client
    Manage the version upgrades without manual activities on each client
    Keep the test/acceptance and production environments strictly aligned to improve effectiveness of formal validation (ideally, an application once validated should be transported in production without any source code modification, recompilation or repackaging)
    The current browser-based strategy is perfectly fit to these requirements, and in the shift towards a desktop-based strategy we need to continue satisfying them as much as possible. We evaluated the standard distribution strategy of Adobe AIR applications, and noticed several attention points in this scenario.
    The first issue we encountered is the back-end services endpoint discovery problem. Simply hardcoding a server URL in the packaged application could be a viable solution for public internet-accessible applications, but we need to support multiple customers in their intranet, and each one typically requires multiple environments for the application (acceptance, production, etc.). Maintaining dozens of different packages of the AIR application to support all these customer environments clearly is not the solution. Neither we want to force thousands of different users to enter and maintain the correct server location in their local preferences.
    So, we thought to use a badge hosted in the back-end application to run the local AIR application: using the underlying API, we could activate the application specifying also the network location of the back-end services. We could also rely on the badge to install the application (and the AIR runtime if necessary)… however, application packaged as native installers cannot be installed, upgraded, or launched by the badge API (and we need to package ours as native to use native processes).
    We also noticed that multiple versions of an AIR application cannot be installed side-by-side in a client machine, and that the installation and upgrade of the application can be performed only when the local user has administrative rights on the machine (using standard or native packages), forcing us to rely on external software distribution systems in some customer scenarios (introducing additional complexities in the release cycle).
    At this point, in our opinion the standard deployment strategies of Adobe AIR applications are unfit for enterprise environments. In the enterprise world, many of the applications have migrated to a completely browser-based solution, while others enhanced their client layer to comply with the requirements, for example installing only a thin portion of the client code and allowing to connect to multiple server versions/environments with it (e.g. the SAP GUI universal client). Without smarter deployment and distribution tools, AIR applications currently are a step back compared to web applications in terms of manageability.
    So, we are trying to develop a solution to address these problems, with some concepts similar to JStart: install on the client machine a launcher application capable of being activated from a web page, dynamically locate, download and run the actual client bytecode, transparently enforce client software updates, and supporting multiple applications (and multiple versions of the same application). However, we are facing many technical problems due to internal architecture of AIR and we already spent a considerable amount of effort trying to find a solution. We are now thinking to return on the choice of AIR, going back to Flex.
    What is the position of Adobe on this argument? Is Adobe aware of these issues and are there any plans on this topic? Any advice?
    Thank you in advance

    For those following along, Oliver Goldman will be answering this post in future articles on his blog.
    Many great comments and questions here. I’m working on some follow-up posts to address these; nothing I could cram into this comment field would really do your query justice. - Oliver Goldman
    Pursuit of Simplicity
    Chris

  • How can I repackage Adobe Air and updates to it in PKG format for deployment to Macs?

    We have about 200 Macs in our organization and do push deployments to them using JAMF Casper (which requires that installers be in PKG format).  I am periodically asked by our security department to apply updates to Adobe Air for security reasons.  So my question is  - how can I repackage the AIR installer and updates to PKG format so I can deploy them from Casper? 
    I've looked at Adobe Application Manager Enterprise Edition - and it doesn't even recognize the AIR installer as an Adobe installer.
    Any info you can provide would be much appreciated.
    Bob Reed
    AARP

    You might be able to do this by creating a bootstrapping application to launch the installer.  Here's some documentation on distributing AIR in enterprise environments along with a link to our distribution agreement.
    http://www.adobe.com/products/air/runtime-distribution1.html
    http://help.adobe.com/en_US/air/redist/WS485a42d56cd19641-70d979a8124ef20a34b-8000.html

  • Deploy Adobe Air Application

    Hello everybody.
    I have a question. I would like to deploy on many computers an application from Adobe Air.
    How can I deploy my adobe air application in silence ? I wanna do a batch but I don't know how can I specify to automatically choose "Install" in my batch
    And "Continue" for it
    Thanks a lot for your help

    First, you'll want to sign our distribution agreement which you can find here: http://www.adobe.com/special/products/air/runtime_distribution1.html
    The process is easy, and should only take a few minutes.  Once done, you'll receive links and documentation that will describe how to deploy AIR via the command line.
    An alternative is to create your own installer for your AIR 3 application, this could be as simple as a batch file.  You can find more details in this article:
    Installation and deployment options in Adobe AIR 3
    Chris

  • Questions about Adobe AIR and FLV license model

    I'm currently looking for a game development framework which I can use for a fan-project in my spare time and also for commercial projects for the company I'm working for.
    I think that the Citrus Engine which is open source and based on Apache Flex/Adobe AIR/Starling/Away3D/Box2d/Nate might be a good choice.
    But I'm really confused about the license model of Adobe AIR and its runtime distribution.
    Do I have to pay a license fee or royalties for my games (which include the AIR runtime in order to be stand-alone-apps) when I publish them?
    If so, how much are these license fees/royalties?
    Does this also concern free apps?
    What is the name of the license which I would have to request from Adobe in order to publish my games?
    Do I need several licenses when publishing an app on multiple AppStores (Apple/Google/Amzaon) or desktop distribution platforms (Steam/GOG)?
    Are there further licensing obstacles which I have to keep in mind when using Flex/AIR for (commercial) game development?
    By the way - the FAQ on the product page (http://www.adobe.com/products/air/faq.html) isn't really helping on this topic:
    "How much does Adobe AIR cost?" -> "The Adobe AIR runtime and AIR SDK are free for most users."
    This answer leaves me with the question: Am I belonging to the "most users" or not?
    Therefore it isn't meaningful at all.
    I'm also thinking about adding short video sequences as FLVs to the games.
    If I understood correctly H.264 and MP3 are currently used as a standard for these video files but aren't free.
    Is there a free alternative available for FLVs which can be used in combination with Adobe AIR?
    Or did I get something wrong here and don't need to worry about getting sued when using these formats?
    Thank you in advance for answering my numerous questions.

    That's true.
    I'm using a Dell Studio 1537 with 3GB of RAM and Intel Core 2 Duo and it's quick in Lr    

  • Adobe AIR Local Database Questions

    Hi All,
    I have very limited experience using Adobe AIR but it seems really cool since I'm plenty familiar with jQuery and other web technologies. We have a client interested in creating a desktop application that would rely on the local database feature of AIR. I have some questions though before I begin development.
    I understand that AIR uses SQLite correct?
    How robust is this database system? Some of the larger implementations of the AIR desktop software we're planning could have 500,000+ db records, is AIR cut out for this?
    Where can I get some info on making use of the local database?
    Here's some other non-DB related questions:
    Can we send out software updates via CD for those without an internet connection at thier location?
    Can AIR allow an application to interact with a USB device?
    Thanks for all your help!!

    Hi,
    note: I'm not expert
    #1
    yes, AIR uses SQLite (3.6.*.? now one exactly knows as it is undocumented and sqlite_version() native function will throw runtime error to be handled)
    #2
    it depends for what purpose it will be used and how, yes? e.g.:
    http://stackoverflow.com/questions/3160987/can-sqlite-handle-90-million-records
    #3
    http://www.adobe.com/devnet/air/flex/articles/air_sql_operations.html
    (User experience considerations with SQLite operations)
    http://livedocs.adobe.com/flex/3/html/help.html?content=SQL_01.html
    (docs)
    #4
    there is an option now to create native installer for platform which could be send off-line. It asks user to overwrite content if application is already installed, etc
    #5
    please define "interact" with USB? as disk or interface to talk with some device? Air itself cannot talk to low level ports but could start native process (NativeProcess) to some application/tool/process that could act as middle-tier between your application and usb:
    http://www.adobe.com/devnet/air/flex/quickstart/articles/interacting_with_native_process.h tml
    kind regards,
    Peter

  • Is there a way to deploy Adobe Air package via Group Policy or SCCM?

    Is there a way to deploy Adobe Air package via Group Policy or SCCM?

    hi,
    I guess you can try the following options
    Remove the all the entry from the TOC of your project or create a new blank TOC and select that while AIR file generation
    Remove the all the entry from the index of your project or create a new blank index and select that while AIR file generation
    Remove the all the entry from the glossary of your project or create a new blank glossary file and select that while AIR file generation
    THis will ensure that TOC/Index/Glossary page is not shown,
    There is no way to hide Favorite or RSS from the AIR Help. Again, you can try looking at the Unipane Template provided in the AIR SSL Dialog.
    Hope this helps
    -Praful Jain

  • Can Adobe Air 3.1 be deployed via Group Policy?

    I am looking for a definitive answer as to whether or not Adobe Air 3.1 can be deployed via Group Policy?  I've found material on the web that is very contradictory.  Can it be done and if so how?  I can't find any solid instructions on how to deploy this application and need to have it installed on about 60 desktops. 
    We are trying to deploy the Salesforce.com Desktop Chatter application.  Any helpful info is greatly appreciated.
    Thanks!

    Hi Kevin,
    I replied via email yesterday, but in case anyone else is following along here's what I said:
    For GPO deployment, we don't officially "support" it (ie. we don't test for it internally), however I did run across this recent post where an admin had success.
    http://www.appdeploy.com/packages/detail.asp?id=2339
    Hope this helps,
    Chris

  • AIR Deployment stability questions

    I just published an AIR app from Flash CC 2014 and I'm viewing on my Kindle Fire. There are a few things that I see which I need to address before I finish the build. Since I'm new to AIR deployment I would think someone would give me a bit of knowledge here.
    1. The app was originally developed as an IOS app with the size of 1024 x 768 pixels, I notice on the Kindle Fire
    I have a lot of whitespace on the left and right
    2. When touching the buttons I have to hit a few times for the button to work
    3. Is there a way to make the app responsive so user can pinch and expand the app stage?

    Thanks for this as I need as much info as I can get. I was thinking, since the IOS version of this is just for an IPad would it make sense to resize the stage of the app to accommodate tablets like the KindleFire?
    I was going to do an IPhone version but I ran into the same problem as the buttons are way to small.
    I came a cross a chart of various Android tablet and phone sizes so another question would be if I can make the stage on app responsive so it can expand or retract with a user touch. Is this possible? As I see the scale option in the document properties of Flash but its greed out. So if I dont target small smartphones should I do one size for Android tablets?
    Can I have the stage be responsive?
    R

  • A questions of the newbie in the adobe air.

    Hello everybody!
    I'm trying to learn the "air" again. My first trying was at the time when air had been with very very bad support of linux systems. And questions.
      First of all. I know here is a custom build of the flash player 10 for a 64bit versions of linux, why did not do something like it with air ? What the reason to not build a 64 bit version of it ? even java and mono has a 64bit versions. Heh, guys, nobody uses i386 distros on their desktops k.
    A second question. I would to program javascript with using prototype.js framework, and have found that there some functions does not work properly.
    exactly class constructor and some array functions which does not want to work with arrays of the objects. It's a good idea to develop air applications with prototype.js ? I just love this framework, but as i see here is some problems, and i'm afraid that it will entirely not working in a next versions of the adobe air. Have i choose something else insted of the prototype.js and which one ?
    Thanks.

    Hi,
    1. Apologies for the inconvenience caused due to the non-availability of AIR for 64-bit platforms. Till we finally ship the native 64-bit release of Adobe AIR, you may please try the following:
    For AIR 1.5 -  http://kb2.adobe.com/cps/408/kb408084.html
    For AIR 2.0 Beta - http://kb2.adobe.com/cps/521/cpsid_52132.html
    2. Can you please provide us a small sample AIR application that makes use of prototype.js and does not work? We can try to investigate the issue. Does the same application work in a browser (if you don't use any AIR objects in the Javascript)?
    Thanks,
    -romil

Maybe you are looking for

  • Additional Plugins folder PS CC - make a shortcut to your location

    A great start, i have used PS CS5 Extended for years and got the PS CC version last night, despite following the tutorials on Adobe all say to add additional folder as before, that is not an option in PS CC Preferences under edit - to be honest i tho

  • How can i put image in a button?

    I need to put an image ( .bmp ) in a button, but i don't know how. I need it because in web forms the icons ( files .ico) no show. How can i solve this problem? Thanks!!

  • VRO files

    I have, on a DVD-r, the files from a Hitachi camcorder(not my camera)DVDRam. I have Ilife 06. The problem is with the VRO files. Imovie will not import them. Quicktime will not play them on my Mac but yet on my PC I can play the file(not the best qua

  • Search Option in OBIEE

    Hi experts, I have requirement. I need to display the Column name of tables in my first prompt. Based on selected column data will display in the report. But data is very large volum. So i want to have an serach box in report. So that user can type s

  • How do I make a purchase after establishing a wishlist?

    How do I make a purchase after establishing a wishlist?