/build/static/layout/Breadcrumb_cap_w.png

KACE Product Support Question


Stopping Autoopen when attaching an ISO (Office 2011) in OS X

05/08/2012 4020 views

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?

Answer Summary:
hdiutil attach -nobrowse "path to .dmg" installer -pkg "path to MS 2011 .pkg" -target /
0 Comments   [ + ] Show comments

Comments



Community Chosen Answer

3

hdiutil attach -nobrowse "path to .dmg"

installer -pkg "path to MS 2011 .pkg" -target /

jG

Answered 05/09/2012 by: john_graphia
White Belt

  • -nobrowse is the key then?
  • that looks to be the solution, thanks!

All Answers

2

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>

Answered 05/09/2012 by: togenshi
White Belt

  • I am attempting to do with this the K1000 and scripting. Does ARD have a command-line interface?
  • 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
  • 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.
  • 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.
2

Don't forget to unmount the disk image once the install completes

hdiutil detach /Volumes/"name of mounted .dmg"

 

Answered 05/09/2012 by: john_graphia
White Belt

2

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

Answered 05/09/2012 by: ms01ak
10th Degree Black Belt

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ