/build/static/layout/Breadcrumb_cap_w.png

Cisco Silent Installation

Hi Guys

I have a DMG that contains the PKG file and profile xml files that I need to push to Mac OSX silently from kace.

At present kace pushes the package to the Application Support folder and I attempted this silent script in the installation instructions. Ive never done a silent installer on mac before and are struggling to get it working! 

If someone can help then please help me :D

cd /Library/Application\ "Folder  curl -0 /Library/Application\ Support/Dell/KACE/data/downloads/82807/"Folder"\ *.dmg  hdiutil attach /Library/Application\ Support/Dell/KACE/data/downloads/82807/"folder"\ *.dmg  cd /Volumes/"folder"\ 3.1.06079  sudo installer -pkg AnyConnect.pkg -target “/“  hdiutil detach /Volumes/"folder"\ 3.1.06079\ 1

Am I trying to over complicate things?


2 Comments   [ + ] Show comments
  • I have no experience of MACs but in the PC environment, deploying a Cisco VPN client by pushing over a network tends to fail because the network stack is taken down and rebuilt to include the VPN software and this loss of network connectivity usually stuffs a pushed deployment.
    You need to have the entire installation package present on the local machine and then kick off a local script that will run the install through to conclusion without relying on the network. - EdT 9 years ago
  • Hi thanks for this, thats what im trying to achieve. I can get the DMG package onto the machine fine. I need to automate it via a script. - JonR 9 years ago

Answers (1)

Answer Summary:
Posted by: jknox 9 years ago
Red Belt
0
The KACE agent runs as root, so sudo shouldn't be needed.  If you are using a kscript, there isn't a need to manually copy the files to the client machine, just upload the .dmg and the .xml file as dependencies to the script.

The agent should mount the .dmg, then use "installer -pkg AnyConnect.pkg -target /" to install it.  You could then use the cp command to copy the xml file to the location you need it in.


 
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