DMG not demounting after installation

karthikeyan_mac
Valued Contributor

Hi,

The mounted dmg(all dmg's) on the clients desktop/finder sidebar does not demount after installing it. It happens when DMG's deployed via Casper policy.

Is this the common issue or any problem with our JAMF server?

Thanks in advance.

Thanks & Regards,
Karthikeyan

7 REPLIES 7

Not applicable

We had this same problem and he was determined to be a bug in the Finder
which Apple is aware of but has not fixed. To work around this, we got help
from Jamf support to write a script which restarts the finder after a DMG
deployment. This doesn't not disrupt the users work much and clears up the
DMG mount. We add this as a script to a DMG policy to run "After" the DMG
runs.

FinderPID=ps axco pid,command | grep Finder | awk '{print $1;}'
kill $FinderPID

Make sense?

Jon

karthikeyan_mac
Valued Contributor

Hi Jon,

Thanks a Lot.
Just to confirm, will this cause any issues to open finder windows or process like copying etc.

Regards,
Karthikeyan M

Not applicable

Hey Karthikeyan-

You should probably test it in your environment to be sure but we have not
gotten any complaints from users. It restarts the finder but puts windows
and apps back where they were before.

Thx
Jon

donmontalvo
Esteemed Contributor III

Hi Jonathan,
Jonathan Smith <smith.jonathan at gene.com> wrote:

Is this on Apple's radar? Did a search and didn't find it. Got number? I'd like to see if this is causing some issues I've been told about in a Xinet environment.

Thanks,
Don

--
https://donmontalvo.com

donmontalvo
Esteemed Contributor III

(My apologies, neglected to do the usual pre-post house cleaning...reposting. Don)

If the mounted image name is known and you're able to trigger after the installer(s) are done, maybe something like:

umount /Volumes/mountedimage

Don

--
https://donmontalvo.com

karthikeyan_mac
Valued Contributor

Hi Jon,

Thanks Jon.

I tested it here but it disconnects the mounted shares and also stops all the finder process like coying etc.

Regards,
Karthikeyan M

Not applicable

Hey Don-

We got this info from JAMF not directly from Apple I don't believe so you
might want to check with them.

Thx
Jon