Questions tagged [pkgbuild]

Build utility for OSX and iOS installer components.

pkgbuild can refer to the OSX/iOS build tool that builds installer component .pkg files. An OSX product installer can be created from multiple .pkg files.

141 questions
0
votes
1 answer

Installing .pkg: determining if the app being updated is presently running?

I'm using the brilliant Mac OS X "Packages" to generate an install a .pkg, and wondered how one constructs a shell script to make sure the application file being updated over isn't presently running (which would seem like a Very Bad Idea).
SMGreenfield
  • 1,680
  • 19
  • 35
0
votes
1 answer

How to include static data files into Archlinux AUR package?

I have a small script that uses some static text files as data source. I want to make Archlinux AUR package for this script. I plan to install the script into /usr/bin/ and static text files somewhere locally ~/.data_files I have several static…
minerals
  • 6,090
  • 17
  • 62
  • 107
0
votes
1 answer

How to enforce Mac package installer to check version?

Based on productbuild's Distribution XML structure, pkg-ref's version attribute is auto-filled by productbuild itself. You can also specify the package version using a --version parameter to productbuild. I made two packages: package A with version…
radj
  • 4,360
  • 7
  • 26
  • 41
0
votes
1 answer

How to prohibit the .pkg installer from searching included .app (s) in locations different from the specified installation dir,

This issue has been discussed several times on Stackoverfl0w, but unfortunately I did not see any really satisfying solution. The situation: (Only included because most previous answers went with the line of "Just dont do it! There is no reason to…
NTG
  • 73
  • 9
0
votes
2 answers

Is it possible to abort a pacman installation from pre_install()

When creating a PKGBUILD file one can execute hooks at pre_install(), post_install(), etc. I now have a custom arch linux pacman package that I need some custom checks done before it is installed to determine if it is safe to install or not. I would…
tkarls
  • 3,171
  • 3
  • 27
  • 27
0
votes
1 answer

osx - remove files as part of pkg installation

Using pkgbuild I create installer for my OSX application. Is there any way to add extra install step, which will delete some files? In this particular example - when I run my application it creates new file in directory where binary is located.…
mszabc
  • 525
  • 5
  • 18
0
votes
1 answer

pkgbuild and moved application

I create an application installer with pkgbuild and productbuild tools on OS X. The package I create installs my application to /Application folder. Now, if I move this application to another location using NSFileManager(using another my app), my…
andrey.s
  • 789
  • 10
  • 28
0
votes
1 answer

pkgbuild error when adding component

I have the following directory structure within my current working directory (CWD): MyAppBundle/MyApp.app MyAppBundle.plist MyAppBundle.plist contains the following:
Ash
  • 2,021
  • 2
  • 26
  • 59
0
votes
1 answer

How to change button text and locations in mac pkg installer page

I have built my pkg in mac using pkgbuild and productbuild. How can we change the text and position of UI buttons in installer pages
MacDeveloper
  • 1,334
  • 3
  • 16
  • 49
0
votes
2 answers

installation is getting failed when i click cancel of authentication page

I made my pkg file with pkgbuild and productbuild. Before giving authentication details, it is going in to installation step and showing message "preparing for installation". Without giving credentials, if i click cancel My installation is getting…
MacDeveloper
  • 1,334
  • 3
  • 16
  • 49
0
votes
1 answer

Where can we change the Description for installation procedure of MAC pkg

I am building mac package using pkgbuild command of my app(Developed in Xcode). when i install package, i see few steps to be followed. Is this default one provided by mac pkg installer or can we customise it. Any help is appreciable.thnx
MacDeveloper
  • 1,334
  • 3
  • 16
  • 49
0
votes
1 answer

How to create pkg installer on yosemite

How to create pkg installer on yosemite. I need an installer for java application which should do some file updates during installation. There is one for Xcode 4 but I'm not sure if this is the right thing to use for yosemite.
Nikita
  • 194
  • 3
  • 10
0
votes
1 answer

XCODE & PKGBUILD create a package that installs a zero-length executable

Following the instructions in, say, Making OS X Installer Packages like a Pro - Xcode Developer ID ready pkg I was able to get my Firebreath plugin project (essentially an executable, but with the suffix .plugin and installed in /Library/Internet…
jonawebb
  • 159
  • 2
  • 8
0
votes
1 answer

Adding files in creating pkg in mac os x

How can I include files needed by preinstall/postinstall scripts when creating .pkg in mac osx? I have performed this command in the terminal and have generated .pkg; however, nothing happens when I double click the generated .pkg file. pkgbuild…
newbieMACuser
  • 847
  • 1
  • 11
  • 19
0
votes
1 answer

Path to Universal User's Library/Color Folder?

I'm building a package that installs a .clr file into a user's library/color folder. The problem is that the following path: ~/Library/Colors/ results in creating a new folder on their macs with my computer's name and the clr. file inside that. If…
KingPolygon
  • 4,753
  • 7
  • 43
  • 72
1 2 3
9
10