Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/bash
/usr/bin/curl "http://vsphereclient.vmware.com/vsphereclient/VMware-ClientIntegrationPlugin-6.0.0.mac64.dmg" -o ~/Downloads/VMware-ClientIntegrationPlugin-6.0.0.mac64.dmg
hdiutil attach -nobrowse ~/Downloads/VMware-ClientIntegrationPlugin-6.0.0.mac64.dmg
osascript -e "tell application \"Google Chrome\" to quit"
sudo installer -pkg /Volumes/VMware-ClientIntegrationPlugin-6.0.0.mac64.dmg/VMware\ Client\ Integration\ Plug-in.pkg -target /
hdiutil detach /Volumes/VMware-ClientIntegrationPlugin-6.0.0.mac64.dmg
osascript -e "launch application \"Google Chrome\""
/bin/rm ~/Downloads/VMware-ClientIntegrationPlugin-6.0.0.mac64.dmg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment