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
1
vote
1 answer
question about PackageMaker and scripting
I am using PackageMaker to create our installer. I want the installer to execute a script that is in:
${INSTALL_DIR}/${APP_NAME}/resources/script
I guess I don't really get how the 'scripts' work in PackageMaker and Apple's documentation doesn't…

OZG
- 509
- 7
- 19
1
vote
1 answer
Running sudo command in post install script from .pkg file (to install a kext)
I'm using Packages to create an installer that places a .kext file in /Library/Extensions. Then, my post-install.sh file tries to load it as such:
#!/bin/bash
sudo kextload /Library/Extensions/mykext.kext
I tested my installer, but I get a fail at…

user339946
- 5,961
- 9
- 52
- 97
1
vote
2 answers
Install button disabled while installing application
I am using PackageMaker 3.0.4 & Mac OS Snow Leopard.
Successfully make setup by PackageMaker for Cocoa Application.
When i try to install application, At Installation type step, install button remain disabled.
I have set User sees to "Easy Install…

Hiren Gujarati
- 1,039
- 14
- 32
1
vote
3 answers
Running PackageMaker from command line
I have a .pmdoc file I want to generate a .pkg from.
I have to do it from command line since its an automatic tool.
I looked at questions such as Create PackageMaker project file on the command line, but I can't find packagemaker command…

Mugen
- 8,301
- 10
- 62
- 140
1
vote
2 answers
PreInstall script execution failed during installation using packagekmaker
I have created pkg using packageMaker. It contain preinstall and postnatal script along with other plugin files. when i am trying to install it, its get installation failed message. I did research and find that preinstall scripting is failing this…

SK_OS
- 11
- 1
1
vote
1 answer
Can DMG installer support Scripts?
I want to create MAC installer and would like to know which type of installer suitable for my requirements?
My Requirements are
I have bash script which does following operation
Get Hardware ID and some details specific to the hardware
Construct…

baluchen
- 749
- 3
- 11
- 18
1
vote
1 answer
packagemaker command line: ERROR no packages to build
Pulling my hair out over this one (and it's pretty short, so not easy!)...
I have an existing .pmdoc file which I can't build from the command line - PackageMaker returns "ERROR: No packages to build." On my continuous integration machine, I can…

jeremysshaw
- 11
- 1
1
vote
1 answer
Conditional Postinstall Script
I'm creating a mpkg for OS X 10.6 - OS X 10.9. I want to create a post-install script that checks the OS version and runs a command based on the result
My pseudo code is:
if the OS version is equal to or less than 10.6.8 then
--command…

rogerFernand
- 119
- 3
1
vote
0 answers
Why Pkgbuild Relocates the .app
Can any one help me..........
I tried to create a package using pkgbuild. It creates the package properly and installation is also works fine, but when we saw the installation location everything is copied except .app.
Installation log shown .app…

user2262462
- 21
- 6
1
vote
1 answer
How to pass data to a file while Package installation on mac
I am making an app in python. Using python 2.7 on mac osx 10.8.5. I converted python code into an app using py2app. Then I converted myapp.app into package myapp.pkg using Packages.
I am using a configuration file which I kept in…

imp
- 1,967
- 2
- 28
- 40
1
vote
1 answer
How to run multiple DMG files in one installer using Iceberg or Package Maker?
I am trying to create a Mac Installer to streamline the process for my end users.
The idea is that they could just run one installer that would take them through the process of installing 5 different pieces of software.
Another complicating factor…

user2972067
- 11
- 1
- 3
1
vote
1 answer
How to edit a file in an app installed through Packages on mac osx
I am making an app in python on mac osx which needs changes in config.cfg file. I converted the python script into myapp.app by using py2app. I included my config.cfg file in Resources location of myapp.app through setup.py. Then, I used Packages to…

imp
- 1,967
- 2
- 28
- 40
1
vote
0 answers
Failed to run Mac app after being installed by PackageMaker-based installer, Only fails on multiple user accounts machine
I have prepared mono app bundle. Then I used Apple's PackageMaker for making an installer.
The installer has post script which fixes some relative symbolic links inside the bundle folder after being installed in /Applications.
I've tested the…

Assem
- 516
- 3
- 10
1
vote
1 answer
PostInstall script execution failed packagekmaker
I have PostInstall Script Named postinstall. I have added in Post install section.When I try to build it it build successfully but with warning "User 504 does not match 502 of root volume for /Library/Internet Plug-Ins...make sure to have disk…

Vikram Ranabhatt
- 7,268
- 15
- 70
- 133
1
vote
1 answer
How to insert customize check condition (eg JRE Check) in Package Maker, Mac
Hi I am using Mac 10.6 i.e. snow leopard. I used Package Maker to create installer for my own application. The installer works fine. My application wants minimum JRE 1.6 (Java Runtime Environment). I want if my system do not have JRE1.6 or higher…

Sunil Kumar Sahoo
- 53,011
- 55
- 178
- 243