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
1
vote
3 answers

Is it possible to have PackageMaker build an installer without "packaging" the content at build time?

I have content to be installed, but it's file and folder layout is determined by the brittle, old, Windows installer. I can't fundamentally alter the structure, and I'd prefer not to alter it at all. I can't put it in a PackageMaker package and…
zekel
  • 9,227
  • 10
  • 65
  • 96
1
vote
0 answers

modify PackageMaker installer variables from a script

I am attempting to create an Mac OS X installer (tried both PackageMaker and Packages) which does two things on install: Check if a certain application is installed (by looking through the folder structure in the Applications directory) and set the…
1
vote
1 answer

Javascript in Distribution.xml

I'm curious where can I find a list of objects along with their methods which I can use in javascript functions for Distribution.xml part of mac os package. For example, I've studied iTunes Distribution.xml and found system.files.plistAtPath("...")…
ixSci
  • 13,100
  • 5
  • 45
  • 79
1
vote
1 answer

Using PackageMaker (OS X) to create an installer for a make project

Ok, so the background, I've downloaded myself a copy of http://www.opensource.apple.com/source/curl/curl-68/ and I've configured, compiled and installed it on my own machine, now what I want to do is make a simple redistributable in the form of a…
Peter Fox
  • 1,809
  • 2
  • 20
  • 34
1
vote
1 answer

Custom Mac Installer Overwrite /Library/Application Support File

My installer places a file into /Library/Application Support/AppName. As a final step of the install process in a custom installer plugin (Objective-C code) I check for a more recent version of that file. If it exists, I download it and then attempt…
Matt Long
  • 24,438
  • 4
  • 73
  • 99
1
vote
2 answers

Adding .app to dock using package maker

I would like to create a package using package maker that when installed adds the .app to the dock.I have tried the below code which works fine when executed from the terminal:- Apples-MacBook-Pro-2:~ apple$ defaults write com.apple.dock…
Sumodh Nair
  • 1,656
  • 1
  • 11
  • 34
1
vote
1 answer

How to build a Mac OS X Installer Package from these files?

Already tried many ways: pkgbuild, productbuild, PackageMaker, Packages application... The structure of the flat package that I want to build: Distribution - xml script MacBookPro2011EFIUpdate.pkg - flat package Resources - resources folder,…
Jake Badlands
  • 1,016
  • 3
  • 23
  • 46
1
vote
1 answer

PKG can't silent install on Mac Os 10.5

I have made an Installer by PackageMaler3.0.6 on Mac OS 10.8. Also I have add a JavaScript function in Distribution,This function use for detect the certain App is running or not. Some code like this: var allProcess = new Array(); allProcess =…
ericdm
  • 38
  • 4
1
vote
1 answer

Access KeyChain from PackageMaker

Is it possible to store certificates into the key chain as part of installation created with PackageMaker? I would like to provide an installation which inserts the certificates into the key chain on Mac OS X.
Jurica Krizanic
  • 1,072
  • 2
  • 11
  • 26
1
vote
2 answers

Mac OS X: Refreshing service menus works in Terminal but not in post-install-script

I have an OSX application providing a service menu to other applications. This works fine so far, the menu is activated and available after a user installed the app and logged out and back in. (see similiar post) I know the log-out-and-back-in is…
seb
  • 196
  • 2
  • 8
1
vote
1 answer

How do I copy a config placed along side a .pkg file in dmg. Can't access it from PackageMaker "preflight" script

My Question I want to make my installer copy a config file is placed in same directory as the PKG. The .pkg + config file would be distributed as a DMG. I need the installer to copy this config file to a particular folder as part of install process.…
blak3r
  • 16,066
  • 16
  • 78
  • 98
1
vote
0 answers

Mac Plugin for Sketchup: Should it be an "App" or a package?

Ok, so I have a bit of a quandry... First, allow me to describe what I am doing: I have a plugin for Sketchup that I have created. This plugin consists of some Ruby scrips that need to be installed into the Sketchup directory, there is no actual…
1
vote
2 answers

Choices in packagemaker

I'm currently making an installer with packagemaker. I've created my project and I created multiple choices. Choice 1 always needs to be installed but there also needs to be chosen between 6 other choices. So I would like to configure that you can…
user1000584
  • 67
  • 2
  • 12
1
vote
0 answers

Setting file meta data on .mpkg packages generated in PackageMaker (Mac OS X)

I am generating my installer file (.mpkg) using PackageMaker and would like to add things like version and copyright info to the .mpkg file, such that they are viewable via "Get Info" in the Mac OS X finder. Is there a way to do this?
Locksleyu
  • 5,192
  • 8
  • 52
  • 77
1
vote
1 answer

AppleScript cannot remove files from /Library

I write an AppleScript: to check if two specific dictionaries (File1 and File2) files exit in /Library/Dictionaries/ if either of the two files exits, then completely delete that file and the other The script works fine in AppleScript Editor. I…
Niamh Doyle
  • 1,909
  • 7
  • 30
  • 42