writting a proper mpkg

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

  1. BruisedGhost macrumors newbie

    Sep 29, 2008
    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>

    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!


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


    Jun 15, 2000
    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. BruisedGhost thread starter macrumors newbie

    Sep 29, 2008

Share This Page