0

During installation, I want to get the the absolute path of current installer package (created using package maker).

So that i can able to read the value of plist file(Located in same package path) inside post/pre install scripts during package installation.

So anyone please provide the solution to get the the absolute path of current installer package.

santhosh
  • 1,191
  • 4
  • 14
  • 28

1 Answers1

0

There are some environment variables you can use from inside the pre/postinstall script to get the paths. They are explained in this blog post: http://www.macinstallers.blogspot.in/2012/07/scripting-in-installer-packages.html

Vikram Singh
  • 1,726
  • 1
  • 13
  • 25