Questions tagged [mpkg]

An OS X meta installer package that can hold other packages inside itself

12 questions
10
votes
3 answers

Differences between OSX's .pkg and .pkg.mpkg installers

I'm fighting with OSX's packageMaker as it doesn't allow me to create a '.pkg'. Instead it's forcing me to make a '.pkg.mpkg'. This seems like a stupid question I should be able to respond with a couple of google searches, but I'm not being able to…
Santi
  • 4,428
  • 4
  • 24
  • 28
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
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…
2
votes
1 answer

How to use productsign with mpkg containing smaller signed pkg files?

I have a parent installer package, say, called Parent.unsigned.mpkg that I would like to sign with OS X productsign. The file Parent.unsigned.mpkg contains children packages called A.pkg, B.pkg and C.pkg, which in turn install Clang-compiled…
Alex Reynolds
  • 95,983
  • 54
  • 240
  • 345
1
vote
1 answer

Make .mpkg so it can be installed by script on Mac OSX

I want to make a .mpkg that can be installed by a script on OSX. When starting the .mpkg always the GUI-dialog shows up. I tried to disable the GUI, but there seems to be no effective way to do so. Does anyone got an hint for me how to do so? Any…
user386347
  • 13
  • 3
1
vote
0 answers

Signed .mpkg file in Mac OS X 10.9.5 appears unsigned when installing in Mac OS X 10.10.1

I have an myFile.mpkg file and signed it in Mac OS X 10.9.5 using the command line utility productsign and the following command: productsign --sign "Developer ID Installer: MyDeveloperInstallerId" myFile.mpkg mySignedFile.mpkg The output when I…
KoKa
  • 797
  • 1
  • 14
  • 31
1
vote
0 answers

Binary OSX installer for Python extension without admin rights

I am packing up a Python extension in an mpkg, to create an OSX installer. The mpkg is then put in a dmg file. This can be done easily with distutils and bdist_mpkg: python setup.py build_ext python setup.py bdist_mpkg hdiutil create -layout NONE…
Gabor Csardi
  • 10,705
  • 1
  • 36
  • 53
0
votes
1 answer

How to create a Mac .pkg from python which supports multiple versions of OSX

I am trying to create a .pkg installer for a python application (specifically Spyderlib). This is not an app but a python package and a command line executable that have to be copied to specific locations. However, the location depends on the…
mangecoeur
  • 893
  • 1
  • 6
  • 8
0
votes
1 answer

When adding a custom plugin to a macOS package, how to make it follow the appearance setting of the operating System?

After many years, I reopened this legacy Apple Sample Code that is an example of custom installer plugin. The project is so old that ships with a test package which is in the legacy (Bundle) format, and its resource file was a legacy .nib, that…
Alfonso Tesauro
  • 1,730
  • 13
  • 21
0
votes
1 answer

Applescript from PackageMaker

This is my first time using packagemaker. Basically, I need to copy some files to some folder, and then open photoshop and load a .atn file. I have the applescript written but how can I execute this applescript from package maker? Thanks.
user635064
  • 6,219
  • 12
  • 54
  • 100
0
votes
0 answers

can we changed pmkg installer file extension

I am new in mpkg installer. when we create a mpkg installer from GUI it also create a .pmdoc workspace. where the file extension is .xml. my question is that can we change the files file extension as txt or other format. if yes is it possible to…
monu
  • 27
  • 1
  • 9
-1
votes
1 answer

Install a 3rd party framework using AppleScript from a package

My application depends on another third-party framework and I need to make sure the framework is installed before my application runs. I am using AppleScript to check whether the framework is installed or not. I am packaging my application using…
lostInTransit
  • 70,519
  • 61
  • 198
  • 274