Cisco Silent Installation
Hi Guys
If someone can help then please help me :D
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
Answers (1)
Answer Summary:
Please log in to answer
Posted by:
jknox
9 years ago
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.
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.
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