‘The app could not be installed’ prompt when trying to install the DMG appSolved

Participant
Discussion
6 days ago

Hey everyone,

We’re trying to deploy “PDFsam” application to a fleet of macOS devices in our organization. Since the app is not available on the App Store, we have added the DMG file as an enterprise app. However, on the Hexnode portal, the install attempt fails with the message “The app could not be installed” in Action History.

Any ideas as to what might be causing the failure?

Replies (6)

Marked SolutionPending Review
Participant
5 days ago
Marked SolutionPending Review

Hey, I’ve run into something similar before. When you open that DMG file manually on a Mac, does it pop up with a license agreement before you can access the app?

Marked SolutionPending Review
Participant
5 days ago
Marked SolutionPending Review

Yeah, it does! Could that be what’s preventing the app from installing via Hexnode? Any workaround for this?

Marked SolutionPending Review
Participant
4 days ago
Marked SolutionPending Review

I’m guessing, yes. What we did was manually install the app, then create a new DMG from the installed application, without the license agreement.

Marked SolutionPending Review
Participant
4 days ago
Marked SolutionPending Review

Any chance you can walk me through the process?

Marked SolutionPending Review
Participant
3 days ago
Marked SolutionPending Review

Sure.

Once you have manually installed the application on the device, open Terminal and run the following command to create a folder for the new DMG:

Then, copy the installed app from the Applications folder to that folder:

And, now build the DMG:

You can deploy this DMG file to Hexnode and try it out. Feel free to ask any more questions!

Marked SolutionPending Review
Participant
3 days ago
Marked SolutionPending Review

Thanks much for the detailed help! That worked.

Save