cancel
Showing results for 
Search instead for 
Did you mean: 
MichaelBrooks
New Contributor

How To: One2Many Distribution and Silent Install of Java, Flash, Reader, Shockwave, and Air

So I spent a good deal of time trying to figure out how to update 3rd party applications on a regular basis.  I wanted to regularly update my fleet of computers with new version of Flash, Java, Reader, Air, and Shockwave.  Since I couldn't find solid instructions on how to do this, I wrote this post.  I hope it helps.

 

The first think I needed to do was to register for a Distribution license with Adobe. It was pretty quick to do and can be done here.

 

Once I did that I tracked down the download link URLs for each product. 

 

Then I downloaded a windows utility to pull down the new files called HttpCopy.

 

Next I created a batch file to use HttpCopy to download the files for each product, then silently install them.

 

The contents of the batch file look like this:

"C:\Program Files (x86)\httpcopy\HttpCopy.exe" "http://javadl.sun.com/webapps/download/AutoDL?BundleId=95125" "c:\ProgramData\LogMeIn\3rdPartyUpdates\Java64.exe"
"C:\Program Files (x86)\httpcopy\HttpCopy.exe" "http://airdownload.adobe.com/air/win/download/latest/AdobeAIRInstaller.exe" "c:\ProgramData\LogMeIn\3rdPartyUpdates\AdobeAir.exe"
"C:\Program Files (x86)\httpcopy\HttpCopy.exe" "http://download.macromedia.com/get/flashplayer/current/licensing/win/install_flash_player_14_plugin.... "c:\ProgramData\LogMeIn\3rdPartyUpdates\FlashOther.exe"
"C:\Program Files (x86)\httpcopy\HttpCopy.exe" "http://download.macromedia.com/get/flashplayer/current/licensing/win/install_flash_player_14_active_... "c:\ProgramData\LogMeIn\3rdPartyUpdates\FlashIE.exe"
"C:\Program Files (x86)\httpcopy\HttpCopy.exe" "http://www.adobe.com/go/sw_full_exe_installer" "c:\ProgramData\LogMeIn\3rdPartyUpdates\AdobeShockwave.exe"
"C:\Program Files (x86)\httpcopy\HttpCopy.exe" "http://ardownload.adobe.com/pub/adobe/reader/win/11.x/11.0.08/en_US/AdbeRdr11008_en_US.exe" "c:\ProgramData\LogMeIn\3rdPartyUpdates\AdobeReader.exe"

"C:\ProgramData\LogMeIn\3rdPartyUpdates\AdobeAir.exe" -silent -eulaAccepted
"C:\ProgramData\LogMeIn\3rdPartyUpdates\AdobeShockwave.exe" /S
"C:\ProgramData\LogMeIn\3rdPartyUpdates\FlashIE.exe" -install
"C:\ProgramData\LogMeIn\3rdPartyUpdates\FlashOther.exe" -install
"C:\ProgramData\LogMeIn\3rdPartyUpdates\Java64.exe" /s
"C:\ProgramData\LogMeIn\3rdPartyUpdates\AdobeReader.exe" /msi EULA_ACCEPT=YES /qn

 Then I created tasks to push out Http Copy and the Bat file.

 

Lastly, I create a remote command to run the batch file. It took about 7 minutes for each computer to download and install the files.  I plan on running the batch file about once a week.

 

Please note that all my computers were 64bit and have User Access Control disabled.

 

Please comment on this if it helps you or if you have a better way to do this.

 

My next step is to turn off update notifications for these products on the end users machines.

2 REPLIES 2
Smiddy621
New Contributor

Re: How To: One2Many Distribution and Silent Install of Java, Flash, Reader, Shockwave, and Air

Great help on this! 

 

My only question is this: I keep getting the error "Unable to create destination file" when I'm telling it to go to a folder that doesn't exist (I want it to make it). This happened even in elevated command prompt (windows 8 and Windows 10, though. Most of the targets are Win7 but I don't have a Win7 test machine for the batch file).  Did you run into this issue yourself or had you already touched each station to create the folder? I can work around it with a mkdir command to run before the scripts but just curious.

MichaelBrooks
New Contributor

Re: How To: One2Many Distribution and Silent Install of Java, Flash, Reader, Shockwave, and Air

Smiddy621,

 

You are most likely getting this error because of permissions on the folder to which you are trying to write.  C:\, C:\Program files, and even C:\user\UID may have owner permissions that allow you to not write.  It is best to use a local admin account and not an user acount to try and write to the folders.  It could also be a UAC issue.

 

I was able to use the script to create the folder.  I did not have to make the folders manually.

 

Also, the original post is a couple years old now. There are other ways to do this. SSCM support 3rd party updates, many anti-virus softwares can do this, and package publisher for WSUS can also update 3rd party software.

 

Regardless, I realized the original post stays in Googles top 5 hits when searching for this topic.  So maybe I need to write an updated article.