Skip to content

kDrive installer fails in Munki deployments when previous version is present #1264

@loicpipoz

Description

@loicpipoz

Note: Please write your issue only in english

Description
When deploying kDrive via Munki (managed macOS software deployment), the official kDrive-3.7.9.1.pkg fails to install if a previous kDrive installation is present.
The package expects the user to manually run /Applications/kDrive/kDrive Uninstaller.app before reinstalling, which is not possible in an unattended, non-admin managed environment. As a result, the pkg install fails with exit code 1.

Steps to reproduce
Steps to reproduce the behavior:

  1. Install any existing version of kDrive on a macOS machine.
  2. Deploy kDrive-3.7.9.1.pkg via Munki (or run installer -pkg kDrive-3.7.9.1.pkg -target / as root) while kDrive is still installed.
  3. Let Munki/macOS installer run non-interactively (no user session / standard user, no admin rights to run the GUI uninstaller).
  4. See the installation fail.

Expected behavior
The official kDrive pkg should be able to upgrade an existing installation in a non-interactive way, without requiring a manual GUI uninstall by the end-user.

Ideally, the pkg should:

  • Either support installing over an existing kDrive installation, or
  • Include a preinstall script that silently uninstalls the previous kDrive installation before the new version is installed in postinstall.

This would make kDrive compatible with standard macOS software deployment tools (Munki, Jamf, etc.) in managed environments.

Screenshots
Not applicable; the issue is visible in the installer/Munki logs.

Logs
Example Munki / installer output:

Dec 05 2025 09:17:48 +0100     Install of kDrive-3.7.9.1.pkg failed with return code 1
Dec 05 2025 09:17:48 +0100 ERROR: ------------------------------------------------------------------------------
Dec 05 2025 09:17:48 +0100 ERROR: installer: Error - Veuillez le désinstaller avant de l'installer de nouveau
Dec 05 2025 09:17:48 +0100 ERROR: ------------------------------------------------------------------------------

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions