Auto Install Macro: Wait Until Disk Image Is Mounted

Hi, I am new to KM and I am trying out some sort of "auto install" macro. For stuff like zip archives it already works, but I cannot really figure out disk images yet. via Forum search I found out that the "pause until mounted" condition is key, but I dont really know how to implement it properly to recognize an disk image whose name I do not know (and which isnt always the same as the filename of the disk image).

(I imagine the part where I unmount afterwards could also be tricky, but I'll look into that afterwards.)

Auto Install.kmmacros (10 KB)

Hey Chris,

You'll want to research the hdiutil command line utility for mounting your disk image.

-Chris

1 Like