Automatic startup of AIR application on Windows startup

Does AIR provide any mechanism to make my AIR application
startup automatically when Windows starts up?

Yes. See this topic in the AIR documentation:
For Flex developers:
http://help.adobe.com/en_US/AIR/1.5/devappsflex/WS5b3ccc516d4fbf351e63e3d118676a5d46-8000. html#WS5b3ccc516d4fbf351e63e3d118666ade46-7cd5
For Flash developers:
http://help.adobe.com/en_US/AIR/1.5/devappsflash/WS5b3ccc516d4fbf351e63e3d118676a5d46-8000 .html#WS5b3ccc516d4fbf351e63e3d118666ade46-7cd5
For HTML developers:
http://help.adobe.com/en_US/AIR/1.5/devappshtml/WS5b3ccc516d4fbf351e63e3d118676a5d46-8000. html#WS5b3ccc516d4fbf351e63e3d118666ade46-7cd5

Similar Messages

  • Incorrect functionality of Embedded tag in html page, displaying object on top of all layers of Adobe air application native window

    Title
    Incorrect functionality of embed tag in html loader for adobe air development
    Description
    Problem Description: If we had loaded youtube.com video url in a view stack and navigate to other index of stack or away from we UI screen within the same native window video or embeded tag of flash player or any other embed object will be displayed on top of all screens layer in same position of where the object should be placed in side of html loader only.
    Steps to Reproduce:
    1) go to http://get.straweb.com/StraWebBrowser/StraWebBrowser.air download and install
    2) load 2 tabs and in the 3 tab load video player of youtube.com which will a sample video
    before completing the load of 3 tab which trying to load video from youtube.com, navigate to other tabs 1 or 2 in few second once the flash player of youtube.com video player is load it will display in the current tab or UI screen.
    3) Try navigating to other tabs than youtube.com loaded tab you see the flash player is on top it stable.
    4) navigate to 3 tab and try to navigate to other tab you can observe that so how it will not show that flash player and only visible in that 3 tab which is fine.
    Actual Result: Embedded tag of html page displaying on top of all layers of Adobe air application native window
    Expected Result: Embedded tag of html page should only displayed in side htmlloader
    This you can replicate in any adobe air plugin update and on any Hardware and Environment.
    Applicable to all sdk versions of adobe air.

    Adobe Bugbase: Bug 3823839 Incorrect functionality of embed tag in html loader for adobe air development

  • AIR application on Windows Server 2003

    Hi!
    We have developed an AIR application.
    It is installed on Windows Server 2003.
    It communicates with blazeds server application on other machine.
    But communication does not pass through to this server.
    Everything works fine on Windows XP.
    So we suspect on Windows Server 2003 security settings.
    How can Win Server 2003 be configured so that communication succeeds?
    (amfsecure, https web service).
    Thanks!

    Joe,
           If your application is running in Windows than it is not running in true realtime and you cannot make it a real-time startup executable.  In LabVIEW 8.0 and later you can create a debuggable executable, with which you can see the block diagram of an executable.  This Knowledge Base Article talks about how to automatically launch a VI at startup, which sounds like what you are looking for.  Here is a link to the Real Time Module for LabVIEW.
    Cheers,
    NathanT

  • Open air application by window hotkeys

    Hi
    I am developing flex air application.I have to implement hot-key functionality in air application.
    For example whenever user press any two keys like ctr and S keys the open flex air application. and whenever user press any two keys like ctr and q keys then close flex air application.
    Is it possible in flex?
    Thanks

    Of course you can! Check the Keyboard's events:
    http://livedocs.adobe.com/flex/3/html/help.html?content=Capturing_User_Input_3.html

  • Can't update AIR application on Windows XP service pack 3

    We've run into another AIR update issue with our AIR 2.0.4 sidecar product.
    Our application uses the standard ApplicationUpdater.checkNow() method to look for and download updates. Just such an update was issued recently, and one of our team members has reported an issue attempting to download the new update on a Windows XP service pack 3 machine.
    They are getting an Error 16818.
    Thanks for any insight.

    Hi,
    Error 16818 is "IO error while saving data to disk".  Is there any way we could get the installer log from this machine?  It might give us additional clues.
    Thanks,
    Chris

  • AIR application installation error (Windows)

    Hi,
    We’ve bumped into troubles while developing AIR
    application. The problem is in installation AIR application under
    Windows by a user without administrator privileges. When installing
    application user selects installation folder he has permission to
    write to. And after installation begins it ends with error #0: Some
    error occurred...
    In the installation troubleshooting it is written that
    installation of AIR application *may* require administrator
    privileges when installing to a location user has no rights to
    write to but we do.
    Is there any way to install AIR application by an
    unprivileged user?

    My understanding is you can do elevated installation on
    Vista, but not on XP.
    -ted

  • Testing adobe air applications with fake apple certificate in iOS simulator running in a hackintosh

    I can compile an Adobe Air application on windows with a fake apple certificate. Can I test this application in iOS Simulator running on a hackintosh? Or is the simulator blocking testing of IPA outside from XCode ie: it's not a standalone simulator for IPA files. Are there any affordable web service for testing IPA with a true emulator or real device? I'm asking this because Flash Builder doesn't provide a true simulator, it lacks essential API functions such as NativeWindow.

    Hello,
    thanksk so far. I can now create an ANE, hopefully it is correct...
    Now, while trying to use it in my mobile application, calling the Constructor of my SWC interface > call initNativeExtension() I get an:
    Type Error #1009 cannot access a property or method of a null object reference
    It seems that my code cannot load the ANE because I cannot instatiate the extension object.
    Can you help me ?
    THX
    marco    

  • Installing a LARGE AIR application

    Hello,
    I am attempting to create an installer for Windows that installs the AIR runtime, our application, and all the content required such that any user can log in and use the application. Our application is an educational tool for autistic children, and will be installed in lab environments in schools.
    Our AIR application by itself is not large - about 5MB. However, it relies upon about 600MB of external assets. These include various forms of media: images, audio clips, SWFs etc. If I try to bundle all of this into a single AIR file using FlashBuilder 4, FlashBuilder dies due to lack of memory to the JVM. I have tried to increase memory to the JVM, but even given the maximum it still does not work. I then attempted to package and sign the AIR file using the command line tools. That appears to work, however that operation results in a bloated AIR file that is over 1GB in size, almost double the size of the content packaged into it. If I attempt to use the sidecar installer provided by Adobe to install this AIR file the installer dies. Further investigation shows that others have hit this same size limitation with AIR files, but there is no resolution in site to this problem.
    Since it seemed impossible to package the entire application into a single AIR file my next attempt was to keep the content separate from the AIR application. I have experimented with Installshield, but have found no way to chain together the sidecar installer MSI with another MSI that installs the content to the same location. I could install the AIR application, and then let the application itself finish the installation by copying the content to app-storage://, but then the application is only usable by the user who installed it. In a lab environment in a school this doesn't work, because typically the person who is installing the application is an administrator, not the end user. app-storage:// resides under a user's directory, not in a shared location. The application is unable to copy files to the app:// location due to the security model of AIR.
    I know that I can do a silent install from the command line using the sidecar installer, but I haven't found a way to chain this together with another MSI that installs the content. It could be that I am too limited by what Installshield Express offers. I am now attempting to use NSIS.
    Any advice anyone may have on how to do this is very appreciated. Surely others have needed to install large media rich AIR applications on Windows. AIR is a great platform for us in many respects, but I must be able to create an easy seamless install process for end users. Our product will be going into use over the next 6 months by over 1000 users, and that number will grow quickly. I would be willing to pay for a support incident from Adobe if that is warranted.
    Thanks
    Kevin MacDonald

    After much gnashing of teeth I I came up with what appears to be a workable solution. I am posting my solution here for the benefit of others. I was able to use NSIS to create an installer that first installs my AIR application via Adobe silent install feature (http://help.adobe.com/en_US/AIR/1.5/air_runtime_redist/air_runtime_redist.pdf), and then proceeds to install the content in the same folder. The end result is an application that should work for all users and is a reasonably seamless installation experience . The only downside is that you wind up with a total of 3 new items in the Programs & Features control panel: one for Adobe AIR, one for the NSIS installer, and one for the AIR application. The uninstaller only removes the NSIS installer, but that zaps all the content off the disk so it's not terrible. Another little gotcha is that the install folder in this script needs to match the folder in the descriptor file of the AIR application, because everything needs to wind up in the same folder.
    This also assumes you have permission from Adobe to redistribute the AIR runtime.
    My NSIS script is below.
    ; Script generated by the HM NIS Edit Script Wizard.
    ; HM NIS Edit Wizard helper defines
    !define PRODUCT_NAME "My Product Install Kit"
    !define PRODUCT_VERSION "2.0"
    !define PRODUCT_PUBLISHER "mycompany"
    !define PRODUCT_WEB_SITE "http://www.mycompany.com"
    !define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\Adobe AIR Application Installer.exe"
    !define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
    !define PRODUCT_UNINST_ROOT_KEY "HKLM"
    ; MUI 1.67 compatible ------
    !include "MUI.nsh"
    ; MUI Settings
    !define MUI_ABORTWARNING
    !define MUI_ICON "..\..\..\..\..\__staging\InstallerResources\TT.ico"
    !define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"
    ; Welcome page
    ; License page
    !insertmacro MUI_PAGE_LICENSE "..\..\..\..\..\__staging\InstallerResources\License.txt"
    ; Directory page
    !insertmacro MUI_PAGE_DIRECTORY
    ; Instfiles page
    !insertmacro MUI_PAGE_INSTFILES
    ; Finish page
    ; NOTE: This provides an option to run the AIR application. This depends upon the Client.air file creating this executable. It doesn't get created by this installer.
    ;       Also, The directory 'My Product 2.0' shown anywhere in this script must match the installation directory created by Client.air or nothing will be in the right spot.
    !define MUI_FINISHPAGE_RUN "$INSTDIR\My Product 2.0\My Product 2.0.exe"
    !insertmacro MUI_PAGE_FINISH
    ; Uninstaller pages
    !insertmacro MUI_UNPAGE_INSTFILES
    ; Language files
    !insertmacro MUI_LANGUAGE "English"
    ; MUI end ------
    Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
    OutFile "Setup.exe"
    InstallDir "$PROGRAMFILES\mycompany"
    InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
    ShowInstDetails show
    ShowUnInstDetails show
    var removePreviousInstall
    Section "MainSection" SEC01
      StrCpy $removePreviousInstall "A previously installed version of My Product 2.0 has been detected at $INSTDIR\My Product 2.0 that must be un-installed before proceeding. Please go to Control Panel --> Programs and Features and fully un-install any mycompany components. Also, make sure that this folder is deleted. Then, you may attempt to re-install. The installer will quit now."
      SetOutPath "$APPDATA\mycompanyAIRInstaller"
      SetOverwrite try
      File /r "..\..\..\..\..\__staging\mycompanyAIRInstaller\*.*"
      ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe AIR" "DisplayVersion"
      IfErrors installAIRRuntime
      Goto installAIRFile
      installAIRRuntime:
      MessageBox MB_OK "NOTE: The Adobe AIR Runtime will now be installed. Please accept the AIR license agreement in the following dialog and allow the installation to complete."
      ExecWait '"$APPDATA\mycompanyAIRInstaller\AdobeAIRInstaller.exe"' $0
      ${If} $0 != '0'
        MessageBox MB_OK|MB_ICONSTOP 'Adobe AIR Installer returned error code ("$0"). Adobe AIR must be installed for this installation to complete.'
        Quit
      ${EndIf}
      installAIRFile:
      ;Check for existence of a previous installation
      IfFileExists "$INSTDIR\My Product 2.0" ExistingInstallDetected NoExistingInstallDetected
      ExistingInstallDetected:
         MessageBox MB_OK $removePreviousInstall
         Quit
      NoExistingInstallDetected:
    ;  MessageBox MB_OK "Installing Adobe AIR Runtime and Application via silent installation"
      ExecWait '"$APPDATA\mycompanyAIRInstaller\Adobe AIR\Versions\1.0\Adobe AIR Application Installer.exe" -silent -eulaAccepted -location "$INSTDIR" -desktopShortcut -programMenu "$APPDATA\mycompanyAIRInstaller\Client.air"' $0
      ${Switch} $0
      ${Case} '0'
        ${Break}
      ${Case} '1'
        MessageBox MB_OK 'A restart is required to complete this installation'
        ${Break}
      ${Case} '3'
        MessageBox MB_OK 'The Adobe AIR runtime was not found. Please try fulling un-installing any intalled components and attempt to re-install.'
        ${Break}
      ${Case} '4'
        MessageBox MB_OK 'Failed to load the Adobe AIR runtime. Please try fulling un-installing any intalled components and attempt to re-install.'
        ${Break}
      ${Case} '7'
      ${Case} '9'
        MessageBox MB_OK $removePreviousInstall
        Quit
        ${Break}
      ${Default}
        MessageBox MB_OK 'Unknown error ("$0") installing the Adobe AIR runtime. Please try fully un-installing any installed components and attempt to re-install.'
        ${Break}
      ${EndSwitch}
      SetOutPath "$INSTDIR\My Product 2.0\assets\abagale"
      File /r "..\..\..\..\..\__staging\Client_abagale\*.*"
    SectionEnd
    Section -AdditionalIcons
      SetOutPath $INSTDIR
    ;  WriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}"
      CreateShortCut "$SMPROGRAMS\mycompany\Uninstall My Product 2.0.lnk" "$INSTDIR\Uninstall My Product 2.0.exe"
    SectionEnd
    Section -Post
      WriteUninstaller "$INSTDIR\Uninstall My Product 2.0.exe"
      WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$APPDATA\Adobe AIR\Versions\1.0\Adobe AIR Application Installer.exe"
      WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
      WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"
      WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$APPDATA\Adobe AIR\Versions\1.0\Adobe AIR Application Installer.exe"
      WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
      WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
      WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
    SectionEnd
    Function un.onUninstSuccess
      HideWindow
      MessageBox MB_ICONINFORMATION|MB_OK "My Product 2.0 Install Kit was successfully removed from your computer."
    FunctionEnd
    Function un.onInit
      MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Are you sure you want to completely remove My Product 2.0?" IDYES +2
      Abort
    FunctionEnd
    Section Uninstall
      RMDir /r "$INSTDIR\My Product 2.0\*.*"
      RMDir /r "$APPDATA\mycompanyAIRInstaller\*.*"
      ;Deletes the link put there by the AIR app installer.
      Delete "$SMPROGRAMS\mycompany\My Product 2.0.lnk"
      DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
      DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
      SetAutoClose true
    SectionEnd

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

  • 9iAS R2 Automatic Startup at Boot time on Windows

    How to successfully start the 9iAS R2 Application Server at boot time.
    Many of you are still struggling with the problem of 9iAS R2 not automatically starting up properly when your system is restarted. I've been fighting this issue for several weeks and have found the problems, and pitfalls, involved with fixing it. It really is a race condition of things trying to start up before something it depends on is fully functioning, or some application starting out of sequence.
    There is a bug associated with this problem; BUG 2511270 ( 9IASV2 Need Ability to Restart All Components in Instance After a Reboot). The bug report itself has very little useful information in it other than to say it doesn't work, and manually starting the components is the only known fix. If you're like me. this isn't a good enough answer.
    Your mileage may vary.
    My configuration has a 9.2.0.1 customer database, and a 9.0.1.3.1 infrastructure database that is also the application server database, including portals, all installed on the same system which is a Pentium 4, Windows 2000 machine, with 1.5GB of memory. I only use a single LISTENER, which runs out of the 9.2 DB ORACLE_HOME.
    Chapter 5 (Starting and Stopping the Application Server) of the Oracle9i Application Server Administrator's Guide shows all of the commands necessary, in the proper order, to manually start the infrastructure and application server. Unfortunately, there is also some incorrect information in this document.
    Part 1c in the section Starting an Infrastructure Using Commands on Windows, using SQLPlus to connect to and start the database, does not work unless oracle.exe is already running (which means that you recently shutdown the database by command, not with "services>stop"). If your system is rebooting, oracle.exe is not running. This exact same information is documented in the Database Administrators Guide, Chapter 4, Starting a Database. If you don't have these manuals handy the offending commands are as follows:
    ORACLE_HOME\bin\sqlplus /nologsql> connect sys/password_for_sys as sysdba
    sql> startup
    sql> quit
    Since we can't put some variant of the above in a command script to manually start the databases and wait for it to open, the only option left is to let the databases come up in "automatic" mode when the system boots, and run the remaining commands when they are open. If your system is like mine, that can take several minutes, even after you've logged on and gotten your first cup of coffee.
    If you set up a command script to run at startup, you don't have any control over when the script gets run, more than likely, in this case, before the databases are open. Unfortunately, Microsoft does not have anything resembling a sleep (timer, wait, delay, etc) command that can be used in a script. There may be something somewhere, but I can't find it. So I wrote one in Perl, which does have a sleep command. You can use anything you have available to you that will function as needed. We obtained our Perl distribution from http://aspn.activestate.com/ASPN/Perl.
    The next issue has to do with starting the Oracle Internet Directory. The documentation shows two commands to execute, but in reality, only the first one is required, it automatically takes care of the second one. Refer to the command file below for the correct one.
    The last issue deals with running the dcmctl commands. If you run these commands one at a time in a command window, you won't notice anything askew. If you run them, as shown, in a script, they will stop execution of the script when they complete, and there will be no indication that anything wrong has happened. The CMD.exe still exists, it just isn't running. They must be run in there own cmd command as shown below.
    Now, let's review the steps necessary to get all this to work.
    Put the two scripts shown below in there target directories and edit any necessary changes for your system.
    In Start>Settings>Control Panel>Administrative Tools>Services set the OracleServiceSID's and the OracleOraHomeTNSListener to Automatic Startup Type. All other Oracle* services should be set to Manual.
    In Start>Programs>Accessories>System Tools>Scheduled Tasks double click on the Add Scheduled Task item,
    select Next,
    Browse to where your startup script resides,
    double click the file name,
    select "When my computer starts",
    select Next,
    Enter a user name and password (that has ORA_DBA privileges)
    select Next, then Finish.
    Uncomment the first exit in the iasStartup.cmd script.
    Reboot your system.
    Compare the database open time stamp in each database alert log to the time recorded in the iasStartup.log file to determine you first time delay. Add 10-20 seconds or more to this difference just to be safe. If you add services at a later time, this number may need to be increased.
    Edit the iasStartup.cmd file to include this time delay for the first sleep command and comment out the first exit command.
    Reboot your system.
    After several minutes, all infrastructure and application server processes should be up and running. You can check this in several ways; Look at the log file to see if all commands were run, Look at the Windows Task Manager to see if all expected tasks are running, Look at Services to see what is running. Finally, you can look at the Infrastructure Enterprise Manager Website and click on each instance to determine the current status of each system component. On mine, the component Portal:portal:7779 always shows as down but in reality it is functioning.
    The following command script only starts the minimum set of processes that I require. Your requirements may be different so refer to the documentation for additional commands.
    Enjoy.
    ******** iasStartup.cmd ********
    REM # iasStartup.cmd
    REM # Command script to start the infrastructure and application server at system boot
    REM # Mike Bukaty
    REM # Sandia National Laboratories
    REM # [email protected]
    REM # set default directory that contains the log and sleep.pl files.
    cd E:\Oracle\admin
    echo Starting iasStartup.cmd > iasStartup.log
    time /t >> iasStartup.log
    REM # Uncomment the following command to determine the time delay for your system
    REM # exit
    REM # This delay is determined by looking at the times from the alert logs
    REM # for when the database was opened and the time recorded above.
    REM # SLEEP is a perl script to do just that (in seconds) since Windows doesn't have one.
    sleep.pl -delay=120
    time /t >> iasStartup.log
    REM #Start the infrastructure first
    REM #The SID for the infrastructure must be set
    set ORACLE_HOME=E:\Oracle\as9inf
    set ORACLE_SID=iasdb
    echo Starting as9inf oidmon >> iasStartup.log
    %ORACLE_HOME%\bin\oidmon start
    echo Starting as9inf EMWebsite >> iasStartup.log
    net start Oracleas9infEMWebsite
    REM # Have to wait for all of the website process to finish
    sleep.pl -delay=40
    REM # All calls to dcmctl must be in there own CMD environment,
    REM # or they will halt this one when they complete
    echo Starting as9inf dcmctl ohs >> iasStartup.log
    cmd /c %ORACLE_HOME%\dcm\bin\dcmctl start -ct ohs
    sleep.pl -delay=5
    echo Starting as9inf dcmctl OC4J_DAS >> iasStartup.log
    cmd /c %ORACLE_HOME%\dcm\bin\dcmctl start -co OC4J_DAS
    REM # Start the application server
    set ORACLE_HOME=E:\Oracle\ora9ias
    echo Starting ora9ias webcachectl >> iasStartup.log
    %ORACLE_HOME%\bin\webcachectl start >> iasStartup.log
    echo Starting ora9ias dcmctl ohs >> iasStartup.log
    cmd /c %ORACLE_HOME%\dcm\bin\dcmctl start -ct ohs
    sleep.pl -delay=10
    echo Starting ora9ias dcmctl OC4J >> iasStartup.log
    cmd /c %ORACLE_HOME%\dcm\bin\dcmctl start -ct OC4J
    REM # The above command starts all existing OC4J processes.
    REM # You can now stop any that aren't necessary.
    echo Stopping ora9ias dcmctl OC4J_Demos >> iasStartup.log
    cmd /c %ORACLE_HOME%\dcm\bin\dcmctl stop -co OC4J_Demos
    time /t >> iasStartup.log
    echo Finished iasStartup.cmd >> iasStartup.log
    exit
    ******** sleep.pl ********
    #!/usr/local/bin/perl
    ## Author: Mike Bukaty
    ##               Sandia National Laboratories
    ##               [email protected]
    ## Program: sleep.pl
    $| = 1;
    use strict;
    use Getopt::Long;
    Getopt::Long::Configure("no_ignore_case");
    GetOptions(
    "delay=s" => \ my $delay,
    # Set default options
    if( not defined($delay) ) { $delay = 1; }
    sleep $delay;
    exit 1;

    New information:
    When I originally wrote this, the command script worked as advertised. That was yesterday. I've since had to add the following lines just BEFORE the call to start the oidmon.
    echo Starting as9inf oidctl >> iasStartup.log
    %ORACLE_HOME%\bin\oidctl server=oidldapd configset=0 instance=1 start
    Sometimes me thinks that Oracle reconfigures itself at night when I'm not watching.
    Enjoy.

  • Issue with decreasing startup time of Air Application(Please Help)

    If someone knew the answer to this it would really help me. I put a large directory into my source folder that was pulling up HTML files through a mx:html. I added a creationComplete function so a the user would fill out a registration form before they start using the application. When I run the application from Flex it runs fine but when I export the application and turn it into a .air file and install it on a computer, the application seems to be scanning the entire directory(the src folder) the application is in, including the large sub-directory housing the HTML files, before the application starts. I don't know if its the creationComplete fuction or something else, but my application did not do this before but know its doing it now. There is no need to scan the entire folder before the application starts. Does anyone know what function would be scanning the source folder before opening the application? Is it the creationComplete function? Do I have any other alternatives besides for creationComplete that will not scan the entire folder at application startup, or is there anyway to exclude a specific subdiretory (in the src folder) at startup so the a application will not scan the entire folder before opening, or should I put the creationComplete function in a separate directory.
    What i'm using:
    <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns="*"
        height="730" width="1257" title="Prototype" xmlns:comp="components.*"
        creationComplete="checkRegistrationWinInfo(), checkRegistrationInfo()">

    Post both these methods:
    checkRegistrationWinInfo(), checkRegistrationInfo()
    creationComplete itself does nothing with the system. It's an internal (Flex) thing.
    AFAIK, an air application doesn't "scan" anything when started.

  • AIR Application installs successfully but no GUI appears on startup

    I have an AIR application that was exported to Release Build as a Native Installer (*.exe as I am using Windows).  I install the application on a Windows box with no error.  See log file below :
    [2011-07-14:15:21:42] Bootstrapper begin (Win:version 2.0.2.12610)
    [2011-07-14:15:21:42] Installed runtime located (2.7.0.19530)
    [2011-07-14:15:21:42] Launching application installer: "Adobe AIR Application Installer.exe" "C:\Users\actual\AppData\Local\Temp\AIR5755.tmp\ActualCapture"
    [2011-07-14:15:21:42] Application Installer begin with version 2.7.0.19530 on Windows 7 x86
    [2011-07-14:15:21:42] Commandline is: C:\Users\actual\AppData\Local\Temp\AIR5755.tmp\ActualCapture
    [2011-07-14:15:21:42] Installed runtime (2.7.0.19530) located at c:\Program Files (x86)\Common Files\Adobe AIR
    [2011-07-14:15:21:43] Validating app in folder C:\Users\actual\AppData\Local\Temp\AIR5755.tmp\ActualCapture
    [2011-07-14:15:21:43] Application signature verified
    [2011-07-14:15:21:43] Unpackaging/validation complete
    [2011-07-14:15:21:43] No app located for appID 'ActualCapture' and pubID ''
    [2011-07-14:15:21:47] Starting app installation to C:\Program Files (x86)\Actual. Installing app ActualCapture version 0.0.0 using the source file at file:///C:/Users/actual/AppData/Local/Temp/AIR5755.tmp/ActualCapture
    [2011-07-14:15:21:47] Installing msi at C:\Users\actual\AppData\Local\Temp\AIR5755.tmp\ActualCapture\setup.msi with guid {3345C675-010C-A907-7ADE-BC8B0927E7E9}
    [2011-07-14:15:21:48] Launching subprocess with commandline C:\Program Files (x86)\Actual\ActualCapture\ActualCapture.exe
    [2011-07-14:15:21:48] Application Installer end with exit code 0
    [2011-07-14:15:21:48] Application installer success
    [2011-07-14:15:21:48] Bootstrapper success
    However when I run the installed application, nothing appears.  No GUI is present as I would expect but on checking the task manager, the application .exe is listed as a running process?  This problem has only appeared with two recently purchased Dell machines that have Windows Professional Service Pack 1 operating system installed.  The same application was installed on a laptop with Windows Professional Service Pack 1 and works fine!
    Any assistance with this problem would be greatly appreciated.
    Lesley

    I have an AIR application that was exported to Release Build as a Native Installer (*.exe as I am using Windows).  I install the application on a Windows box with no error.  See log file below :
    [2011-07-14:15:21:42] Bootstrapper begin (Win:version 2.0.2.12610)
    [2011-07-14:15:21:42] Installed runtime located (2.7.0.19530)
    [2011-07-14:15:21:42] Launching application installer: "Adobe AIR Application Installer.exe" "C:\Users\actual\AppData\Local\Temp\AIR5755.tmp\ActualCapture"
    [2011-07-14:15:21:42] Application Installer begin with version 2.7.0.19530 on Windows 7 x86
    [2011-07-14:15:21:42] Commandline is: C:\Users\actual\AppData\Local\Temp\AIR5755.tmp\ActualCapture
    [2011-07-14:15:21:42] Installed runtime (2.7.0.19530) located at c:\Program Files (x86)\Common Files\Adobe AIR
    [2011-07-14:15:21:43] Validating app in folder C:\Users\actual\AppData\Local\Temp\AIR5755.tmp\ActualCapture
    [2011-07-14:15:21:43] Application signature verified
    [2011-07-14:15:21:43] Unpackaging/validation complete
    [2011-07-14:15:21:43] No app located for appID 'ActualCapture' and pubID ''
    [2011-07-14:15:21:47] Starting app installation to C:\Program Files (x86)\Actual. Installing app ActualCapture version 0.0.0 using the source file at file:///C:/Users/actual/AppData/Local/Temp/AIR5755.tmp/ActualCapture
    [2011-07-14:15:21:47] Installing msi at C:\Users\actual\AppData\Local\Temp\AIR5755.tmp\ActualCapture\setup.msi with guid {3345C675-010C-A907-7ADE-BC8B0927E7E9}
    [2011-07-14:15:21:48] Launching subprocess with commandline C:\Program Files (x86)\Actual\ActualCapture\ActualCapture.exe
    [2011-07-14:15:21:48] Application Installer end with exit code 0
    [2011-07-14:15:21:48] Application installer success
    [2011-07-14:15:21:48] Bootstrapper success
    However when I run the installed application, nothing appears.  No GUI is present as I would expect but on checking the task manager, the application .exe is listed as a running process?  This problem has only appeared with two recently purchased Dell machines that have Windows Professional Service Pack 1 operating system installed.  The same application was installed on a laptop with Windows Professional Service Pack 1 and works fine!
    Any assistance with this problem would be greatly appreciated.
    Lesley

  • Automatic startup of admin server + managed server on Windws

    Hello,
    I have installed/configured WLS 10.3.6 + Forms/Reports 11.1.2.1 on Windows 2008 R2. All this went ok with no errors.
    The NodeManager is installed as a service and runs happily after every reboot of the server. OPMN does it as well.
    I can connect to the NodeManager with WLST and start/stop/status the Admin Server and the managed servers (WLS_FORMS,WLS_REPORTS) created during the
    the installation/configuration step. Each server has the username/password defined (and already encrypted).
    However, when I restart the Windows Server, neither the Admin Server nor the WLS_x servers are started during the boot.
    I thought that the configuration process was in charge of setting all this, that was my experience with the previous version Oracle Internet Application Server (iAS) 10.1.2.x (opmn running as a service started them all).
    I have run through the installation/configuration docs, and found nothing that says that Oracle will configure (or not) the automatic startup.
    1) Is the Oracle configuration process (the one that creates the ClassicDomain) supposed to configure the automatic startup of the admin server + managed servers in this setup ? Am I missing perhaps some extra steps ?
    or
    2) Do I have to create WLST scripts (that connect to the NodeManager and start the admin server + managed servers) and deploy them as Windows Services myself ?
    regards.

    Hi,
    During weblogic installation in window server, node manager will be automatically registered as window services. But for admin and managed servers, you need to register it manually after succesful installation and configuration for automatic startup during machine reboot.
    Please refer the metaliknk id for register as window services:1060058.1.
    If this helps please mark.
    Regards,
    Kishore

  • How do I disable the automatic startup on HP Photosmart Premier when I turn my computer on?

    Someone else posted ths question a month ago, but still no answers.  Anyone?
    How do I disable the automatic startup on HP Photosmart Premier when I turn my computer on?
    Windows XP, SP3 operating system recently re-installed so I also reinstalled my printer software.  Now, for some reason, each time I turn my computer on, my HP Photosmart C4100 all-in-one photosmart premier software opens.  It is not in my startup.  This slows down my computer terribly, which is why I never used the program before my re-install.  How can I disable this feature?  I only print, I don't use it for photos.
    Any help here is appreciated.

    Run msconfig.exe from the start button (type in msconfig).  When it comes up go to the Startup tab and find and deselect the HP product you do not want to start.  Save and reboot computer.  Now try.
    Say thanks by clicking the Kudos Thumbs Up to the right in the post.
    If my post resolved your problem, please mark it as an Accepted Solution ...
    I worked for HP but now I'm retired!

  • ORACLE DATABASE의 AUTOMATIC STARTUP/SHUTDOWN

    제품 : ORACLE SERVER
    작성날짜 : 1995-11-21
    오라클 database의 AUTOMATIC STARTUP/SHUTDOWN
    ============================================
    시스템이 startup 하면서 오라클도 함께 startup하거나 시스템을 shutdown
    할 때 오라클도 같이 shutdown 하는 것이 가능하다. 그 방법은 OS마다 차이가
    있는데 여기서는 UNIX 에 기반한 여러 플랫폼에 대해서 알아보기로 한다.
    본 내용에서 가장 많이 사용되는 화일은 다음과 같다.
    $ORACLE_HOME/bin/dbstart
    $ORACLE_HOME/bin/dbshut
    /etc/oratab 또는 /var/opt/oracle/oratab
    dbstart 와 dbshut 은 오라클을 startup/shutdown 시키는 스크립트인데
    이것은 automatic startup/shutdown 시에만 사용하도록 하고 평상 시의
    경우에는 사용하지 않도록 한다.
    oratab 화일은 일반 텍스트 화일로서 시스템에 설치된 오라클 인스턴스에
    대한 정보를 가지고 있는데 보통 3개의 필드로 이루어져 있으며 첫번재
    필드는 ORACLE_SID, 두번째 필드는 ORACLE_HOME, 세번째 필드는 Y 또는 N
    으로 구성되어 있다. 해당 인스턴스를 autostartup 시키려면 꼭 Y로
    세팅되어 있어야 한다.
    SYSTEM V
    System V 에 기반한 시스템은 /etc/rc<n>.d 디렉토리에 초기화 스크립트를
    가지고 있다. 여기서 <n> 은 해당 스크립트의 run-level 을 의미한다.
    일반적으로 run-level 0은 power shutdown mode 이고 run-level 2는 multi-user
    mode 이다. 각각의 디렉토리에 들어있는 초기화 스크립트는 다음과 같은 형태의
    이름을 갖고 있다.
    K{two-digit number][descriptive filename]
    예를 들면 S75cron, K30tcp 등이 있을 수 있다.
    S로 시작되는 스크립트는 startup 시에 실행되는 것이고 K 로 시작하는 것은
    shutdown 시에 실행된다.
    two-digit number가 의미하는 것은 스크립트가 실행되는 순서인데 숫자가 작은
    것부터 먼저 실행된다. 따라서 오라클 스크립트는 보통 다음과 같은 이름을 갖게 된다.
    S99oracle, K01oracle
    이와 같이 설정하면 시스템이 startup 될 때 모든 초기화가 끝난 후 마지막으로
    오라클이 startup 되며 시스템을 shutdown 할 때에는 오라클을 가장 먼저 shutdown
    하게 된다.
    BSD UNIX
    BSD 에 기반한 시스템은 시스템이 startup 될 때 초기화 화일로
    /etc/rc*(예를 들면, /etc/rc, /etc/rc.local) 를 사용한다.
    시스템을 shutdown 할 때에는 보통은 /etc/shutdown 만 실행하게 되므로
    특별히 실행되는 스크립트가 없지만 /etc/rc.shutdown 이 실행되는
    플랫폼도 있다.
    이제 각 플랫폼별로 자세히 알아보기로 한다.
    주의 : <oracle_owner> 는 oracle owner id 로 대체
    <$ORACLE_HOME> 은 oracle home directory 명으로 대체
    (1)SunOS 4.1.3
    SunOS 4.1.3 에서는 /etc/rc.local 을 startup 스크립트로 사용한다. 즉
    시스템이 startup 되면서 /etc/rc.local 이 실행된다. 따라서 이 화일의 끝에
    다음과 같은 라인을 추가하면 된다.
    su <oracle_owner> -c <$ORACLE_HOME>/bin/dbstart
    예를 들어 oracle owner 가 oracle7 이고 $ORACLE_HOME 이 /home/oracle
    이라면 다음과 같이 해주면 된다.
    su oracle7 -c /home/oracle/bin/dbstart
    여기서 /home/oracle 대신에 $ORACLE_HOME 과 같은 환경변수를 이용하여
    세팅하면 안된다.
    SunOS 에서는 시스템이 shutdown 될 때 실행되는 스크립트는 따로 없다.
    따라서 dbshut 을 실행시키는 방법은 다음과 같은 스크립트를 만들어서
    시스템을 shutdown 시킬 때 /etc/shutdown 을 실행시키지 말고 대신
    이것을 실행시켜야 한다.
    #!/bin/csh
    su <oracle_owner> -c <$ORACLE_HOME>/bin/dbshut
    /etc/shutdown $*
    만약 오라클을 shutdown 하지 않고 시스템을 shutdown 하면 다음에
    오라클을 startup 하려고 할 때 startup이 되지 않는다. 이 경우에는
    $ORACLE_HOME/dbs/sgadef<SID>.dbf 화일을 지우고 startup 시키면 된다.
    (2)OSF/1(DIGITAL UNIX)
    /etc/inittab : 초기화 과정을 콘트롤
    /sbin/rc3 : run-level 3 에서 사용되는 script
    /sbin/rc0 : run-level 0 에서 사용되는 script
    /sbin/rc3.d/S99oracle : /sbin/init.d/oracle 로 link
    /sbin/rc0.d/K01oracle : /sbin/init.d/oracle 로 link
    /etc/initab 화일에는 초기화 과정에 대한 정보가 들어 있다.
    예를 들면 다음과 같다.
    s3:3:wait:/sbin/rc3 < /dev/console > /dev/console 2>&1
    이렇게 설정하면 run-level 3 일 경우 /sbin/rc3 스크립트가 실행된다.
    /sbin/rc3 은 /sbin/rc3.d 디렉토리에 들어있는 스크립트를 실행한다. 만약
    스크립트 이름이 K 로 시작하면 이것은 stop 파라미터를 갖고 실행되어서 이
    스크립트에 지정된 프로세스를 정지시킨다. 한편, 스크립트가 S 로 시작하면
    /sbin/rc3 는 이 스크립트에 startup 파라미터를 부여하고 여기서 지정된
    프로세스를 실행시킨다. 따라서 /sbin/rc3.d/S99oracle 을 사용하여
    dbstart를 실행한다.
    shutdown 과정도 거의 비슷하다. /etc/inittab 에 다음과 같은 라인을 추가
    한다.
    s0:0:wait:/sbin/rc0 off < /dev/console > /dev/console 2>&1
    이것은 /sbin/rc0 를 실행시키는데 /sbin/rc0 는 /sbin/rc0.d 디렉토리에
    들어있는 스크립트를 실행시킨다. 스크립트의 이름이 S 로 시작하면 run
    time parameter 로 start 를 사용하게 되고 K 로 시작하면 stop 을
    사용한다.
    따라서 /sbin/rc0.d/K01oracle 스크립트는 stop 파라미터를 갖고
    실행되며 이 스크립트는 $ORACLE_HOME/bin/dbshut 스크립트를 실행시켜서
    오라클을 shutdown 시킨다.
    /sbin/rc3.d/S99oracle과 /sbin/rc0.d/K01oracle은 모두 /sbin/init.d/oracle
    에 대한 symbolic link 이다. /sbin/init.d/oracle 에 대한 symbolic link 는
    이들 외에 더 있을 수 있다.
    (3)Solaris 2.3 & SCO UNIX
    /etc/inittab : 초기화 과정을 콘트롤
    /etc/rc2 : run-level 2 에서 사용되는 스크립트
    /etc/rc0 : run-level 0 에서 사용되는 스크립트
    /etc/rc2.d/S99dbstart : /etc/init.d/dbstart 에 대한 link
    /etc/rc0.d/K01dbshut : /etc/init.d/dbshut 에 대한 link
    /var/opt/oracle/oratab
    Solaris 의 경우는 OSF/1 과 매우 유사하다. 차이점이라고 한다면 /sbin
    디렉토리 대신에 /etc 디렉토리에 필요한 스크립트가 들어있다는 것이다.
    rc0.d, rc2.d 같은 디렉토리는 실제로 /etc 디렉토리에 위치하고 있으며
    rc0, rc2 와 같은 스크립트는 /etc/init.d 에 존재하는 같은 이름의 스크립트에
    대한 symbolic link이다.
    /etc/init.d/dbstart 와 /etc/init.d/dbshut 스크립트의 내용은 각각 다음과
    같이 한줄로 구성되어 있다.
    su - <oracle_owner> -c <$ORACLE_HOME>/bin/dbstart
    su - <oracle_owner> -c <$ORACLE_HOME>/bin/dbshut
    Solaris 에서는 start, stop 같은 파라미터는 /etc/init.d/dbstart,
    /etc/init.d/dbshut 에서는 무시된다.
    /etc/init.d/dbstart, /etc/init.d/dbshut 화일은 owner가 oracle owner id
    이여야 한다.
    /etc/init.d/README 를 읽어보면 좀 더 자세한 내용이 설명되어 있으니 참조하기
    바란다.
    (4)AIX
    /etc/inittab : 시스템 초기화 화일
    /etc/rc : 시스템 초기화 스크립트
    /etc/mkitab : /etc/inittab 을 수정하는 유틸리티
    /etc/shutdown : 시스템 shutdown 스크립트
    AIX 에서는 오라클 autostartup 방법은 여러가지가 가능하지만 shutdown 은
    한가지만 가능하다. 우선 autostartup 은 다음과 같은 방법 가운데 하나를
    사용하면 된다.
    a)/etc/mkitab 를 사용하여 /etc/inittab 에 entry 를 추가한다. 즉,
    /etc/mkitab "<oracle_owner>:2:wait:/bin/su <oracle_owner> -c
    <$ORACLE_HOME>/bin/dbstart > /dev/console 2>&1"
    이렇게 하면 /etc/inittab 화일에 dbstart 기능이 추가된다. 이렇게 하면
    시스템이 뜨면서 run-level 2일 경우 오라클이 자동으로 startup 된다.
    b)다음과 같은 방법도 가능하다.
    /etc/mkitab "rcoracle:2:wait:/etc/rc.oracle > /dev/console 2>&1"
    그리고, root 소유의 /etc/rc.oracle 스크립트를 다음과 같이 작성한다.
    su <oracle_owner> <<EOF
    <$ORACLE_HOME>/bin/dbstart
    EOF
    c)/etc/rc 스크립트의 마지막에 다음을 추가한다.
    /bin/su <oracle_owner> - c <$ORACLE_HOME>/bin/dbstart
    AIX 에서 시스템 shutdown 은 /etc/shutdown 에 의한다. 시스템을 내릴 때
    오라클을 shutdown 하려면 별도의 시스템 shutdown 스크립트(root 소유로)를
    다음과 같이 만들어서 /etc/shutdown 을 사용하지 말고 이것을 사용해야 한다.
    #!/bin/sh
    /bin/su <oracle_owner> -c <$ORACLE_HOME>/bin/dbshut
    /etc/shutdown $*
    (5)HP/UX
    /etc/rc : 시스템 startup 화일
    /etc/shutdown : 시스템 shutdown 실행 화일
    /etc/shutdown.d : 시스템 shutdown 디렉토리
    HP/UX 에서는 시스템 startup 시에 /etc/rc 가 실행된다. 따라서 다음 라인을
    /etc/rc 스크립트의 마지막에 추가하면 auto startup 이 가능해진다.
    su <oracle_owner> -c <$ORACLE_HOME>/bin/dbstart
    시스템의 shutdown 은 /etc/shutdown 화일을 실행하여 수행된다. 이 프로그램은
    /etc/shutdown.d 디렉토리에 들어있는 스크립트를 실행시키는데 다음과 같은
    세 가지 방법 가운데 하나로 auto shutdown 을 세팅할 수 있다.
    a)$ORACLE_HOME/bin/dbshut 화일을 /etc/shutdown.d 디렉토리 아래에 copy
    b)/etc/shutdown.d/dbshut 을 $ORACLE_HOME/bin/dbshut 으로 symbolic link 지정
    c)다음과 같은 스크립트 작성
    #!/bin/sh
    su <oracle_owner> -c <$ORACLE_HOME>/bin/dbshut
    단,이 스크립트는 root의 소유이고 root에 의해서만 실행 가능해야 한다.
    만약 V6 와 V7 을 동시에 사용하는 경우라면 V7 에서 제공하는 dbshut을
    사용하도록 한다.

    Dear Alexdelarg,
    First launch the "Services" applet from the Windows NT Control Panel. Double-click on the "OracleService<SID>" service and verify that "Startup Type" is set to "Automatic", "Log On As" is set to "System Account", and that the "Allow Service to Interact with Desktop" check box is disabled.
    Then launch REGEDIT and check that the Value String ORA_<SID>AUTOSTART within the key My Computer\HKEYLOCAL_MACHINE\SOFTWARE\ORACLE is set to "TRUE".
    If the above does not rectify your startup problem, try issuing the following command from the Command Prompt:
    <ORACLE_HOME>\bin\oradim -edit -sid <SID> -startmode auto
    where <ORACLE_HOME> is the full path of your Oracle8i Server software and <SID> is the Service Identifier of your database.
    Hope this helps!

Maybe you are looking for