.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.
Questions tagged [pkg-file]
70 questions
2
votes
1 answer
Selectively displaying Installerpane of an installerplugin at runtime
I have written an installerplugin to show a custom pane in the pkg installer. I want to display the pane only during first install and hide it when upgrading. I know how to find out if the package has already been installed or not but I am not able…

sraok
- 595
- 6
- 23
1
vote
1 answer
macOS, call uninstall script when drag-and-drop app to trash icon
I'm working on some app that has LaunchDaemon running on the background, and thus it requires some operations to be removed, prior to deleting the data/exe files.
Is there an option to call an uninstall script upon drag-and-drop my app into the…

Zohar81
- 4,554
- 5
- 29
- 82
1
vote
0 answers
After Update, app is not getting restarted cocoa objective c
I am trying to update the mac app which is distributed outside app store so followed the process as suggested here
After downloading the .pkg file i am opening the using [[NSWorkspace sharedWorkspace] openFile:filePath.path]; but after…

jarvis12
- 134
- 9
1
vote
1 answer
Writing a shell script while using "Packages" to make a .pkg file
I really need your help with this:
The thing is: I am trying to build my app into .pkg file, at the same time I want to integrate node.js into my .pkg installation file and it will be installed if the OS doesn't have nodejs.
When I try to…

li haochen
- 45
- 1
- 7
1
vote
0 answers
OSX pkg uninstaller - is it possible to change the "Install" text in the title bar?
I created a separated uninstaller to:
stop service
rm plist file
rm datadir
...
Problem: in the title bar, it's "Install ..." and the welcome title is "Welcome to ... installer".
Is it possible to change the title bar to "Uninstall ..." and the…

quanta
- 3,960
- 4
- 40
- 75
1
vote
0 answers
Get version of .app inside .pkg without extracting (MacOS, NodeJS)?
Is it possible to get version of .app inside .pkg without extracting on MacOS using NodeJS?
Is it possible to do so using other programming languages on other OS. For example, if I copy .pkg file to Windows can I still obtain version of .app inside…

splash27
- 2,057
- 6
- 26
- 49
1
vote
1 answer
Create pkg file in lambda
I'm quite new to AWS S3 and Lambda. Using nodejs 4.3 with Lambda is it possible to pull in multiple files from an S3 bucket and compile them into a single osx flat package(.pkg)?

Cameron Wilcox
- 51
- 1
- 4
1
vote
2 answers
When my pkg runs its Post-installation script, how can I know how that happened?
There are two ways this script can be run: When the user opens the pkg file and goes through the normal GUI setup, or when an admin (or savvy user) runs sudo installer -pkg /path/to/Installer.pkg -target /. For the second one, I want to know when…

Ky -
- 30,724
- 51
- 192
- 308
1
vote
1 answer
How to add a step to electron builder installer in MacOS
I am trying to create a pkg file of my electron application using electron-installer-dmg and electron-packager.
Digging into the documentation of these two (and few other tools), I couldn't find a configuration or solution to add a step in the…

Afshin Moazami
- 2,092
- 5
- 33
- 55
1
vote
0 answers
PackageKit: won't overwrite previous version?
My installer won't overwrite the previous version for some unknown reason. The old version installed on my computer is 0.916 and the new version is 0.92. Here's part of the installer log...
PackageKit: Skipping component "com.XXX.myPlugin"…

pizzafilms
- 3,829
- 4
- 24
- 39
1
vote
3 answers
Build Failed While creating package .pkg file
I am creating a .pkg file using “Packages” application.
Previously I would able to create .pkg file with certificate also but now this give me Build Failed error. while If I remove certificate than I can Build .pkg.
Even I am not able to get any…

kulss
- 2,057
- 1
- 14
- 16
1
vote
1 answer
macOS Installer "Show Files" only "The file listing isn't available"
The Installer has a build-in file browser under file menu. But it only shows "The file listing isn't available".
In the installer log:
Installer[82159]: PFPackage::packageWithURL - can't instantiate package:…

catlan
- 25,100
- 8
- 67
- 78
1
vote
3 answers
Running PackageMaker from command line
I have a .pmdoc file I want to generate a .pkg from.
I have to do it from command line since its an automatic tool.
I looked at questions such as Create PackageMaker project file on the command line, but I can't find packagemaker command…

Mugen
- 8,301
- 10
- 62
- 140
1
vote
1 answer
How to add my kernel driver .kext to my application myapp.app while making MAC installer through package software
I am new to MAC territory. I have made an .app and tested it and works fine.
Problems:
1) I created the .pkg using Package software for my app it is installing in APPLICATION Folder and works fine. But if i add my .kext(kernal) in the…

Amir Raza
- 41
- 6
1
vote
1 answer
Run pkg within dmg C++
Tried searching on Google but can't seem to find any information.
I need to execute a pkg file which exists within a dmg file via code. Reason is software update. I download an update via my application (which is a dmg) and need to run it. On…

Ash
- 2,021
- 2
- 26
- 59