Setting configuration options with install

I'm developing what is essentially an intranet app, using AIR
as the desktop interface. I would like to use the web/badge install
process from a webpage delivered from the local server. What I need
is to be able to include a customizable config file, which would be
set up from a form on the local web server before the air install,
that would set some global parameters for the air application
(specifically the server IP address and a license key... maybe
other info).
So the process would go generally as such:
1) the admin would install the server code, then run a
configuration script/form where he would input the server info,
license key, etc. This would be saved as, lets say, an xml file or
some such.
2) users would browse to the local web server to launch the
air/badge install process, which would include that xml file, and
put it in the application folder as part of the install process.
3) when the air app is run, it would then reference that xml
file to get those global settings, so it knows what server to
access for remoting calls, etc.
Is this possible?

There's no secure way to include this configuration file in
the .air file itself. Since you are using a badge install, however,
you might consider instead passing arguments to the application
during the installation. These are passed to the application when
it is first launched.
Also, if you then save those parameters, you should not use
the application install folder, which is read-only. Instead, use
the application storage folder (or some similar location).
regards,
Oliver Goldman | Adobe AIR Engineering

Similar Messages

  • Set Process Options  with Studio 10.3.1 : 'java.lang.IllegalStateException'

    Hello,
    I am creating a "Set Process Options" activity like in the demo "Expense Reimbursement" of Studio 10.3.1.
    When storing the options, I get this error :
    The task could not be successfully executed.
    Reason: 'java.lang.IllegalStateException: The component must be invoked on a server-side method.'.
    Causé(e) par: The component must be invoked on a server-side method.
    fuego.lang.ComponentExecutionException: The task could not be successfully executed.
    Reason: 'java.lang.IllegalStateException: The component must be invoked on a server-side method.'.
         at fuego.xobject.runtime.components.XObjectInputImpl$1.commit(XObjectInputImpl.java:98)
         at fuego.web.execution.InteractiveInvocation.finish(InteractiveInvocation.java:116)
    etc...
    The error seems to be caused by Fuego.Server.storePropertyFor since I don't get the last "logMessage".
    I created objects, methods, and screenflow similar to those in the demo.
    Comparing with the log generated by the demo, the difference is :
    demo :
    ProcessOptions.commitOptions : xml :<xobject.BusinessComponents.ProcessOptions xmlns="http://bea.com/albpm/DynamicXml/version/2.0">
    (etc...)
    Process read unlock: '/ExpenseReimbursement#Default-1.0' [HasWriteLock=false, ReadLockers=1]
    Execution Servlet action type:REDIRECT
    ExecutionDispatcher.actionId: REDIRECT
    Executor.execId: 10000
    Executor.getForwardComponent: fuego.xobject.runtime.components.XObjectHtmlRuntimeController
    etc...
    mine :
    i don't get the "Process read unlock" message and I get :
    Executor.execId: 0
    Is there any parameter to configure in the engine preferences to make it work ?
    or what did I forget in the code ?
    What could I do to fix that ?
    Thanks !
    Here is the last code lines arround the error :
    logMessage("OptionsEtRéférentiels.enregistrerOptions : nomApplication :"+nomApplication);
    if (nomApplication == null) {
         nomApplication = "TPV1";
    logMessage("OptionsEtRéférentiels.enregistrerOptions : nomApplication :"+nomApplication);
    String xml = DynamicXml.createXmlTextFor(this);
    logMessage("OptionsEtRéférentiels.enregistrerOptions : xml :"+xml);
    Fuego.Server.storePropertyFor(application: nomApplication, name: "OptionsXML", value: xml);
    logMessage("OptionsEtRéférentiels.enregistrerOptions : enregistré");

    Hi,
    I think it might be something simple to fix.
    Open the Expense Reimbursement project again. Open either of the two methods in the Catalog's BusinessComponents.ProcessOptions that store and retrieve the Fuego.Server properties.
    On the right side (to the right of the Variables tab), open the Properties tab. Note that both of these methods have their "Server Side Method" properties set to "Yes".
    Make sure that your BPM Object's method's Server Side Method" property is set to "Yes" and I think you should be Okie Dokie.
    Dan

  • Setting Security Options with Visual Basic for Applications (VBA)

    Hi there,
    I want to print a PDF out of Excel via choosing the Adobe PDF-printer at the print-options-menu and like to apply a password to the PDF-files.
    Is there a possibily to set the security options via VBA? I can choose the Adobe-PDF as a Printer, so I hope there is the chance to set the password like i can choose other print-options in VBA.
    Thank You in advance!
    Andreas

    As far as I know, Lync 2013 is not available with Office Home & Business 2013, you can check
    http://office.microsoft.com/en-in/home-and-business/
    Lisa Zheng
    TechNet Community Support
    Dear Lisa,
    Yes, it's true, Lync 2013 is not part of Office home & Business 2013, but you can install,it as standalone product.

  • How to set CABAC option with Adobe Media Encoder CC2014

    hello everyone
    i would like to be sure that i'm setting an mp4 h264 video with the CABAC option.
    in the video settings of the Adobe Media Encoder cc2014 i didn't find this option.
    i know that i have to put the profile at Main, and i did!
    somebody can tell me where i can set or verify that CABAC option in On?
    thank you!
    pier
    [Moved from the generic Cloud forum to the specific Program forum... Mod]

    AME only uses the CABAC option for h.264 so there is no setting to set.

  • Option with barrier - set up in MRA

    Hi to everyone!
    I have many doubts about options set up and I hope you can help me, actually I donu2019t know how to do itu2026
    Iu2019m setting up option with barrier: up&in, up&out, down&in and down&out. First of all, can you tell me the main transaction that I have to set up? And the set ups tricks, I mean the filling fields that make the system work correctly.  Have you options with barrier set up documents to help me?
    The other doubt is how to check the option NPV, I know that the price model is Rubinstein and Reiner model, but I donu2019t know how to calculate it.
    Could you help me?
    Luci Maki

    Hi Luci,
    see online documentation on:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/4f/f11204628011d28739080009b423f4/frameset.htm
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/0c/327416a3ba11d186b7080009b423f4/frameset.htm
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/cd/17f2b2d52411d189f30000e829fbbd/frameset.htm
    BR, Tomislav

  • Promotions at configuration option for a configurable product

    Is it possible to apply promotions to a specific configuration options in a Configurable Material?
    For example, Material A is a configurable product. It has several configuration options with charges attached at configuration option (i.e. Characteristic value level) through variant conditions. Now if we want to give a promotional discount for a specific configuration option, Is it possible through standard SAP Promotions and Sales Deal functionality?
    Base Price of Material A:   $1000.00
    Confuguration option X     :       $200.00
    Promotion on configuration option X : 10% off of Config Option X charges (i.e. -$20)
    Net Price of Material A with Config option X should then be:
    $1000 + ($200 - $20) = $1000 + $180 = $1180
    If it is possible to handle this kind of promotions in SAP ECC, please suggest the config steps involved to include variant condition type in the Promotions.
    Thanks in advance
    SCB
    Edited by: Sreenivasa Bahudodda on Jan 19, 2009 1:25 AM

    Hi,
    Have you checked the downloaded knowledge bases in the CRM tables - COMM_CFGKB or COMM_SCEKB?
    If you don't find the entries in one of the above tables (particularly in COMM_CFGKB), then you have an issue regarding the download of SCE.
    Please let me know  you answer, so that I will try to help you to solve the download issue
    <b>
    Do not forget to reward if it helps,</b>
    Regards,
    Paul Kondaveeti

  • Problems with installing coldfusion mx and setting up CF for home practice

    problems with installing coldfusion mx:
    hello,
    i have some books of cf.
    i need to start on my tutorials
    however,
    they said the prereq is mx server
    home site,
    1. i did download mx 7 and chose mx developer edition.
    my problem is that when it is self configure. (the second
    option without apache or iis)
    it is reall taking a long time to configure 2hrs. i did not
    let it finish so i stopped the process.
    what am i doing wrong in the set up process.
    2. do i need apache to run CF. if so i did go to apache .org
    and went to a mirror site. but i dont know which one to down load.
    any tips?
    3. can i run my tutorials with out apcahe or IIS?
    4 . the book also mentioned homesite / dreamweaver as a
    editor.
    where and how can i put this in my personal PC?
    i really appreciate your help in advance
    i am really eager to learn so i can develop for my work, i
    figure if i get a head start at home, i wont have to rely on
    others.
    thanks if someone can help me set up CF at home.

    i got a copy from a disc today and i installed it.
    i think this one is good.
    i also have apcahe 2.0 together in a cd.
    i need a walk through on both
    mx 7 and apache 2.0 for installing and configure.
    can you help me?

  • Installing / Configuring BW with miniWAS

    Hi...
    I have a some questions regarding the installation and configuration of MiniWAS and BW,
    First of all, I have an IDES version of BW and miniWAS
    1) Can i configure BW with MiniWAS(SAP DB)? Yes or No ?
    2) Can I install BW on an EXTERNAL HARD DISK (80GB) which has an Operating System installed on it? and get connected thru the USB of the Ext-Hard Disk
    to my LAPTOP which has miniWAS installed? (The main question is does BW require a Processor? As such External HD doesn't have any processors..?) .
    I guess u can suggest me about installing on BW on Desktop and miniWAS on LAPTOP start learning.. I travel frequently sometimes 5hrs I cannot carry a desktop in that situation (hahaha) and I want to learn BW also in such traveling.. would be thankful if anyone can help me out in this..
    Thanking you for your time and consideration...
    In one of the Thread I have seen for MINISAP we don't have tables of MARA,LFA1.. etc., is it possible to Upgrade ur SAPDB with these Tables.. like how we can Transfer some CUSTOM TABLES.. I hope am not confusion u all with too many questions. ...
    Cheers.
    PREETHU

    The following is the PROBLEM which am getting while Installing MINIWAS on WINXP.. ANYONE PLS HELP ME...
    r3setup\SAPCAR.EXE
           15 file(s) copied.
    INFO 2005-03-20 00:37:49 Main
        r3setup started
    INFO 2005-03-20 00:37:49 Main
        InstController has been successfully created
    INFO 2005-03-20 00:37:50 Main
        Command line options are ok.
    INFO 2005-03-20 00:37:56 InstController Prepare:0
        R3SETUP Version: Apr 24 2002
    INFO 2005-03-20 00:37:56 InstController Prepare:0
        Logfile will be set to
        C:\DOCUME1\Kr\LOCALS1\Temp\BSPinst\BSP.log
            Check C:\DOCUME1\Kr\LOCALS1\Temp\BSPinst\BSP.log for
        further messages.
    INFO 2005-03-20 00:37:59
        Requesting Installation Details
    INFO 2005-03-20 00:37:59
        Requesting Information on CD-ROMs
    INFO 2005-03-20 00:37:59 CENTRDBINSTANCE_NT_ADA InternalWarmKeyCheck:0
        The installation phase is starting now. Please look in the log
        file for further information about current actions.
    INFO 2005-03-20 00:37:59
        Requesting Installation Details
    INFO 2005-03-20 00:37:59
        Defining Key Values
    INFO 2005-03-20 00:37:59
        Requesting Setup Details
    INFO 2005-03-20 00:37:59
        Requesting Installation Details
    INFO 2005-03-20 00:37:59
        Setting Users for Single DB landscape
    ERROR 2005-03-20 00:38:06 ADADBSTOPLOCAL_NT_IND InternalWarmKeyCheck:0
        The function OpenSCManager with the parameterlist
        (ServicesActive) returned with error code 1722 and error text:
        The RPC server is unavailable.
    ERROR 2005-03-20 00:38:06 ADADBSTOPLOCAL_NT_IND WarmKeyCheck:0
        Phase failed.
    ERROR 2005-03-20 00:38:06 Main
        Installation aborted.
    There was a problem during install.
    Try to solve the problem and restart the setup with this batch.
    Press any key to continue . . .
    pls help
    PREETHU

  • In Apple Configurator, can I set up different sets of iPads with different apps loaded? Or will all iPads synced with Configurator be required to have the same build?

    In Apple Configurator, can I set up different sets of iPads with different apps loaded? Or will all iPads synced with Configurator be required to have the same build?

    Hi jshira86,
    You can definitely have different sets of iPads with different apps loaded. When you "supervise" your iPads, you will see that on the left side of the Configurator window there is a "+" sign in the lower left corner. Click it to create a new device group. With this new device group you can choose what apps and configuration profiles you want to install on that group of iPads. Create as many groups as you want to customize the apps and profiles you want on them.
    Hope this answers your question!
    ~Joe

  • How to start a systemd with certain configuration options?

    Hello,
    I do not understand what wiki page at arch that can help me to understand how I can start a daemon with certain configuration options. I know I can start with
    # systemctl enable unit
    , but for example, if I whanted to start "xboxdrv" with the option [--mimic-xpad-wireless --silent], or any other custom options I might need. I presume it can be done simple by dropping a .conf file somewhere, but I do not follow what wiki page that adress this - if it at all is possible?
    Regards
    Martin

    Hello,
    I followed the drop in option now in https://wiki.archlinux.org/index.php/Sy … n_snippets
    I tried to copy the whole xboxdrv.service and replace the ExecStart, and also only with ExecStart, like this:
    [Service]
    ExecStart=
    ExecStart= ExecStart = /usr/bin/xboxdrv -D -c /etc/default/xboxdrv --mimic-xpad-wireless --silent
    The drop in examples above is in: /etc/systemd/system/xboxdrv.service.d/override.conf
    Reatarting
    I then made sure the new .conf file was loaded by:
    # systemctl daemon-reload
    # systemctl restart xboxdrv
    # system status xboxdrv
    Result
    In both cases, the service fails to restart and I recive this error
    xboxdrv.service has more than one ExecStart= setting, which is only allowed for Type=oneshot services. Refusing.
    Anyone know how I can start "xboxdrv" with my custom options "--mimic-xpad-wireless --silent" using this drop in function for systemd?
    Regards
    Martin
    Last edited by onslow77 (2015-02-01 18:27:31)

  • Missing "Planning" option in configuration utility after installing BPMA

    Hello,
    I am unable to find "planning" option in configuration utility after installing BPMA.
    But the planning applications are working normally.
    Has anyone faced this issue before?
    Can anyone please tell me how to bring the back in configuration utility?
    Thanks
    Hemanth

    Hello Azmat,
    You are right I did the same.
    It was a big mess when I did that. I had to reapply patches and re-set DIM settings.
    I saw this posting by John in the forms.
    Planning Option Not Visible in Configuration Utility
    Wondering if this is the solution.But I found this post after re-installing planning in Dev and QA.
    I am yet to install EPMA in prod. I want to see if I can install it without disturbing other environments.
    Thanks
    Hemanth

  • I am trying to configure some new unsupervised iPod touch 4th generation using Apple Configurator but it won't give me the option to install the app that appears on the Apps tab.

    I am trying to configure some new unsupervised iPod touch 4th generation using Apple Configurator but it won't give me the option to install the app that appears on the Apps tab. I have tested the to see whether it works in supervised mode and it does but in Prepare mode it won't let me tick the box.
    Any ideas anyone?
    Many thanks
    Mario.

    The requirments say:
    Requirements: Compatible with iPhone 3GS, iPhone 4, iPhone 4S, iPad 2 Wi-Fi + 3G, and iPad Wi-Fi + 4G.Requires iOS 5.0 or later.
    No mention of iPod touch
    http://itunes.apple.com/app/jack-boxer/id530122469?mt=8

  • Installing and Configuring OBIA with OBIEE, Informatica, DAC

    Hi
    Can anybody send me set up procedure for , how to install and configure OBIA with OBIEE, Informatica and DAC?
    mail Id : [email protected]
    Thnks In advance.

    Hi,
    the setup procedure depends on your Oracle BI Apps version.
    You can find all Oracle documentation to install and configure Oracle BI Apps from this URL :
    http://www.oracle.com/technetwork/middleware/bi-foundation/documentation/bi-apps-098545.html
    hope it helps,
    Benoit

  • How does one install non-English character sets for use with the "find" function in Acrabat Pro 11?

    I have pdf files in European languages and want to be able to enter non-English characters in the "find" function. How does one install other character sets for use with Acrobat Pro XI?

    Have you tried applying the update by going to Help>Updates within Photoshop Lightroom?  The update should be using the same licensing?  Did you perhaps customize the installation location?  Finally which operating system are you using?

  • How can I use pdf pack to convert cubase documents  (music scores)  into pdfs? I am looking for the former possibility to install acrobat like a printer but i don't have this option with "pdf pack". Can you help?

    How can I use pdf pack to convert cubase documents  (music scores)  into pdfs? I am looking for the former possibility to install acrobat like a printer but i don't have this option with "pdf pack". Can you help?

    Hi mariab,
    What format are those music scores (I'm not familiar with cubase documents). But, it may be that Adobe PDF Pack doesn't support that format. In that case, Acrobat is the way to go. You can then print your files to PDF as you'd like. You're welcome to try Acrobat for free for 30 days to see whether it's going to work for you. If you decide it is, and you'd like to use it going forward, you could convert your PDF Pack subscription into an Acrobat subscription.
    Best,
    Sara

Maybe you are looking for

  • Load one tab at a time

    can it done that when i open several pages in new tabs at once firefox will load them one at a time and one after another. And that way it will finish loading them all???

  • Firmware Problem on my zen touch....PLEASE HELP ME

    Hi, I have had my zen touch for over a year now, works great. Recently I tried to up grade the firmware to ZenTouchP4S_PCFW_LB_2__0.exe While installing it erased the whole music plus the previous firmware. So when installing it froze an now my playe

  • Open items in to BW

    Hello Friends, How to extract R3 open items in to BW system. Thanks Tony

  • ICal Server - Email notification to server users

    I am running Snow Leopard Server on a small network with 15 users. The server is not accessible outside network. The mail server is not hosted by Snow Leopard but by a external host. I start to switch each user calendar to iCal Server. I have two que

  • Mini to samsung

    Thinking about getting a new mac mini, and I want to connect it to my Samsung 700 series tv. will i have any problem doing this? I have a the HDMI cable, wireless keyboard and mouse already.