Use the Package API to access the current package's installed location.
Get Installed Location