Stopping Autoopen when attaching an ISO (Office 2011) in OS X
I am working on a silent installation shell script through K1000 for Mac OS X Lion. I use hdiutil attach to gain access to the Office 2011 ISO. When I do this, it automatically opens the ISO. Is there any way to prevent this from happening?
Answers (4)
hdiutil attach -nobrowse "path to .dmg" installer -pkg "path to MS 2011 .pkg" -target /
You can silently install MS Office for Mac 2011 using Apple Remote Desktop or extract the package off iso and go installer -pkg <package name>
Comments:
-
I am attempting to do with this the K1000 and scripting. Does ARD have a command-line interface? - muebel 12 years ago
-
Not for this kind of action which is why deploying it using the KBOX makes sense. ARD's command line interface relates to turning it on/off setting users and privs that sort of thing - john_graphia 12 years ago
-
ARD has a full option for sending any CLI command to my knowledge. I've used it multiple times to install software as well as various troubleshooting tasks. - nseery 12 years ago
-
Not exactly. ARD the GUI application can send any script command but the command line interface to the ARD daemon is pretty much only for controlling it. The actual binary that handles the daemon is called "kickstart" Please see: http://docs.info.apple.com/article.html?path=RemoteDesktop/3.0/en/ARDC882.html
I believe there is some confusion between "can I send shell commands using ARD", resounding Yes, and "can I send commands to the ARD daemon to execute standard bash or other shell commands?"
If you have parameters/flags for kickstart that will do the latter please post them. - john_graphia 12 years ago
We used Composer a repackaging program for Mac OSX to do this much simplier then a script. We simply captured the install and made it a pkg and then wrapped it up in a dmg. It's worth having a packager for Mac OSX it makes life easier. http://www.macupdate.com/app/mac/30500/composer