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
3
votes
2 answers

productsign mac .pkg installer

I need to sign a MacOS installer with .pkg extension. I have a .pfx certificate and added it to Keychain. It contains both certificate and the private key. But when I try to sign this .pkg using productsign utility, it shows an error as…
3
votes
0 answers

Python to modify a .pkg file

My python code need to unpack a .pkg file, modify some file there and pack it again. Any mature python module to suggest? I saw there's pyxar (xarfile), which requires install xar on the machine first. Any other options I could choose? Finally…
lucky_start_izumi
  • 2,511
  • 13
  • 41
  • 61
3
votes
1 answer

check-signature tool fails with message: resource envelope is obsolete (custom omit rules)

Tried to check Gatekeeper Conformance using check-signature tool as described here running the following command: ./check-signature ~/Desktop/folder/test.pkg and got the following output: (c) 2014 Apple Inc. All rights…
KoKa
  • 797
  • 1
  • 14
  • 31
3
votes
1 answer

Custom UI for OSX Packages

I have an OSX flat package being built using a combination of pkgbuild and packagebuild. I need to add a new page in the UI for gathering a small amount of data from the user - a key. And I'm not entirely sure how to accomplish this. I've read…
Shane Kirk
  • 301
  • 2
  • 8
2
votes
0 answers

how to localize app title in mac pkg

I'm creating an app to run on Macbooks. I have successfully localized my app title using the Info.plist and Infoplist.strings so when it is installed, the localized title is displayed correctly in the Applications folder, and when I run the app,…
David Burson
  • 2,947
  • 7
  • 32
  • 55
2
votes
1 answer

Android Market making substantial changes to apk after upload?

I've just uploaded my first app to Android Market. Strangely, there are some major differences between the pkg I installed directly on my phone and the pkg I downloaded from the Market after I uploaded. The icon reverted to the Android icon instead…
Wytze
  • 7,844
  • 8
  • 49
  • 62
2
votes
0 answers

How can I open an unverified pkg file on Mac?

I just got a new Mac Catalina. I'm trying to install git and it's giving me issues. I downloaded git-osx-installer from here: https://sourceforge.net/projects/git-osx-installer/ It download as "git-2.15.0-intel-universal-mavericks.pkg". When I…
gib65
  • 1,709
  • 3
  • 24
  • 58
2
votes
1 answer

How to set application information

I am developing an app using the Qt Nokia SDK. I have googled and searched forums, but I can't seem to find anything about how to set application version. I'm wrapping the sis file using the Nokia smart installer, so I would also like the…
Ikky
  • 2,826
  • 14
  • 47
  • 68
2
votes
2 answers

How to create a config file for node pkg

I use node pkg to create a .exe of my nodejs service: https://www.npmjs.com/package/pkg My question is: how do I make the .exe use a config.js for some setup values? Basic stuff like ip, port, database name etc. Because I have 3 environments, and I…
Paul Kruger
  • 2,094
  • 7
  • 22
  • 49
2
votes
1 answer

Why are .pkg files sometimes wrapped within a .dmg file before distribution?

Many software have a single .pkg (installation package) inside .dmg (disk image), I want to know that why this practice is used. What is the need to have a mountable disk image of a software (i.e a .dmg), even after binding everything in a…
2
votes
1 answer

Mac OSx PKG preinstall script issue

I have a problem with running preinstall script within PKG I created for Mac OS X on linux machine. My problem is, that preinstall script is not executed and installer finishes with sucess, even my script should cause the failure. I have prepared…
2
votes
0 answers

How to unpack pkg file from OSX 10.10 and higher

I tried to extract Essentials.pkg from OS X 10.10 following by solution from this answer. But have no success. I get error gunzip: unknown compression format if i try to extract with cmd: cat Payload | gunzip -dc |cpio -i I get error: tar:…
Maxim Kholyavkin
  • 4,463
  • 2
  • 37
  • 82
2
votes
2 answers

No response when trying to install instrument-control package in octave

I am running raspbian on a Raspberry-Pi 2 B. I am trying to install the instrument-control package in octave 3.6.2.Initially I got a mkoctfile missing error: Installing octave package in ubuntu http://ubuntuforums.org/showthread.php?t=955385 With…
2
votes
1 answer

Mac OS X: ask for configuration during pkg install

I used Packages to create a.pkg installer for a Mac OS X LaunchDaemon. During install, I would like the user to be able to provide a few values for the configuration file. The resulting file is a simple text configuration file which will be sourced…
mivk
  • 13,452
  • 5
  • 76
  • 69
2
votes
1 answer

productbuild --distribution : package xxx.pkg could not be loaded

I'm trying to package an application using the productbuild command to create a pkg file that will hold a license file. Here's how I'm doing it: # Creates the first package productbuild --sign "3rd Party Mac Developer Installer: Tamaggo"…
iDev
  • 503
  • 5
  • 25