Quantcast
Channel: Adobe Community : Popular Discussions - Enterprise Deployment (Acrobat and Reader)
Viewing all articles
Browse latest Browse all 14808

Update Reader from Mac Terminal?

$
0
0

I'm looking to do remote updates of Adobe Reader on machines with no Internet (please note this does not mean no *NETWORK*) access.

 

I found an answer to my question of how to get the version...

 

defaults read /Applications/Adobe\ Reader.app/Contents/Info.plist CFBundleGetInfoString | cut -d' ' -f4 | sed 's/,$//'

 

And the procedure I worked out:

 

REMOTEHOST=hostname

scp AdbeRdr11001_en_US.dmg $REMOTEHOST:

ssh $REMOTEHOST hdiutil attach ~/AdbeRdr11001_en_US.dmg

ssh -t $REMOTEHOST "sudo installer -pkg \"/Volumes/AdbeRdr11001_en_US/Adobe Reader XI Installer.pkg\" -target /"

ssh $REMOTEHOST "hdiutil detach \`hdiutil info | grep AdbeRdr11001_en_US | grep '^/' | cut -f1\`"

 

ssh $REMOTEHOST rm ~/AdbeRdr11001_en_US.dmg


Viewing all articles
Browse latest Browse all 14808

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>