Re: Postflight script failing to execute from a package.

  • Hi Matt,

    The "postflight" script of your package must be named "postflight" NOT
    "postflight.sh"

    Double check the executible bit.

    Also instead on using the identifier com.mycompany.myapp in the

        "open -b com.mycompany.myapp"

    (If you are using the identifier make sure it is the right one.)

    try using the name of the application.

    eg. "open /Applications/MyApp.app"

    Run the postflight script from the terminal and check if the script is
    working i.e it launches your required application.

    Also when you are installing anything it is ABSOLUTELY MUST that the
    right owners and permissions are set.

      e.g  for Applications and kexts the permissions must be atleast like
    the following

                                              Owner                Group
    Permissions

    MyApp.app                          root                    admin
    rwxrwxr-x

    MyDriver.kext                      root                    wheel
    rwxr-xr-x

    I wrote a script same as yours , my postflight is working.

    Hope this helps you

    Regards,

    Amrit.

    The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

    WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

    www.wipro.com
previous month october 2006 next month
MTWTFSS
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          
Go to today