Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 1860

.pkg files are used by Installer which is an application included in Mac OS X which extracts and installs files (usually application installs).

2 votes
Accepted

Installing to a home folder using a pkg

pkgbuild and productbuild Try building the package using the newer pkgbuild tool. You can pass --install-location <install-path> as part of the command. You may also find productbuild useful to know …
Graham Miln's user avatar
  • 44.6k
2 votes

Repackaging .pkg files without installing/unpacking

I am not aware of any Apple recommended tools to edit existing package, pkg or mpkg, files. …
Graham Miln's user avatar
  • 44.6k
2 votes

Does a Installer Package guarantee that all files are tracked?

There is no official answer, because it is not a feature offered by macOS's Installer. Most packages are digitally signed; if problems are found, the signing organisation can be contacted and held res …
Graham Miln's user avatar
  • 44.6k
4 votes
Accepted

Is it possible to execute the package (located in FTP) from terminal of Mac

Download the file to the local computer: /usr/bin/curl https://www.example.com/mypackage.pkg > /tmp/mypackage.pkg Install the downloaded file: /usr/sbin/installer -pkg /tmp/mypackage.pkg -target / … This approach assumes: The software is distributed as a flat .pkg file. You can host the package somewhere privately. …
Graham Miln's user avatar
  • 44.6k
4 votes
Accepted

Signed pkg using productbuild --distribute but codesign says "code object is not signed at all"

Use spctl, not codesign The codesign tool does not work with package files, .pkg. … Use the spctl tool instead: /usr/sbin/spctl --assess --ignore-cache --verbose --type install <pkg-path> Alternatively, Installer.app You can also check the package certificate using Installer.app: …
Graham Miln's user avatar
  • 44.6k