writting a proper mpkg

Discussion in 'Mac Programming' started by BruisedGhost, Sep 29, 2008.

  1. macrumors newbie

    Joined:
    Sep 29, 2008
    #1
    Hi All,

    I am new to writing installers for OSX and am not very familiar with the package maker application. As a result I have a question regarding it. In addition to my installer I need to configure a .txt file so that it tells my client app where a database is.

    essentially the file is a Oracle Connection info file (which basically looks like)

    DB_<INSTANCE>=jdbc: oracle:thin:mad:<SERVER>:<PORT>:<SID>
    OS=MAC
    MAIL_SERVER= <MAIL>
    MAIL_PORT=25
    MAIL_USE_AUTH=false
    MAIL_USE_SSL=false


    Where the installer will prompt for the bracketed values. I know how to do this in WISE but I am unsure how to do this in the package creator app. I know that the package creator does allow for scripts but i am unsure what I should use.

    If anyone could point me in the right direction I would be very grateful!

    Thanks


    EDIT: I put the space between the : and oracle because when I was typing them in together this was happening :eek:
     
  2. Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    You might have to write an AppleScript to prompt the user for information. You could do this in the preflight or postflight part. See The Installation Process.
     
  3. thread starter macrumors newbie

    Joined:
    Sep 29, 2008
    #3
    Thanks!
     

Share This Page