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
198
votes
5 answers

Making macOS Installer Packages which are Developer ID ready

Note: This is for OS X Installer packages only, packages for submission to the Mac App Store follow different rules. Because of Mountain Lion's Gatekeeper I finally had to take my PackageMaker build script behind the barn and shoot it. PackageMaker…
catlan
  • 23,677
  • 8
  • 64
  • 74
21
votes
5 answers

Uninstaller for package on Mac OS X

As a service to my users I would like to provide an uninstall script to completely remove all traces of my application on Mac OS X. The application is installed using a package rather than just being dragged into the Applications folder because it…
villintehaspam
  • 7,990
  • 6
  • 38
  • 75
16
votes
3 answers

Using PackageMaker to run a script on install

I have an app I need to create an installer for, and all the installer needs to do (besides copying the app) is run a script (or executable) that is not part of the app itself. Any help on how I can do this? I see in the Requirements tab there is a…
Abdullah Jibaly
  • 47,520
  • 35
  • 114
  • 192
15
votes
3 answers

How to silently install a pkg file in Mac OS X

I am developing a Mac OS X application(cloud printing application). To run my application i need some support drivers. So i packed those drivers and my application using package maker software. And i created a pkg file. It working fine as a…
santhosh
  • 1,101
  • 3
  • 13
  • 27
14
votes
4 answers

Porting PackageMaker command line build installer to pkgbuild

I've been attempting to port a Mac PackageMaker command line build to pkgbuild and productbuild but I'm stuck. Unfortunately I haven't found much of anything documenting how these new programs work except for this StackOverflow post and the…
Brent Matzelle
  • 3,715
  • 3
  • 24
  • 26
11
votes
2 answers

How do you author Mac package to install without requiring admin privileges on Lion?

I'm trying to understand how to fix my Mac package developed in Packagemaker (that comes with Xcode 2.4.1) to install on OS Lion 10.7 without requiring admin privileges when it is being run as a standard user. In 10.4, 10.5, 10.6, I was able to…
Brian
  • 111
  • 1
  • 3
11
votes
4 answers

Where is PackageMaker? How can i make package installer?

I'm making Development tool which needs Git, Heroku, Python, Ruby. So I need package installer to check and install git and heroku toolbelt, if those are not exist. In my guess, I can use package installer in XCode. But I can not find package…
JD Yang
  • 351
  • 2
  • 3
  • 15
10
votes
2 answers

Add app to OSX "Login Items" during a Package Maker installer postflight script

I need a way to add an application to the Login Items from a postflight script which is run as part of my installer. It needs to work on 10.5+. Preferably, it would work in a bash script. My application already requires administrative rights. The…
blak3r
  • 14,939
  • 14
  • 72
  • 91
10
votes
4 answers

How to install ffmpeg and an app together on a Mac?

I have an electron app built and packaged for macOS in a .app file. The app requires ffmpeg to be installed on the end-user's computer to be used. Currently, I've had to manually install ffmpeg on each end-user's computer to run the app. I want to…
Patrick
  • 1,290
  • 1
  • 16
  • 33
10
votes
2 answers

PackageMaker for creating Mac packages on Windows/Linux

We need to build Mac packages on the fly and it would be convenient if there is a way to create the same on Windows or Linux platform instead of using PackageMaker on Mac. Any ideas?
Vivek V
  • 103
  • 1
  • 4
9
votes
4 answers

productsign error: SignData failed: CSSMERR_CSP_NO_USER_INTERACTION

When signing an app from an ssh terminal session, I am getting the following error: productsign[29321:707] SignData failed: CSSMERR_CSP_NO_USER_INTERACTION (-2147415840) productsign was working until recently. How do I get around this error?
Danny Schoemann
  • 1,222
  • 24
  • 37
9
votes
1 answer

OSX installer Package plugin

I am trying to package an application I have been working on using OSX. I have the package created and I can do some basic (check system values etc) checks. What I now want to do is to gather end user data during the install so I can create a custom…
Matt Seymour
  • 7,802
  • 6
  • 52
  • 95
8
votes
3 answers

Are PackageMaker installations with preinstall scripts broken on Snow Leopard?

Everything worked on 10.5, but now my PackageMaker installation project is broken. I've been fighting a problem for a few days now, and either Snow Leopard (OS X 10.6.1) has broken PackageMaker installations I am lacking a very, very basic tidbit…
Stu Thompson
  • 36,763
  • 19
  • 104
  • 155
8
votes
0 answers

Using packagemaker with cpack for Mac OS X

I need to create installer for a product for Mac OS X using CPack with PackageMaker as the generator. I have done some small work, but I have many things that I want to find out. set(CPACK_PACKAGE_NAME "MyApp") set(CPACK_PACKAGE_VERSION…
nikolakoco
  • 1,253
  • 1
  • 11
  • 21
7
votes
0 answers

Passing arguments or environment to Mac installer script

I tried to write installer with packagemaker which runs a shell script during installation. I want to pass some arguments to the shell script during silent mode installation. Something similar to $installer -pkg MyInstaller.pkg -my_argument1…
user1119324
  • 141
  • 1
  • 2
1
2 3
12 13