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
4
votes
1 answer
How to create a PackageMaker pkg that doesn't require admin password?
I am trying to create an installer for a Internet Plugin on Mac OS X with PackageMaker. I'm not picky about the tool I use, but it needs to be free. It'd be nice if I could do everything I want with PackageMaker because CMake/CPack supports…

taxilian
- 14,229
- 4
- 34
- 73
4
votes
2 answers
Uninstaller for a cocoa application
I am using PackageMaker for the installer of my application (which is more than a simple bundle).
I am wondering how to create an uninstaller, where to install it and how to provide to the user a way to launch it.
Thanks in advance for your help,

AP.
- 5,205
- 7
- 50
- 94
4
votes
2 answers
Specifying install location from commandline packagemaker
Being new to packagemaker I assume I am just missing something. It does not seem all the options in the GUI are available from the command line. I have read the man page but maybe I just don't get it.
Of most interest to me is how do I specify the…

Vincent
- 1,579
- 4
- 23
- 38
4
votes
1 answer
Signing a Package in MAC
I have a C++ code which I build on Netbeans (8.0.1) on MAC OSX 10.10.
Now I want to package this binary so I'm using PackageMaker. Once the build on PackageMaker finishes it asks to sign it, I clicked 'Allow'.
Then I open terminal and checked if the…

kande
- 559
- 1
- 10
- 28
4
votes
2 answers
How do I get user input into a PackageMaker package?
I'm trying to create an install package. I've got all my components, and I think I understand most of the process. I want to have an install/set-up script that is run as part of the install. I planned to put it either as a post-install action or a…

Brian Postow
- 11,709
- 17
- 81
- 125
4
votes
1 answer
cp exits with a 64 error status
I am using a preflight bash script in packagemaker :
run cp -pf "/folder/to/my/db" "/Library/Application Support/app/db
The run function (that I found on StackOverflow by the way) :
run() { $*; code=$?; [ $code -ne 0 ] && echo "command [$*] failed…

arnaud
- 113
- 2
- 2
- 8
4
votes
1 answer
Create dmg installer with $HOME/Application folder
I have created script for application installation into root Application folder (/Application), but I'm not able to create the same one for user home folder $HOME/Application (~/Application).
Here is my…

zvjerka24
- 1,772
- 1
- 21
- 27
4
votes
1 answer
How to redirect packagemaker log file output
While an installer (built via packagemaker) is running ... from the menu, we can select Window > Installer Log and then choose to Save it ... but this is not something that can be asked of all those who run the installer.
The installation itself is…

pulkitsinghal
- 3,855
- 13
- 45
- 84
4
votes
1 answer
How can I give a Flat Package (.pkg) an icon which is seen on different computers?
I know it's possible to give a .pkg file an icon which is seen on my Mac, but I want to make it so it's seen by everyone who might get this package.
I've seen this before so I know it's possible, but when opening a .pkg which does have an icon set…

whitfin
- 4,539
- 6
- 39
- 67
4
votes
3 answers
MAC PackageMaker preinstall/postinstall script to get original *.pkg file directory
How do I get the original *.pkg file directory when install it?
I have created a pkg file, and put it with another file(like test.txt) into a same folder, like ~/Desktop/test
And when install pkg file, I want it to copy the "test.txt" file to…

trent.xu
- 61
- 1
- 1
- 4
3
votes
1 answer
Creating an installer for my Mac application
I have this Mac application that consists of 2 files:
firstFile.tst
secondFile
I would like to put them in:
~/Library/Audio/MyProg/
~/Library/Application Support/MyProg/
I would also like the installer to look like them fancy DMG installers…

Tsury
- 729
- 1
- 9
- 24
3
votes
2 answers
Bundle python tool in Cocoa app with easy_install
My Cocoa app requires a Python command line tool to be installed on the user's system using easy_install. Ideally, I'd want to bundle one bash file with my app which I can then run. But as far as I know this is not possible, because packages are…

Fabian Kreiser
- 8,307
- 1
- 34
- 60
3
votes
2 answers
PackageMaker "Result of Script" requirement never passes
I am trying to use the "Result of Script" Requirement to check if a particular process is running, so that I can message the user before installation begins.
My script is a shell script that returns 1 for failure and 0 for success. The problem I'm…

evanflash
- 377
- 3
- 12
3
votes
3 answers
How to run packagemaker from a build script?
I have an Ant script which turns my Java application into a nice Mac Bundle using the JarBundler task. The problem is how do I now turn that into a .pkg file for distribution?
I'm looking at using the packagemaker command line tool (located in…

Mark
- 4,749
- 7
- 44
- 53
3
votes
2 answers
How to install multiple packages and post-processing?
I find myself in a unique scenario -- it has to be, because no searching I do seems to turn up any answers. But maybe there's a MacOS X guru out there that can answer this for me?
I'm using PackageMaker to create an install process for my company's…

optionsanarchist
- 33
- 1
- 3