I want to update Adobe Reader remotely on a Mac through the terminal. Flash Player had a .pkg file in the .dmg, so installing that wasn't difficult. There is no .pkg file in Adobe Reader updates.
Does any one have a handy method for performing these updates? I see some .sh files in the .dmg but it is not clear what the order is for running them.
Edit:
There is a script at AdbeRdrUpdate*_all_xxx.app/Contents/Resources/InstallUpdates.sh and it takes 4 commandline arguments like:
./InstallUpdates.sh app-dir app-name current-dir payloadnumber
I'll try something like:
./InstallUpdates.sh /Applications AdobeReader ./ 0
Has anyone had experience doing this? Thanks :)
The most straight forward way I have found to do this has been to go to:
and get the most recent version for the OS you are trying to install with. (If you are getting this for another platform that what you are on (in my case linux to OSX) be sure to click on the link that asks about another language or OS) In this case we are dealing with OSX and more specifically (at the time of this response) AdbeRdr11003_en_US.dmg
First mount it with:
OSX will mount it to exactly:
In the above directory, there is a .pkg file. To install it (as sudo or root):
(to explain the above just in case people are new to this, installer is the program, pkg is the option for installing pkg files, then /Path/to/Adobe\ reader.pkg (the "\" is the escape character to allow for spaces in command line) target is the option that tell you what base path this update to install to (in this case it is the base root directory) it is smart enough to figure out where adobe reader is)
You will get some output like this:
If you see the above it installed correctly. To unmount it run:
I should also mention, that if it should fail it is because there is an old version of adobe reader that needs to be uninstalled first. To do this (using sudo or root):
This will remove the old version of reader and is then ready to install the update (or in this case) the reinstall.
Tested 2013-06-18 07:50 EDT