Questions tagged [packagemaker]

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.

184 questions
7
votes
4 answers

Creating package installer in OS X - install Python, NumPy and other dependencies

I want to create a native Mac OS X package installer, the creation of the package is not really the problem, the real deal is the dependencies that have to get installed; I need to install Python, NumPy and Matplotlib (only if the required versions…
El Developer
  • 3,345
  • 1
  • 21
  • 40
7
votes
1 answer

How to automate or programmatically make changes to System Preference settings on Mac OS X

I am trying to figure out how to programmatically change System Preference settings on the Mac OS X. If that is not possible, create some post-installation automation script (using Apple Script or other means) and run it as part of the installer. I…
7
votes
3 answers

How can I build a Mac package on linux? (BOM file problem)

I'm running a business where we are creating email stationeries for people. We have some Mac users that currently have to download a zip file and manually copy that to their mail stationeries directory. I want to automate that process and allow Mac…
user898975
7
votes
2 answers

How to pass arguments to package installer from mac terminal

I want to do my installation of pkg file as silent install from mac terminal. So i used the below command to do silent install. sudo installer -store -pkg "/User/MyName/Desktop/helloWorld.pkg" -target / It perfectly installed my application. But i…
santhosh
  • 1,191
  • 4
  • 14
  • 28
7
votes
1 answer

How do I build an OS X installer package with a custom background with productbuild?

I've got a project that relies on the now deprecated PackageMaker tool to create an installer for OS X. I'm working on updating it to use pkgbuild and productbuild. I'm trying to add a custom background to the installer by passing the --resources…
Cody
  • 2,467
  • 2
  • 21
  • 30
6
votes
1 answer

Running postflight script when installing a package on Mac

I am trying to build a mac package installer from a script and I want to run postinstall and postflight scripts. My script for building the package looks like this: pkgbuild --root MyRoot/MyApp.app --identifier com.myapp.MyApp --scripts Scripts…
user2928287
  • 97
  • 1
  • 1
  • 7
5
votes
1 answer

PackageMaker error could not copy resources to en.lproj

I placed my app bundle in PackageMaker and tried to build it and now I am getting this error: error could not copy resources to en.lproj Any ideas? Thanks Screen Shot:
Michael Wildermuth
  • 5,762
  • 3
  • 29
  • 48
5
votes
1 answer

Is the .pkg installation order within an .mpkg deterministic?

I've created an .mpkg package bundle for Mac OS X from a number of .pkg packages. In the post-flight script of one of the .pkg packages, I want to perform an action which depends on another one of the .pkg packages already being installed. Can I…
talljosh
  • 672
  • 9
  • 21
5
votes
1 answer

Mac PackageMaker "Destination Select" step A) skipping B)Option permanently disabled

I have a software that is bundled using PackageMaker. When i run the installer, the first screen "Introduction" shows up. Clicking on "Continue" takes the user to the 3rd screen "Installation Type" rather than taking the user to 2nd screen…
5
votes
4 answers

How to start application after installation with PackageMaker

I am wondering how to start an application after installation with PackageMaker. I am receiving tons of emails from my users asking me why the app does not start automatically. Thanks in advance for your help, Regards,
AP.
  • 5,205
  • 7
  • 50
  • 94
5
votes
1 answer

Mac PackageMaker - Random reset of owner/group/perms

While developing an install with PackageMaker (XCode 3.2.1 1613, for Snow Leopard), sometimes the permissions, owner, and group that I have set on most (if not all) of the files just vaporize. The result looks like I just added the files to…
Bob Denny
  • 1,306
  • 1
  • 11
  • 18
5
votes
2 answers

Mac PackageMaker - Allow Relocation Issues

I have two issues with Allow Relocation (Package: Xxx, Components): It keeps getting turned on as if by magic. How can I avoid this? I need it off (sub-optimal, I know - see #2) If Allow Relocation is on, the Installer first places the .app into…
Bob Denny
  • 1,306
  • 1
  • 11
  • 18
5
votes
1 answer

Mac Installer Wrong Download Progress

I'm facing a problem with Mac Installer. I have a Distribution package that references other packages. The referenced packages are downloaded during installation time (pkg-ref poiting to a http link). The problem is that the download percentage is…
Raphael
  • 71
  • 2
4
votes
2 answers

Installer built with PackageMaker only sometimes shows destination select screen

I have built a simple installer with PackageMaker 3.0.5. It installs a package into /Applications and some support files into /Library. The distribution is set to easy install only, System volume only. Allow custom location is disabled for all of…
Luke Graham
  • 190
  • 6
4
votes
2 answers

What does PackageMaker's "Include root in package" option actually do?

I'm making an installer for an OS X application, but have trouble understanding PackageMaker's UI. My version of PackageMaker is 3.0.4, running along Lion and Xcode 4.1. One option in particular gets me confused. It's the "Include root in package"…
jjs
  • 1,338
  • 7
  • 19
1
2
3
12 13