DMG app installation failing with "App could not be installed" error messageSolved

Participant
Discussion
6 days ago

Hey everyone,

I’m trying to install a DMG app on my macOS devices that are enrolled in Hexnode UEM, but the app deployment keeps failing with the error: “App could not be installed”.

When I try installing the app manually, the app asks users to accept a Software License Agreement before proceeding. Since we’re pushing this to about 100 devices, manual installation isn’t an option.

Has anyone run into this before? Any suggestions on how to fix it?

Replies (1)

Marked SolutionPending Review
Hexnode Expert
4 days ago
Marked SolutionPending Review

Hi @mo-chou,

You’re right; the issue stems from the Software License Agreement prompt. Because the user needs to manually accept it, the app can’t be installed silently through Hexnode. macOS blocks silent installations for DMGs that include a Software License Agreement.

To fix this, you’ll need to recreate the DMG without the license agreement. Here’s how you can do that:

  1. On a Mac, create a new folder. For example, create one folder named “Test Folder” on your Desktop.
  2. Open the desired DMG app and accept the license agreement.
  3. When prompted to drag the app to the Applications folder, instead drag it into the “Test Folder.”
  4. Now open Disk Utility → File → New Image → Image from Folder and choose the “Test Folder.”
  5. Click Save to create a new DMG.
  6. This new DMG will not contain the license agreement, allowing it to be deployed silently via Hexnode.
  7. Once done, upload this new DMG to your Hexnode portal and push it to your devices.

I hope this helps! If you run into any issues while trying this out, feel free to reach out. Glad to help you further.

Regards,
Ben Clarke
Hexnode UEM

Save