Installation - The Lost Scrolls > Installation Scripts >

FAQ 001 - Troubleshooting Scripts

[Q] My script does not run. Where should I start?

For packages built with Packages, Iceberg, PackageMaker and pkgbuild:

For packages built with Iceberg and older versions of PackageMaker:


[Q] When I launch an application with open, it is run as root. Why?


[Q] My script fails when it's run during the installation process but works fine when I test in in the Terminal. Why?


[Q] The new flat package format allows me to attach a preinstall or postinstall script to a bundle. How can I get the final installation of the bundle from such a script?


[Q] Is there something I can improve in my script?


Last Updated: 03/26/2020