microsoft / shell-intune-samples

Sample shell scripts for Intune admins.
MIT License
670 stars 222 forks source link

MPKG Files are not supported #38

Closed MCsquare10 closed 2 years ago

MCsquare10 commented 2 years ago

MPKG files are not supported, is it possible to support this file type.

Error below: "Detected both APP and PKG in same DMG, exiting gracefully Wed Feb 2 07:51:30 EST 2022 | Un-mounting [/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.q8EamKtI/ Failed to determine temp file type []"

Thanks.

skares commented 2 years ago

This is a real issue for us . too. Please support these kind of packages.

theneiljohnson commented 2 years ago

Can you give me some examples that are provided as mpkg please and i'll add it to my list of things to look at.

MCsquare10 commented 2 years ago

FortiClient is an mpkg, and Bootcamp is another example. Thanks!

theneiljohnson commented 2 years ago

Could you take a look at this sample and see if it helps? https://github.com/microsoft/shell-intune-samples/blob/master/Apps/LatestSampleScript/installIntuneApp3.04.sh