0
votes
2answers
49 views

How to create pkg which installs files to /usr/local

I tried using Whitebox's Packages to create an installer for a LaunchDaemon. The daemon calls a shell script, which itself sources a configuration file. So what I would like is an installer which ...
4
votes
2answers
670 views

Repackaging .pkg files without installing/unpacking

Recently I was tasked with finding out a way to prepare OS X applications for automatic distribution to multiple machines. Most applications require some tampering with their preferences before ...
1
vote
1answer
760 views

How to create a Package, which runs a shell script?

While searching for a good (better) solution for this Solution, I try to solve my problem with Packages, but with no success. My concrete problem looks simple: 1. Copy a file to `/tmp` (it's an ...
7
votes
3answers
2k views

Unattended installation of pkg file

Is there any possibility to create a unattended installation of an pkg package? E.g. creating a mpkg and running a script which installed the package via console and installer. Background: I had to ...
0
votes
1answer
2k views

How to download pkg files from iTunes?

I need to download a pkg(ipa) file from the Apple Store (using iTunes, i guess iPhone apps are only in iTunes not in the Store App). How can you download the pkg file(ipa)? (Alternatively, if I ...
1
vote
1answer
82 views

From command line open package installer

From the command line is it possible to open a package installer window (not install the application). I understand I could run the application using sudo installer -pkg ..... -target ....... Instead ...
0
votes
1answer
195 views

Is there any way to list all .pkg packages that I have installed? [duplicate]

Just wondering if there is any Terminal command to do this, because I think my OSX was already messed up with some incompatible .pkg installations. Thanks.
1
vote
2answers
495 views

How to install framework (from pkg file) in a non-standard location?

In brief, my question is this: How can I install a framework from a *.pkg file somewhere other than under /Library/Frameworks (or /System/Library/Frameworks)? Background I want to install a ...
5
votes
1answer
12k views

Installing .pkg with terminal ?

Is it possible to install a .pkg using a terminal ? (I wanted to install an app through ssh).
1
vote
2answers
222 views

Installation of a .pkg file is nowhere to be seen

I have gone through the install process of a .pkg file and when I look for it in /Users/~/Library/Application Support it's nowhere to be seen. I've only recently become a Mac user so it might be a ...
1
vote
1answer
2k views

Foolproof way of extracting .pkg files

I know there are some paid GUI tools that let you do this, but I'm not interested in those. Currently, I'm doing this: gzcat Contents/Archive.pax.gz | pax -r However, there are some pkg files that ...
8
votes
3answers
4k views

Why are so many Mac downloads a .dmg just that contains a single .pkg?

I've noticed that many downloads are a dmg (disk image) that contains a single pkg file (installation package). Usually the pkg seems to be already compressed since the dmg doesn't reduce the file ...
1
vote
2answers
3k views

Any idea what happened to /Library/Receipts in Mac OS X Lion?

Does anyone know why all the .bom files in /Library/Receipts moved to /var/db/receipts?
2
votes
2answers
15k views

Installing from a .pkg or .mpkg file on Mac OS X Lion

I have a strange problem since upgrading to Lion: Some .pkg and .mpkg files won't open the installer but instead will open the terminal, and no installation takes place. The most recent example is the ...
29
votes
6answers
76k views

How can I open a .pkg file manually?

Some applications come in .pkg files, and ask for you administrator password, even if all they do is copy the binary to /Applications. I like to have my applications in ~/Applications, and I do not ...