Changing the default installation settings in AIR installer

I was wondering if there is a way to change the default settings the the AIR Installer uses when installing an Application that I created.
More specifically, when the user is going through the installation process for my application using the AIR Installer, I would like the default setting to be to NOT launch the application once the install is completed.
The reason for this is that my application is intended to only be launched by opening a file with the associated type. When it is launched with either no command line arguments, or invalid ones, the user is given an error message telling them that a file name is expected, and the application is terminated.
I do not want the user to receive this message immediately following installation (if they do not change the "launch after installation" to NO).
Is this possible? If not, does anyone have a suggestion to avoid this problem?
Thanks a lot,
Jason

George,
Thanks a lot, that is very helpful.
To solve my problem I am going to use that method (Create a new file @ startup, see if it exists, and if it does not exist then it is the first time running) and tweak it a little to solve my exact problem.
I need to be sure that the application is being run after installation (from the installer), because the user MAY select "do not run after install", in which case the first time they try to run the program by opening an associated file, the program will exit, which is not a good first impression to leave on the user.
So I will check if the file exists created and if then i will check if arguments (file name) is being passed.
1. If a file name argument is passed I'll create the file and continue running to program. - First time run, but not from installer.
2. If no argument is present and it is the first time, I will shut down immediately with no message. - First time running/run from installer.
3. If no argument is present and file exists, exit with error (file needed). - Not the first time run, but no argument passed.
4. If argument exists and and file exists, run program. - Normal execution.

Similar Messages

  • Change the default margin settings for the MS word!

    Hi All,
    BI Publisher version:latest 10.1.3.4
    DB:10.2.0.4
    Oracle Apps:12.0.6
    OS:AIX
    We are facing an issue of which description is as below:
    RTF output is being uploaded through "XML Publisher" Responsibility.
    3.1.9 Header and Footer Margin from Edge Not Preserved in RTF Output
    This issue applies to Versions 10.1.3.3, 10.1.3.3.1, 10.1.3.3.2, 10.1.3.3.3, 10.1.3.4, and 10.1.3.4.1.
    Microsoft Word provides a Page Setup option for specifying the margin for the headers and footers from the edge of the page. This option is available by choosing the File menu, then Page Setup, then the Margins tab, and the From edge box. This margin setting is not retained when the output format is RTF. The output is created with the default margin settings instead. The margin settings do work correctly for other output formats such as HTML, PDF, and Excel.
    So, the "default setting" mentioned here is around 1/2 inch for MS Word which is getting added in the output, even if the margin in template is zero.
    Expected output:
    So what we need to do is -
    1. Check the MS word installation on the application server
    2. Change this default margin setting as top and bottom 0 on the server in the MS word page setup. (I can give you steps to do this in word if required)
    We have tried setting this margin to 0 on client side and generating the output and it makes no difference, so it must be coming from the server.
    We need to know how could we modify the settings and need to know te source and Check the MS word installation on the application server?
    Could anyone please share such an issue faced before!
    Thanks for your time!
    Regards,

    Hi All,
    Moreover,
    Our understanding about the RTF output is this -
    When we generate an RTF report output from Oracle EBS, the word document that is generated is with the settings of MS word that is installed on application server.
    This understanding could be wrong as we have never faced such situation before! We have come to this conclusion because the default settings that we do on client machine do not work.
    And as per the documentation of BI publisher the RTF should always be generated with the default settings of MS word.
    So what you could help us with is this -
    1. See if the MS word application is installed on application server ( if you think this is not application server, but any other server then please check there!)
    2. Change the default margin settings for the MS word.
    Regards,

  • Will migration assistant change the default display settings on my new Mac?

    I just set up a new iMac and used Migration Assistant to load from my Time Machine. But now the display looks muted and not as bright. Would Migration Assistant change the default display settings on my new Mac?

    Migration Assistant may not be the cause. But you should reset the NVRAM and see it that fixes the issue.
    Shut down your Mac.
    Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the third time.
    Release the keys.

  • Changing the default download settings in the excel.

    Hi All,
    Is there any methodology to change the default settings of the download of a report to a excel file. Because when I try to download reports having pivoted chart view it tends to hide the titles. I have added the padding but no luck. It is taking the default settings.
    Is there any xml file where we change those properties?
    Thanks:

    George,
    Thanks a lot, that is very helpful.
    To solve my problem I am going to use that method (Create a new file @ startup, see if it exists, and if it does not exist then it is the first time running) and tweak it a little to solve my exact problem.
    I need to be sure that the application is being run after installation (from the installer), because the user MAY select "do not run after install", in which case the first time they try to run the program by opening an associated file, the program will exit, which is not a good first impression to leave on the user.
    So I will check if the file exists created and if then i will check if arguments (file name) is being passed.
    1. If a file name argument is passed I'll create the file and continue running to program. - First time run, but not from installer.
    2. If no argument is present and it is the first time, I will shut down immediately with no message. - First time running/run from installer.
    3. If no argument is present and file exists, exit with error (file needed). - Not the first time run, but no argument passed.
    4. If argument exists and and file exists, run program. - Normal execution.

  • Can I change the default page size for SYSBUILD?

    When I start SYSBUILD it always has a default page size of Letter set, is there any way to change this as most of the blocks I wish to print are to be printed on A3 paper?
    Many thanks
    Tim

    Hi Tim,
    Unfortunately there is no option to change the default print settings for SystemBuild. You must manually select the A3 paper size under File>>Page Setup.
    Thanks for the suggestion though, I will pass that on to R&D as a product suggestion for a future release.
    Regards,
    Jeff M.
    Applications Engineering
    National Instruments

  • How do I change the default Windows Quicktime  transport preferences to HTTP?

    Is there a way that I can change the default transport settings of Windows Quicktime preferences panel to use HTTP?

    launch indesign--open and position the panels you want--then go to the workspace menu and save your workspace--then, when you launch Indesign it will appear like your saved workspace
    see these articles:
    http://www.tech4pub.com/2012/10/24/indesign-cs5-5-tip-work-efficiently-with-custom-workspa ces/
    http://help.adobe.com/en_US/indesign/cs/using/WSa285fff53dea4f8617383751001ea8cb3f-6d6ea.h tml#WSa285fff53dea4f8617383751001ea8cb3f-6d6ca

  • How can i change the default path of installation

    I had creative cloud for a while. Today i changed the default installing folder, from the creative cloud settings/prefferences(can't remember) menu, from C to D. Then i uninstalled all the programs from adobe cs6 to take the new cc programs. When i want to reinstall adobe creative cloud it is installing on D and since there is no operating sistem on D i can't install the creative cloud. It keeps installing on D. How can i change the default path of installation if i uninstalled creative cloud?

    Or how can I change the prefered installation folder that can be changed from creative cloud menu/prefferences when i have uninstalled creative cloud?

  • Installation question - Changing the default installation directory

    Is there a way during a silent install to change the default installation path from c:\hyperion? For instance I would like it to install to c:\program files (x86)\Hyperion by default with no user interaction required.

    Not sure what you are trying to install but personally I would steer away from using directories with spaces in
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Hi,how can i change the default settings on my adobe readerX1 such that it will display all my pdf files according to their individual cover pages (as cover picture thumbnails)before i click them to open and read........i really enjoyed this feature as a

    hi,how can i change the default settings on my adobe readerX1 such that it will display all my pdf files according to their individual cover pages (as cover picture thumbnails)before i click them to open and read........i really enjoyed this feature as a default settings upon installation in previous editions of adobe reader .i use a windows 8 pc now.thank

    For sideloaded content the nook pulls the metadata from ePub file itself.  I would suggest looking at a program like Sigil or Calibre that will let you edit the metadata in the book to make it appear like you want.
    For the PDF vs ePub - No, that's the way PDFs work (think of them as graphics, not text), wheres ePubs are Web Pages - so  no you can't them to behave exactly alike without converting the files.

  • How do I change the default settings for opening documents on my macbook?

    Hi I would like to know how to change the default settings for opening documents on my macbook. Everytime I try to open a doc. it automatically opens with Textedit, instead of Pages or another program.

    Select any particular document you wish to fix. Press COMMAND-I to open the Get Info window. In the Open With section select the desired Default Application from the dropdown menu. Click on the Change All button to extend the change to all similar documents.
    You can only assign one default application to one type of document.

  • How do I change the default settings on ical

    how do I change the default settings on ical - I upgraded to Lion and now every event is automatically clicked as an "all day" and when I unclick the "all day" it gives me an 8 hour window for my event instead of the 1 hour that I prefer! Help!

    Select any particular document you wish to fix. Press COMMAND-I to open the Get Info window. In the Open With section select the desired Default Application from the dropdown menu. Click on the Change All button to extend the change to all similar documents.
    You can only assign one default application to one type of document.

  • How do you change the default Page Handling/Page Scaling settings?

    Hello, I use Adobe Acrobat 7.0 Standard. I work in the construction industry, so it is important drawings are printed to scale. when I go to print an A3 landscape pdf the page handling > page scaling settings automatically default to 'Fit to Printer Margins' - which then throws out the scale of the drawing content. I can manually change this setting to 'None' each time I print, but this is not fool proof as I sometimes forget.
    Is there a way to change the default setting for this property? Any help is appreciated.
    Thanks

    Hi,
    Answering to your questions.
    I hope the below link will help you, About how to set up URL Forwarding in iWS.
    For iWS6.x version.
    http://docs.iplanet.com/docs/manuals/enterprise/60sp1/ag/escontnt.htm#1002112
    For iWS4.x version.
    http://docs.iplanet.com/docs/manuals/enterprise/41/ag/esapuir3.htm#1057412
    Thanks,
    Daks.

  • When I download Microsoft word documents (if have word 2007), I have somehow changed the settings and it downloads them in wordpad, and the format is very bad and I can't read a lot of the document. How do I change the default setting back to using Micro

    When I download Microsoft word documents (if have word 2007), I have somehow changed the settings and it downloads them in wordpad, and the format is very bad and I can't read a lot of the document. How do I change the default setting back to using Microsoft Word 2007 to open these documents?
    == This happened ==
    Every time Firefox opened
    == about a few weeks ago - I had tried to open some docuuments saved on a mac, my PC (which runs Windows 7), used word pad to open these, and this seems to have changed the default settings somehow.

    See this:
    [http://support.mozilla.com/en-US/kb/Managing+file+types]

  • Can I change the default settings for InfoView?

    Hi,
    I have a Crystal Reports Server 2008 running. The users access their reports via the InfoView web application.
    In this application each user can configure some settings, like whether to use the Acrobat Reader or an ActiveX control for printing. Due to the fact that most users are not experts, is it possible to change the default values for all users by administration?
    Regards
    Joern

    This was previously answered in an older thread. Hope this helps you...
    How to set default preferences for all users in Infoview 3.1/CRS 2008
    Posted: Feb 13, 2009 9:57 PM
    Click to report abuse... E-mail this message Click to reply to this thread Reply
    It took me a few tries to figure this out, so I thought I would share the steps I took to accomplish this.
    This was successful for InfoView Preferences for a Crystal Reports Server 2008 application (XI 3.1 base).
    1. Download the jsp files here: http://service.sap.com/bosap-supportsw
    Choose BusinessObjects Enterprise > * > Samples >
    "How to set preferences for all users at once in BO XI R2"
    2. Extract the files and rename logon.jsp to setpref.jsp
    3. Copy the downloaded jsp files to your root Infoview webapp folder (where the wars deployed to). We use the default - Tomcat. The Infoview webapp is deployed to C:\Program Files\Business Objects\Tomcat55\webapps\InfoViewApp\ If this is you, copy to here.
    4. From your browser launch http://crystalreportshost:8080/InfoViewApp/setpref.jsp (your infoview link) and follow the instructions!

  • Can I change the default settings for Paragraph Rules?

    Hello
    I need to apply the same 'Rule Below' to a lot of separate lines of text in InDesign CS5, but the settings I want differ from the default ones in the Paragraph Rules dialogue box. Is there a way to change the default settings so I can just click Rule On rather than inputting the same information a million and one times?
    Many thanks

    You will need a separate paragraph style for each heading level
    Heading Level 1
    Heading Level 2
    Heading Level 3
    For Heading Level 1 - create a Paragraph Style and set it the way you want.
    For Heading Level 2 - make sure that in General that "Based on: Heading Level 1", this will give it same properties as H1 - but you can change the size of the text and the size paragraph rule to suit.
    For HEading Level 3 - make sure that you set it to Based On: Heading Level 1 (this is vital)
    And do the same for all Sub Heading levels.
    I'd usually assign shortcuts of
    CTRL ALT SHIFT 1 - for H1
    CTRL ALT SHIFT 2 - for H2
    Etc.
    This will ensure consistency across your document.
    Say for example you needed to change the colour or tint of all Paragraph Rules
    CHANGE H1 ONLY - and this will also be applied to H2 H3 H4 etc.  As long as you haven't given different tints/colours to each individual Paragraph Rule in the Styles.

Maybe you are looking for

  • How to add one more values in Search Criteria,

    Hi All, OAF page Search Criteria : Search By "name"only Available already have in the search criteria .we are need to add Description in search criteria .How to add one more filed "Description" in Search Criteria, Please Help Me Thanks Rajavel

  • Loading .dlls in a java class

    when we load a .dll in a .java file by the command load library, i.e. somethg. like : System.loadLibrary("example"); where example is a .dll file, (example.dll) stored in hard disk, is it using JNI? How do we know whether its using JNI or not? is the

  • Integrated Planning and Non-cumulative key figure

    Hi I´m creating an Integrated Planning application and a problem has occurred. The users want to plan on inflow and outflow and at the same time have a row with the total sum in the same layout (they are planning on 0CALMONTH and 0ORGUNIT) This can e

  • Replaced OS X with Windows 7. I want OS X back.

    Me being the idiot i am installed Windows 7, completely replacing OS X. I regret my decision but since i bought the macbook pro 2007 used, i do not have the original snow leopard. Someone please help. Thank you

  • Local currency balance in parked documents.

    Hello all, We have realized that some foreign currency parked documents, eventhough they are zero balanced in the document currency, they keeps not zero balances in local currency until they are posted. Generally there are small differences such as 0