-
Notifications
You must be signed in to change notification settings - Fork 15
Description
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:
- Install any existing version of kDrive on a macOS machine.
- Deploy
kDrive-3.7.9.1.pkgvia Munki (or runinstaller -pkg kDrive-3.7.9.1.pkg -target /as root) while kDrive is still installed. - Let Munki/macOS
installerrun non-interactively (no user session / standard user, no admin rights to run the GUI uninstaller). - 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
preinstallscript that silently uninstalls the previous kDrive installation before the new version is installed inpostinstall.
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: ------------------------------------------------------------------------------