Is there an app which shows contents of a .pkg file and shows which files an installer copies to my mac, what scripts it runs and so on?
Yes, there's a shareware app called
Alternatively, you can download a free QuickLook extension for blazing fast previews of packages. It's called
You can extract package files and sort through their contents without actually installing them. To do this, you can often just right-click on a
If that option is unavailable, you can extract
Hint: you can drag & drop items into the Terminal to print their full path, making this tip easier by typing:
After that, you can go to the output path in the Finder and check out the extracted files.