XPackager 1.6.0 — signed and notarized macOS installers

For anyone who has not come across it: XPackager builds macOS installer packages — signed, notarized and stapled .pkg files — from a project you set up in a window, without writing a line of pkgbuild or productbuild. It is written in Xojo, on top of VDSTools, and it needs macOS 15 or later. Its own package is built by itself.

Three things in this version.

A licence for those who support it

XPackager is donationware and stays that way: nothing is locked, there is no trial version and no reserved feature. A donation now comes with a licence in your name, sent as a document you double-click — XPackager registers it and thanks you by name. Settings ▸ Licence shows the state and reinstalls a document you have filed away.

Once the licence is registered, the build log stops adding its reminder line after a successful build. That line is the only reminder in the whole application: no window, no delay, no nag at launch.

Follow a copy already installed

Each component now decides whether its install location is honoured. Off — the default — the package installs where you said. On, the Installer looks for the same bundle identifier elsewhere on the disk and installs over the copy it finds.

This one was asked for here on the forum, and the reason is a good one: trying out your own installer is painful when a working copy sitting in the build folder keeps catching the install instead of /Applications.

It is Apple’s BundleIsRelocatable key, and XPackager now writes it in every case — even when the value you ask for is the one pkgbuild would have taken by itself. That default has changed along the way: measured on macOS 26 (InstallCmds-883), pkgbuild already writes relocatable="false" when left to itself. Without the component plist, the same project would therefore give two different packages depending on the machine that built it.

Quitting without a pointless question

Opening XPackager and quitting no longer asks you to save an empty document — an empty document is not a modified one. A project pre-filled from a template is still protected: its contents did not come from the keyboard, but they would be lost without a word.

Where to get it

Questions and bug reports are welcome, here or in the repository’s issues.

So, if I understand you correctly, an installer built with XPackager can also be used to update an app previously installed by overwriting the app bundle in the /Applications folder?

If so, what happens if my customer happens to have my app still open when they run the new installer?

Can the installer detect the running state of the target app and then prompt the user to close the running app first?

I hope my question makes sense.