Unable to install a particular app using Munki

66 views
Skip to first unread message

Aakash Gupta

unread,
Oct 9, 2024, 12:43:56 PM10/9/24
to munki-discuss
Case:
Currently we have an application (Adobe Reader DC) and with pre and post install script already imbedded in it.
Whenever we are trying Munki to install it then it shows as successfully installed (from MSU logs) but the package shows as corrupted.
When we try to manually install (outside Munki) the package then it installs fine, and we are able to use the application.

From the install logs we are seeing permissions related issue whenever the embedded post install script runs.

Also, if I just copy the post and preinstall script from the package and add it to the munki scripts then it works but our use case is that package is executed with the scripts not being exposed to the end user.

Installlogs using munki.md
results on manual and munki install.docx
install log manual install.md
msu munki logs.txt

Gregory Neagle

unread,
Oct 9, 2024, 12:54:58 PM10/9/24
to 'Gregory Neagle' via munki-discuss
"file://localhost/Library/Application%20Support/AirWatch/Data/Munki/Managed%20Installs/Cache/Adobe%20AcrobatReaderDC-23.008.20533.pkg

This looks like you are using Workspace ONE’s embedded Munki solution. I’d suggest asking Workspace ONE for support here. I suspect I know what’s going on, but I don’t think it’s fair for the WS1 folks to dump support tasks to volunteers.

-Greg


--
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/47f0f26e-5726-4f4d-8bb3-229993f0e734n%40googlegroups.com.
<Installlogs using munki.md><results on manual and munki install.docx><install log manual install.md><msu munki logs.txt>

Aakash Gupta

unread,
Oct 9, 2024, 1:35:56 PM10/9/24
to munki-discuss
I tried with Vanilla munki as well and same results hence I reverted here.

Gregory Neagle

unread,
Oct 9, 2024, 1:38:20 PM10/9/24
to munki-...@googlegroups.com
With an install of a signed version of “vanilla” Munki, what happens if managedsoftwareupdate is granted Full Disk Access via a TCC configuration profile?

Sent from my iPhone

On Oct 9, 2024, at 10:36 AM, Aakash Gupta <aakas...@gmail.com> wrote:

I tried with Vanilla munki as well and same results hence I reverted here.

Aakash Gupta

unread,
Oct 9, 2024, 2:01:30 PM10/9/24
to munki-discuss
Ok, I have just tried it.
Same results

This is the config profile I am using is this
test.mobileconfig

Gregory Neagle

unread,
Oct 9, 2024, 2:19:04 PM10/9/24
to munki-...@googlegroups.com
I can’t reproduce your issue.

I used Munki to install Adobe Reader DC 24.003.20112. It installed seemingly successfully and launched normally.

Two things of note: 

I use this Autopkg recipe to import Adobe Reader into Munki: 

The recipe sets up a preinstall_script:

<key>preinstall_script</key>
<string>#!/bin/sh
if [ -e "/Applications/Adobe Acrobat Reader.app" ]; then
rm -r "/Applications/Adobe Acrobat Reader.app"
fi
if [ -e "/Applications/Adobe Acrobat Reader DC.app" ]; then
rm -r "/Applications/Adobe Acrobat Reader DC.app"
fi
exit 0
</string>

That simply removes any pre-existing app before installing the current one. Perhaps doing this will resolve your issue as well.

-Greg



Aakash Gupta

unread,
Oct 9, 2024, 2:31:02 PM10/9/24
to munki-discuss
I have a custom package. I will share it with you once I have permission.
I tried to do it your way and same results. It's not working for me.

From the logs I can see its permission related. I am checking with the profiles once. If not then I will share the package.
I tried with WS1 and with Vanilla Munki both had same results hence I reached out here to fix it. 

Gregory Neagle

unread,
Oct 9, 2024, 3:12:49 PM10/9/24
to munki-...@googlegroups.com
No promises that I can find the time to look at your custom package. But perhaps others in this group will be interested. 

Sent from my iPhone

On Oct 9, 2024, at 11:31 AM, Aakash Gupta <aakas...@gmail.com> wrote:

I have a custom package. I will share it with you once I have permission.

Aakash Gupta

unread,
Oct 10, 2024, 2:33:25 AM10/10/24
to munki-discuss
Hey,
Thanks a lot. The TCC profile worked.
Reply all
Reply to author
Forward
0 new messages