AIR app as Windows Service

Hi!
I have one question.
Is it possible to create AIR application which will work like
Windows Service (start and stop by request from other
application)?

I'm not sure if this will work, or even why you'd want to do
it...
but there is a program in the Windows server resource kit
called SRVANY.EXE
which allows a normal exe to operate as a service
See
http://support.microsoft.com/kb/137890

Similar Messages

  • Run Adobe AIR app as Windows Service

    I have an app which monitors an RSS feed. Upon an emergency,
    the RSS feed is updated. The app detects the change and launches
    (from the taskbar/dock) full screen, plays an alarm sound and
    displays the message.
    Is it possible to run this app as a service (I know that
    there are several software options to enable this) - my question is
    directed towards launching the full screen warning. Can I utilize
    the windowing API before a user logs in if the app runs as a
    service?
    I have tested this using a couple of those software options
    with no success.
    Does anyone else have any ideas or answers?

    John, did you ever find a solution for running an Adobe AIR app as a Windows Service?

  • How to run Adobe Air App as Windows Service

    I am working on Adobe Air application. Everything about coding and configuration have been good so far but I have some major road blocks down the road:
    1. Schedule my application to run at certain time.
    2. Run the application in the System Tray like a Daemon app
    Does Adobe support for configuring the application to run in System Tray like a Gmail notifier app now? If it does, is it possible for me to have it configure for both Windows and Mac systems?
    If anyone has any pointers or tips, please feel free to let me know. Thanks in advance.

    Last night I got some time to try out your example from "Working with the dock and the system tray"
    It is really impressive to see how easy you can animate the icon on the taskbar, but it doesn't particularly achieve my goal to have a cross-platform taskbar app running.
    I tried to work with Java yesterday and got their Taskbar module working on both platforms. It solves the basic issue. But then I realize Java is missing the Webkits Adobe Air is offering. So I need two Apps in order to achieve the goal to re-use my web app on the desktop. Now I am considering to learn more about the extend feature you mentioned to let the Java application works like a remote control for the Air application's instances.
    So here are some of my current concerns: is it possible to be able to have input from java app into air application's elements? Does Adobe's intergrated runtime support incorporating Java as part of the app like it does with SWF and javascript? Or is there any bridge I can use to have the two applications communicate with one another?

  • Running an AIR app as a service.

    Hi, I'm trying to use the ServerSocket class in AIR to make a server of some sort.  The problem is that I cannot get it to run as a windows service.  I used "sc create" to create the service.  I don't call nativeWindow.activate, so there shouldn't be a UI.  The service is set to log on as my user.  But when I try to run it, I get "Error 1053: The service did not respond to the start or control request in a timely fashion".
    How can I get it to run as a service?
    Thanks,
    Sean

    Hi Sean,
    Unfortunately, I don't have an answer to this question, but I'm hoping others in the community can help out.  Running AIR as a service has been a popular request, but not something we officially support at this time.  There have been a couple of feature requests made for this that I'd encourage you and others interested to go vote on:
    Run AIR app as a service on a server machine without user logon on the machine
    Register and run as Services on OS
    Googling "Error 1053: The service did not respond to the start or control request in a timely fashion" returns quite a few hits, with responses ranging from increasing time out lengths, changing logon account types, and many other service property tweaks.
    Please let us know if your able to get this to work and hopefully others can contribute their experiences as well.
    Chris

  • Telstra Air App For Windows 8.1 Phone

    When will Telstra be providing an Air App for WIndows 8.1 phone?

    I, for one, support this request - especially with the universal app situation and the developer tools available to help convert iOS and Android code to Windows, there really shouldn't be much blocking this app being released. By all means say you're not going to write a Windows Phone 8.1 app from scratch, but how about a Windows 10 Mobile universal app? This would run not only on phones, but also 3G/4G enabled Windows tablets. If your developers are not aware of these tools, please get them to take a look at developer.windows.com to be enlightened! Here's a link to the actual iOS and Android 'bridges' that can help migrate an app easily: https://developer.windows.com/en-us/uwp-bridges

  • Problem starting AIR app from windows server 2003

    Hello,
    I have an AIR app that I am trying to run using a c#
    webservice under Win 2003.
    I am starting the application process (air .exe file) as the
    "Network Service" user which has full-rights on the app-folder and
    app-working folder. The problem is that once with the applications
    the "Adobe AIR Updater.exe" process is starting to (using the same
    user N.S.) and both of the processes stop responding.
    I have tried to start the process as "Local Service" with
    "Desktop Interaction" too but unfortunately with no result.
    I must tell you that under XP and Vista it runs perfect...
    Is there any security issue related to win 2003 or any way i
    can start an air app from command line.
    Also i am interested why "Adobe Air Updater.exe" is starting
    ?

    Not sure about  copying eulaAccepted file from one location to another - that would really depend on which user account your service is running under.
    A better approach (IMHO), is to open the services window (My Computer | <right-click> | Manage, then navigate to Services and expand the tree) so you can see your service on the RHS.
    Stop your service, then inspect it's properties, select the 'Log on' tab, then check the checkbox which says "Allow system to interact with desktop". Apply the change, then restart your service.
    next time the AIR runtime prompts you to accept the EULA, the window will appear on the screen, so you can click "I accept".
    After accepting, reverse the procedure which allowed the service to interact with the desktop, and make sure that you have modified the registry to prevent AIR from updating as mentioned in:
    http://help.adobe.com/en_US/AIR/1.5/air_admin/WS5b3ccc516d4fbf351e63e3 d11c0f59823a-7ff0.html
    You should be all set.

  • Problem running AIR app on windows server 2003

    Hello,
    I have an AIR app that I am trying to run from a Java program under Windows 2003. (It runs perfect on XP and Vista.)
    The problem is whenever I try to run the AIR app, it runs "Adobe AIR Updater.exe" which causes the app to not run. And both the process stop responding. I can see them both in Task Manager. I disabled the AIR automatic updates using the Settings Manager application but it still runs the Adobe AIR Updater.exe file.
    Any help to resolve this problem would be highly appreciated.

    Not sure about  copying eulaAccepted file from one location to another - that would really depend on which user account your service is running under.
    A better approach (IMHO), is to open the services window (My Computer | <right-click> | Manage, then navigate to Services and expand the tree) so you can see your service on the RHS.
    Stop your service, then inspect it's properties, select the 'Log on' tab, then check the checkbox which says "Allow system to interact with desktop". Apply the change, then restart your service.
    next time the AIR runtime prompts you to accept the EULA, the window will appear on the screen, so you can click "I accept".
    After accepting, reverse the procedure which allowed the service to interact with the desktop, and make sure that you have modified the registry to prevent AIR from updating as mentioned in:
    http://help.adobe.com/en_US/AIR/1.5/air_admin/WS5b3ccc516d4fbf351e63e3 d11c0f59823a-7ff0.html
    You should be all set.

  • Admin rights to install AIR apps on Windows?

    Hi
    I have the  AIR framework 1.5 already installed on a Windows XP PC.
    After this, are admin/power-user rights required to install AIR apps on the same machine to the "My Documents" folder? I would assume NO. Pls clarify.
    If admin rights are required, are there ways to disable certain install features (Add/Remove control panel entry etc) to remove this admin requirement?
    Thanks in advance

    You must have the correct permissions to install anything.  This includes AIR applications.

  • Cant install ANY air apps on windows

    im developing soft for a client and it wont install on his machine! his machine wont install ANY air apps! ive tried unstalling and reinstalling both flash and air with no success, also tried deleting the temp folder and still does not work! its a windows xp pc and here is the app install log
    Starting app install of file:///C:/Documents%20and%20Settings/gregory%20pierce/My%20Documents/Downloads/ezNotes(2 ).air
    UI SWF load is complete
    UI initialized
    Unpackaging to C:\TMP\flaA0.tmp
    failed while unpackaging: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="invalid package signature" errorID=5022]
    starting cleanup of temporary files
    application installer exiting

    oh and heres the air install log
    Performing runtime install
    UI SWF load is complete
    UI initialized
    starting user confirmation
    Version of this installer: 1.5.2.8870
    Installation type: new
    starting install
    Scheduling runtime installation operations
    uninstall scheduled for 1.0.4, 1.0.6, 1.0.5
    Installed Product GUID:  is same:false
    Beginning runtime installation
    Beginning install
    Installing c:\tmp\airad.tmp\setup.msi
    Copying C:\TMP\AIRAD.tmp\Adobe AIR\Versions\1.0\Resources\airappinstaller.exe to C:\Documents and Settings\Default User\Application Data\Macromedia\Flash Player\www.macromedia.com\bin\airappinstaller\airappinstaller.exe
    Copying C:\TMP\AIRAD.tmp\Adobe AIR\Versions\1.0\Resources\digest.s to C:\Documents and Settings\Default User\Application Data\Macromedia\Flash Player\www.macromedia.com\bin\airappinstaller\digest.s
    Execution complete; beginning commit phase
    Commit complete
    install complete
    begin quitting

  • Screen recording of AIR app on Windows desktop

    I have developed an Adobe AIR application for windows desktop that runs at 60fps, full HD (classic display list, not Starling). I would like to record this app being used for promotional purposes, and have tried Camtasia and Action! Recorder (with software encoders), but neither of these achieve the required frame rate.
    My PC configuration is:
    i7-3930K @ 3.20GHz
    32GB RAM
    Windows 7 Pro 64-bit
    2 x NVidia GT 440 graphics cards
    500GB SSD
    If I upgrade my Nvidia graphics card to one of the newer models, such as a Geforce GTX 970, I can make use of the NVENC technology that provides hardware video encoding of DirectX or the Windows desktop. Action! Recorder apparently supports the NVENC technology on the Nvidia cards, to provide improved video recording.
    Does anyone have any experience of using NVENC to record Adobe AIR desktop applications that use classic display list, rather than Starling, and can I expect to record a decent frame rate?

    Anyone?

  • Converting Console App to Windows Service

    I'm trying to convert a Console Application to a Windows Service, so I move the code from the Main procedure (in the Console App) to the OnStart event (in the Service).  I set the account property to LocalSystem, put in the correct command line parameters and change the Startup object to the Service (instead of the main).  I compile, install and start the service.  I write to the event log to confirm the service is working properly.  When I click the Test Connection button in SM59 I get the error that the program isn't registered.  When I do this from the Console App everything work fine.
    Any thoughts?
    Thanks,

    Another important point it the command line: You should know that services have two command lines: One written in the registry and passed to the Main function (that is usually hidden in the framework). The other is the one passed to OnStart(). This one is really unusual: You have to type these parameters in the manual start dialog of the Services MMC. So you better don't use is and take your paramters from somewhere else.

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

  • Adobe Air apps in Windows 10 app store

    Do the changes coming in the Window 10 app store provide any hope for air applications making there way in?

    Hi Juan Pablo,
    I was able to reproduce the problem, but, the behavior is the same regardless of whether the app runs on Windows 8.1 or Windows 10. It's not that the problem only happens with the Windows 10 version of the app, since I see the same pixilation behavior on
    both versions of the app.
    Are you seeing a different behavior - meaning that the app renders the circle smoothly during transitioning on Windows 8.1, but pixelates on Windows 10?
    Thanks,
    Prashant
    Windows Store Developer Solutions, follow us on Twitter:
    @WSDevSol|| Want more solutions? See our blog

  • Excel Automation with Interop - Windows Service - Microsoft Excel cannot access the file

    I have a windows console application, which automates Excel. In our scenario the application gets called from a Windows Service. If the console app is executed directly everything works fine. If the console app is executed through the Win Service, we get
    the following error when trying to open the excel file:
    Unhandled exception Occured : 'Microsoft Excel cannot access the file 'bla.xls'. There are several possible reasons:
    The file name or path does not exist.
    The file is being used by another program.
    The workbook you are trying to save has the same name as a currently open workbook.'.'
    The code snippet used to open the file:
    xlApp = new Application();xlApp.Visible = false;xlApp.UserControl = false;xlApp.Application.ScreenUpdating = false;xlApp.DisplayAlerts = false;xlWorkbook = xlApp.Workbooks.Open( Filename: filePath,  UpdateLinks: 2,  IgnoreReadOnlyRecommended: true, Editable: false);
    The console app and windows service are running on a Win Server 2008 64-bit OS with Excel 2013 32-bit installed. The service is running with a special user account, which has all the right permissions on accessed files and folders. The excel process is also
    started with the same account (I cheched that one). 
    I already tried to do the following, but to no avail:
    Run excel.exe /automation -> worked fine
    Created the folders and also gave full control to the account under which the service is run (even gave full control to Everyone)
    C:\Windows\SysWOW64\config\systemprofile\Desktop
    C:\Windows\System32\config\systemprofile\Desktop
    Configured DCOM
    Excel Application -> Identity -> Specific user account
    Excel Application -> Identity -> Interactive User
    Excel Application -> Security -> Launch permissions -> Everyone full control
    Several combinations of the above
    So I really am stuck with this problem right now. Any input on this is appreciated.

    I have a windows console application, which automates Excel. In our scenario the application gets called from a Windows Service. If the console app is executed directly everything works fine. If the console app is executed through the Win Service, we get
    the following error when trying to open the excel file
    Microsoft does not currently recommend, and does not support, Automation of Microsoft Office applications from any unattended, non-interactive client application or component (including ASP, ASP.NET, DCOM, and NT Services), because Office
    may exhibit unstable behavior and/or deadlock when Office is run in this environment.
    If you are building a solution that runs in a server-side context, you should try to use components that have been made safe for unattended execution. Or, you should try to find alternatives that allow at least part of the code to run client-side.
    If you use an Office application from a server-side solution, the application will lack many of the necessary capabilities to run successfully. Additionally, you will be taking risks with the stability of your overall solution.
    You can read more about that in the
    Considerations for server-side Automation of Office article.

  • Creating an air app as a native library

    Is there a way to build a swf with adobe air that will create a native library(.a,.so,dll, etc) so that I can load it from inside another application?

    Hi Sean,
    Unfortunately, I don't have an answer to this question, but I'm hoping others in the community can help out.  Running AIR as a service has been a popular request, but not something we officially support at this time.  There have been a couple of feature requests made for this that I'd encourage you and others interested to go vote on:
    Run AIR app as a service on a server machine without user logon on the machine
    Register and run as Services on OS
    Googling "Error 1053: The service did not respond to the start or control request in a timely fashion" returns quite a few hits, with responses ranging from increasing time out lengths, changing logon account types, and many other service property tweaks.
    Please let us know if your able to get this to work and hopefully others can contribute their experiences as well.
    Chris

Maybe you are looking for