PackageMaker is a utility for creating installer packages to be used with Mac OS X. Earlier, it was bundled with Apple's Xcode developer tools but with release of XCode 4.3, it comes in separate Auxiliary Tools package. It supports both GUI mode and command-line mode of creating installer packages for MacOS.
Questions tagged [packagemaker]
184 questions
3
votes
0 answers
Mac OSX 10.6.4 - postinstall/postflight scripts fine in single pkgs but not in metapkgs
I'm new to Mac OSX dev, and I'm having trouble with building a metapackage.
I have 7 pkgs which I want to wrap up into a metapkg.
When I executing each package separately everything works as expected, all scripts run etc.
However, when the same…

Mark Collins
- 31
- 1
3
votes
0 answers
Check if an application is running with PackageMaker
Using PackageMaker, how do I check if an application is running and pause the installation if it is?
If it matters, this is not the application I am trying to install that I am checking for since I am installing a plugin.

David Beck
- 10,099
- 5
- 51
- 88
3
votes
2 answers
Changing icon of package created by package maker
I have created package (.pkg) file using packagemaker ver 3.0.4. Is it possible to provide custom icon to the .pkg file. Can some one help me how this can be done ?
Thanks in advance.

Unicorn
- 2,382
- 6
- 29
- 42
3
votes
1 answer
Can you use the PackageMaker command to create an installer from a list of files?
I want to (periodically and automatically) create an installer from various files and folders that are in many places. But, I can't figure out how to supply the packagemaker command with all the paths of the items I want to install.
This is for…

zekel
- 9,227
- 10
- 65
- 96
3
votes
3 answers
Add registration dialog to PackageMaker
I'm currently in the process of writing a Mac PackageMaker-based installer for an application that I had previously distributed for Windows using an NSIS installer.
In NSIS, I was able to create a customized dialog that allowed the user to enter…

cdmckay
- 31,832
- 25
- 83
- 114
3
votes
2 answers
Go, Golang : Program, Package Structure for Command Line Interface
This is newbie question... Let's say I have a Go code in a directory(repository initiated here as root) called "myprogram". And I write some packages divided in several sub-directories.
Then I have
repository, root directory
myprogram
-----------…
user2671513
3
votes
3 answers
delete packages of domain by adb shell pm
There is a command to ease the pain of managing packages for Android phone,
adb shell pm uninstall org.kde.necessitas.example.one
adb shell pm uninstall org.kde.necessitas.example.two
But I have many phones and just want to delete all packages from…

Saeed
- 550
- 1
- 7
- 12
3
votes
1 answer
PackageMaker Troubles
My PackageMaker project was generating a .mpkg file, but then, all of the sudden, when I go to build, it only generates .pkg files. The .mpkg files are actually directories into which I place my custom installer bundle along with an…

Matt Long
- 24,438
- 4
- 73
- 99
2
votes
2 answers
Mac installer package - how to run scripts as root or admin? (postflight)
I have created the Mac Package in order to install some of my stuff. I have the postflight script that is supposed to copy over some data to /Library/Application Support/Apple/Mail/Stationery/Apple/Contents/Resources/Stationery/Contents/Resources/ -…
user898975
2
votes
1 answer
Understanding my install.log file
I've just cracked my install.log file(s) for the first time and I could use some help understanding the anatomy of the file. The thing I need to understand is the significance of the bracketed number.
Example:
Jun 5 08:16:13 My-MacBook-Pro…

Jeff Severns Guntzel
- 657
- 3
- 10
- 19
2
votes
0 answers
PackageMaker is failing with Invalid Certificate in Mac os X
I have developed one Installer Package using PackageMaker which installs different components in user machine. After signing the package its failing in another user machine with following error in logs. It works wihout any issue with un signed .pkg…

batwadi
- 1,836
- 7
- 29
- 42
2
votes
2 answers
Using scripts in PackageMaker (Mac OS X)
I'm trying to build an install package on Mac for my application(s) (there are two .app-s). One of them is a GUI and the other is an agent (service). The install package must run a script (that's the only way I know it can be done) at the end of the…

Feoggou
- 149
- 3
- 11
2
votes
2 answers
Has anybody actually used PackageMaker for creating MacOSX install packages? If so am I just using it wrong?
I'm using PackageMaker 3.0.4 to make an install package that includes .kext and .plugin files that need to be installed to system directories. My goal is to create a .pmdoc
I just can't believe that anybody is actually using it because I have hit…

Will Baker
- 2,747
- 4
- 20
- 17
2
votes
1 answer
Run a Python script from PackageMaker in OSX
I'm having a difficult time finding any decent documentation for packaging on OSX. My package needs to run a Python script that will do some launchd magic right after the app is installed. I tried using -s scripts with packagemaker and put my script…

Rafe Kettler
- 75,757
- 21
- 156
- 151
2
votes
1 answer
Apple PackageMaker CLI: Is there any way to include Postinstall Actions?
I have a PackageMaker .pmdoc designed in the PackageMaker GUI. The top level package item on the sidebar (above the contents) has two Postinstall Actions. They're "Open File" actions.
When I build the package inside the PackageMaker GUI, the…

jbrjake
- 174
- 1
- 8