Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [pkg]

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

0
votes
3answers
42 views

how can I delete a pkg file on a mac?

I have a .pkg file for Malwarebytes on my computer. I can't send it to the trash nor delete it in any other manner. I would appreciate any suggestions.
0
votes
0answers
21 views

Where installer pulls environment variables from?

While looking over /var/logs/install.log, I've noticed that whenever I install a pkg, the installer first outputs a bunch of detected environment variables. However the env vars it outputs doesn't ...
0
votes
0answers
33 views

Is there a way to use the Packages app to install items into another app?

I am not entirely sure if this is the right community to ask this question, but I'll ask it anyway. I am currently using the packages app to hold a bunch of extensions for VirtualBox and choose which ...
0
votes
1answer
89 views

10.6.8 Update Combo Failed Unknown Error

I recently received an old iMac 27" aluminum unibody core 2 duo (EMC 2309: 2009 model) that was having troubles with the graphics card after High Sierra installation. I was looking to set it up as a ...
3
votes
2answers
63 views

Is there any way to get a log of all the recently installed files and their respective folder paths and source directories?

I recently installed an open source game. The file type is .pkg . Now, during installation the installer asked for permission to access the system UI server. I didn't knew the reason behind it so I ...
1
vote
0answers
94 views

Cannot upgrade software using a .pkg installer

I have an iMac running High Sierra 10.13.6. I tried to use Google Earth a few days ago and I got an updated software message. I followed the instructions and downloaded a .pkg file. When I run the ...
1
vote
1answer
37 views

Installing to a home folder using a pkg

I'm attempting to create a package using Packages that installs in ~/Applications (because each user can have an instance of the app in question running but it needs a custom port per user as it ...
4
votes
1answer
6k views

Show Package Content option not available in High Sierra on a pkg file

I want to "Show Package Content" of a pkg file which is inside this dmg file : https://desktop.visio.renater.fr/scopia/entry/pic/ClientComponents.dmg So I drag'n'drop the pkg file which is inside the ...
1
vote
1answer
335 views

pkgutil --forget: Error “No such file or directory”

I'm getting a path-location error. $ pkgutil --forget com.apple.pkg.CLTools_Executables Unknown error Error Domain=NSCocoaErrorDomain Code=4 "“com.apple.pkg.CLTools_Executables.bom” couldn’t be ...
1
vote
1answer
287 views

Unpacking a installer is failing with pkgutil tool

when I am trying to unpack installer with (pkgutil --expand xyz.pkg output/path) it says "problem extracting file from package" output/path/XXX.bundle/contents/_codesignature/coderesources What could ...
1
vote
1answer
391 views

pkgbuild productbuild requires admin privilege during pkg installation

I am trying to build a Mac application using xcode for use in OS version 10.8 and above. I've created the product archive(.pkg file) using pkgbuild and productbuild commands. My main goal is to ...
4
votes
1answer
588 views

How can I install hundreds of pkg files?

I have a directory full of pkg files that I need to install. I tried "installer -packages *.pkg" , but that didn't work. Any ideas on how to do this? Do I need to make a metapackage?
1
vote
1answer
422 views

My signed .pkg file is not accepted

I'm struggling with signing my installer to keep Gatekeeper happy. When building i sign the .pkg: productsign --sign "3rd Party Mac Developer Installer: GNXXXXXXXXXX (XXXXXXXXXXX)" ...
0
votes
1answer
243 views

Uninstalling Teamviewer Fully

I have been trying to remove teamviewer fully becuase of some leftover services trying to run the app (which've already been deleted a long time ago). I do run a find command to see what is left from ...
5
votes
1answer
7k views

Debugging “The Installer encountered an error that caused the installation to fail.”?

While trying to install a PKG installer package, I've run into an issue where it refuses to finish installing. The PKG almost finises, but ends with the following error, and does not finish ...
1
vote
1answer
47 views

How can I create an installer for individual files?

I would like to create an installer (.app, .pkg?) for a selection of data files. I need to place them in ~/Library/Application Support/Adobe/CameraRaw I've been playing around with WhiteBox ...
1
vote
2answers
1k views

How do I remove an installed .pkg file

I recently installed this "CH341 Driver" so that I could connect my new chinese Arduino. But when I plug the USB cable, connected to the Arduino, into my computer it crashes immediately. A few ...
0
votes
1answer
187 views

How to uninstall SaltyBeer Skype call recorder?

I wanted to test SaltyBeer Skype Call recorder. So I downloaded saltybeer-mac-installer.pkg and installed it on my OS X 10.11.6. Now when I open Skype, it opens SaltyBeer automatically. Now I want to ...
1
vote
1answer
467 views

Unable to install pkg:s

I'm getting errors installing any pkg files. Seems to be valid for all pkgs, I uninstalled one app and run the pkg installer which fails for an app that was successfully installed 2 weeks ago. I'm ...
1
vote
1answer
192 views

installing node via homebrew vs package

I i initially installed node via the package download at https://nodejs.org/en/.a This has served me well as I have built numerous projects. However recently I have been reading a tutorial that ...
1
vote
0answers
129 views

How can I build an installer for a single data file?

I need to install a single file in ~/Library/Spelling/voikko/, and I want to use Apple's software for it, to get signing and all that stuff correct. Problem is, so far I have found no way of ...
0
votes
1answer
3k views

Can't find installed software

Forgive me if this is a dumb question, but I've tried all sorts of things, and need help. I needed to use some software from the Internet, so I got some installers for them. All of them are .dmg and ...
0
votes
2answers
2k views

OS X command line installer track progress

I am trying to install an application through command line in OS X. This is what I am trying: hdiutil attach app.dmg cd /Volumes/appvolume installer -pkg app.pkg -target "/" This works fine, however,...
2
votes
1answer
745 views

OS X El Capitan – “package is not compatible” error

The build machine used in my project is not based on OS X El Capitan – it is running Yosemite. So far I've never had problems with the generated installer file (.pkg), but on El Capitan, I receive ...
2
votes
1answer
2k views

OS X - how to check if installer is signed

I'm creating installer for my application using pkgbuild and using certificate to sign it. Is there any command which would verify that created .pkg file is really signed (I mean - OS X will install ...
29
votes
5answers
42k views

.pkg for installer hangs on verify

I'm trying to install the Mono MDK, and downloaded the .pkg for 4.2.1 (about 200 MB), when I double click on the package, it opens a "verifying xxxxxMDKxxxxx.pkg" window, which does nothing for over ...
0
votes
1answer
612 views

Get my PKG Installer To Prompt and Store Admin User/Pass

On Mac OSX, the third-party command line tool I have needs to run as super user unfortunately. I'm building a front-end GUI for it. My Qt/C++ application is using QProcess to shell out to Bash and run ...
3
votes
1answer
748 views

pkg file extracting instead of installing?

Recently I noticed my pkg updates are being extracted rather than installed. (for example the MS Office update wanted to extract the file) Is there a way to ensure that pkg files are installed?
3
votes
1answer
2k views

Command to find out the version number of a .pkg file

Does anyone know how to retrieve the version number of a .pkg file which isn't installed yet? I'd like to use something like pkgutil --pkg-info, but that only works for installed packages. I've ...
2
votes
2answers
4k views

Mac package installer installs the folder “Contents” in /Applications instead of the bundle

When I try to use packaging with my .app to create a Mac installer, and I run the installer, it creates me a folder named "Contents" in my /Applications folder, instead the "bundle app" as it should. ...
3
votes
2answers
1k views

How to create pkg which installs files to /usr/local

I tried using Whitebox's Packages to create an installer for a LaunchDaemon. The daemon calls a shell script, which itself sources a configuration file. So what I would like is an installer which ...
2
votes
0answers
773 views

Java 7 Update 55.pkg can't be installed because its digital signature is invalid

I'm trying to install Java in order to use the Safari plugin. The "missing plugin" functionality redirects me to the Java download page, where I downloaded a file named jre-7u55-macosx-x64.dmg, which ...
6
votes
2answers
21k views

Repackaging .pkg files without installing/unpacking

Recently I was tasked with finding out a way to prepare OS X applications for automatic distribution to multiple machines. Most applications require some tampering with their preferences before ...
1
vote
1answer
96 views

Keyboard shortcut to allow opening unsigned pkg file?

I prefer to use keyboard shortcuts rather than the mouse. Is there a a way to define a keyboard shortcut equivalent to Right-Clicking a pkg file and choosing "Open", which warns about opening an ...
3
votes
1answer
15k views

How to create a Package, which runs a shell script?

While searching for a good (better) solution for this Solution, I try to solve my problem with Packages, but with no success. My concrete problem looks simple: Copy a file to /tmp (it's an ...
14
votes
3answers
22k views

Unattended installation of pkg file

Is there any possibility to create a unattended installation of an pkg package? E.g. creating a mpkg and running a script which installed the package via console and installer. Background: I had to ...
10
votes
2answers
6k views

Use pkg-config with Homebrew installed software

I have installed some libraries with Homebrew but if I use pkg-config it does not find them because there are missing .pc files. For example, if you do: brew install opencv and, after it is ...
1
vote
1answer
337 views

PKG Example Scripts

And googling hasn't helped much, I'm trying to find some example shell scripts to help me figure-out an installer.pkg pre- / post-install scripts I've been ordered to build. I have very little ...
1
vote
1answer
19k views

How to download pkg files from iTunes?

I need to download a pkg(ipa) file from the Apple Store (using iTunes, i guess iPhone apps are only in iTunes not in the Store App). How can you download the pkg file(ipa)? (Alternatively, if I ...
1
vote
1answer
316 views

From command line open package installer

From the command line is it possible to open a package installer window (not install the application). I understand I could run the application using sudo installer -pkg ..... -target ....... Instead ...
1
vote
1answer
2k views

Is there any way to list all .pkg packages that I have installed? [duplicate]

Just wondering if there is any Terminal command to do this, because I think my OSX was already messed up with some incompatible .pkg installations. Thanks.
1
vote
2answers
256 views

Is it possible the create a pkg that doesn't require root access (user & password prompt)

The title says it all really, is it possible to create a pkg that can install without the user requiring to enter their password?
2
votes
3answers
896 views

.dmg files organization

Today I needed to view the contents of OS X's SDKs, which are published as .dmg's. To my surprise, I discovered that the structure is as follows : The .dmg contains a hidden .pkg files The .pkg ...
2
votes
2answers
1k views

How to install framework (from pkg file) in a non-standard location?

In brief, my question is this: How can I install a framework from a *.pkg file somewhere other than under /Library/Frameworks (or /System/Library/Frameworks)? Background I want to install a ...
71
votes
2answers
182k views

Installing .pkg with terminal ?

Is it possible to install a .pkg using a terminal ? (I wanted to install an app through ssh).
1
vote
0answers
158 views

OS X Command Line using Pacifist to downgrade Safari on a 10.7 System

I want to downgrade Safari by using a command line script. With a GUI I used the Pacific tool (http://coderwall.com/p/ndm-iw) in order to work around the OS 10.6 requirement. Right now I'm search ...
1
vote
2answers
364 views

Installation of a .pkg file is nowhere to be seen

I have gone through the install process of a .pkg file and when I look for it in /Users/~/Library/Application Support it's nowhere to be seen. I've only recently become a Mac user so it might be a ...
1
vote
1answer
4k views

Foolproof way of extracting .pkg files

I know there are some paid GUI tools that let you do this, but I'm not interested in those. Currently, I'm doing this: gzcat Contents/Archive.pax.gz | pax -r However, there are some pkg files that ...
20
votes
4answers
11k views

Why are so many Mac downloads a .dmg just that contains a single .pkg?

I've noticed that many downloads are a dmg (disk image) that contains a single pkg file (installation package). Usually the pkg seems to be already compressed since the dmg doesn't reduce the file ...
4
votes
2answers
10k views

Any idea what happened to /Library/Receipts in Mac OS X Lion?

Does anyone know why all the .bom files in /Library/Receipts moved to /var/db/receipts?