Questions tagged [pkg-file]

.pkg is a file extension used for installer "packages" on several OS platforms, including Mac OS X and Symbian. The format details are platform-dependent.

70 questions
142
votes
12 answers

How do I uninstall nodejs installed from pkg (Mac OS X)?

I installed NodeJS from pkg file on my Mac. Now I need to uninstall it. Tell me please how to do it. I tried to remove files from this list: lsbom -f -l -s -pf /var/db/receipts/org.nodejs.pkg.bom But node is still on my computer.
Varvara Stepanova
  • 3,489
  • 4
  • 22
  • 26
121
votes
7 answers

How to unpack and pack pkg file?

I have a pkg file created by Install Maker for Mac. I want to replace one file in pkg. But I must do this under Linux system, because this is a part of download process. When user starts to download file server must replace one file in pkg. I have a…
dream2work
  • 1,377
  • 2
  • 10
  • 18
54
votes
4 answers

Uninstall packages in Mac OS X

How can you completely uninstall (remove files that belong to) a certain package in Mac OS X? Can this be done using a command in the terminal? I have installed a .pkg package on my Mac and I am wondering as to how I can uninstall the entire package…
newbieMACuser
  • 847
  • 1
  • 11
  • 19
16
votes
3 answers

How to generate an installer package for Mac app?

How can I create a single installer package for an OS X binary as well as a few configuration and script files? Final folders should look like this: Any help would be appreciated. Thanks.
Devesh
  • 193
  • 1
  • 1
  • 8
12
votes
3 answers

“bad interpreter: Operation not permitted” Error on El Capitan

My team is writing a Mac OS application that needs to call a shell script in an external directory. The application works fine on Yosemite (10.10.3). However, if I run it on El Capitan (10.11.2), the application gets errors like this from the…
Santanu Karar
  • 1,034
  • 1
  • 12
  • 27
11
votes
3 answers

OS X productsign error: Could not find appropriate signing identity

I'm trying to sign an OS X installer package using the command line utility productsign, but get an error. productsign --sign "Developer ID Installer: XYZ" input.pkg output.pkg productsign: error: Could not find appropriate signing identity for…
Ravi
  • 3,718
  • 7
  • 39
  • 57
8
votes
1 answer

Whats the difference between codesign and productsign?

What is the difference between Apple codesign and productsign. I have been playing around with them both and whilst I cannot sign code with productsign it appears I can sign a package with codesign. So two main questions: Whats the difference…
user204088
  • 1,805
  • 3
  • 17
  • 21
7
votes
2 answers

How to pass arguments to package installer from mac terminal

I want to do my installation of pkg file as silent install from mac terminal. So i used the below command to do silent install. sudo installer -store -pkg "/User/MyName/Desktop/helloWorld.pkg" -target / It perfectly installed my application. But i…
santhosh
  • 1,191
  • 4
  • 14
  • 28
7
votes
1 answer

Mountain Lion PKG signing

I have a plug-in which according to the guidelines need not be signed but I also have pkg installer(which installs the plug-in) which has to be signed. So I signed both my plug-in and pkg file, to be on the safer side. Since there is no check for…
Vishvesh
  • 512
  • 8
  • 21
6
votes
2 answers

Does an universal cross-platform installer exists?

I wonder is someone tried to create either kinda open standard for cross-platform installer for an application or the installer implementation? That means you can simply download single file from the website, and it's extension recognizable by any…
AlexM
  • 197
  • 2
  • 7
5
votes
0 answers

Passing variables to pkg's pre install script

Is there a way to install a pkg package, using the installer command line, but setting an environment variable that the pre-script inside the pkg can read while it's being executed? I need to set an environment variable that the pkg's pre install…
cyaconi
  • 121
  • 7
4
votes
1 answer

PKG installer seems signed correctly, but still saying "unidentified developer" on Catalina

we code-sign all executables, the .app and then the final installer (pkg). It works on previous MacOS versions, but sadly, users on MacOS Catalina get the message that the package is from an unidentified developer. I tried to find what's going on…
Volker
  • 428
  • 4
  • 15
4
votes
3 answers

Created a .pkg file in Xcode 4 and cannot run it on my computer

I created a .pkg file of my Mac app using XCode 4. I installed it using the terminal successfully, however when I double click on the .pkg file, I get a message that says, "... can't be installed on this computer". Any suggestions? Thanks. EDIT:…
David
  • 14,205
  • 20
  • 97
  • 144
4
votes
1 answer

Build OSX .pkg file on linux

May I ask what's the practical option to build .pkg file on ubuntu? I was trying xar, but the resulted .pkg file could not be installed on mac, got 'com.apple.installer.pagecontroller error -1' And I was trying to use munkipkg, but it depends on…
lucky_start_izumi
  • 2,511
  • 13
  • 41
  • 61
3
votes
1 answer

Julia package Pkg not found

I have downloaded Julia-1.1.0 (from here), then I executed the binary file (julia-1.1.0/bin/julia) and in the prompt I type using Pkg Julia returns: ERROR: ArgumentError: Package Pkg not found in current path: - Run `import Pkg; Pkg.add("Pkg")` to…
Antonio Ramírez
  • 174
  • 1
  • 2
  • 10
1
2 3 4 5