Jump to content

Silent install of adobe reader 8.1.1 on network machines.


Recommended Posts

Posted

Hi,

I have recently made a script after looking around on the web to install Adobe Reader 8.1.1 on our network. After reading around I came up with the following 2 cmd files:

AdobeDeploy.cmd

@echo off

echo %date% %time% Start of task > c:\test.log

echo User=%UserName%, Path=%path% >> c:\test.log

call Adobe8Install.cmd computer1 1>>c:\test.log 2>>c:\test.err

call Adobe8Install.cmd computer2 1>>c:\test.log 2>>c:\test.err

:

:

:

call Adobe8Install.cmd computer x 1>>c:\test.log 2>>c:\test.err

echo %date% %time% End of task >> c:\test.log

pause

AdobeInstall.cmd

@echo off

echo "checking for Installers directory on the target..." > c:\test2.log

if not exist \\%1\C$\installers mkdir \\%1\C$\installers

echo "copying Adobe Reader install to install directory..." >> c:\test2.log

copy \\NetworkShared\Software\adobeInstall\*.* \\%1\C$\installers\

echo "Installing Adobe Reader..." >> c:\test2.log

psexec.exe \\%1 "c:\installers\Setup.exe" /sAll /rs

rem Removing setup files...

del \\%1\C$\installers\abcpy.INI

del \\%1\C$\installers\AcroRead.msi

del \\%1\C$\installers\AcroRead.mst

del \\%1\C$\installers\Data1.cab

del \\%1\C$\installers\Setup.exe

del \\%1\C$\installers\setup.INI

echo "All Done." >> c:\test2.log

*mainly with info from this site:

http://sojoe.info/2006/04/20/adobe-reader-silent-install/

The above code copys the files from a network shared folder to local machine, then runs the Setup.exe file which was created using the adobe customisation wizard. After installing, it removes these files from the local machine.

This code does work as it installed adobe on some of the machines, on some machines I got the message:

c:\installers\Setup.exe exited on computer-y with error code 3010.

This is not a problem as it means that computer requires a restart.

But the problem I am getting is on some computers I get the message:

c:\installers\Setup.exe exited on computer-z with error code 100.

I tried looking around the net for what this message means but have had no luck. On the microsoft website for msiexec error codes it does not even have error code 100.

So anyone on here that know what this error code means, any help would be greatly appreciated. Thank you.

Robi


Posted

Well after some looking around I found out that the reason why the remote install wasnt working on some of the machines was because those ones had a older version of MSI Installer then the computer which was used to create and schedule the update from.

So if anyone else ever comes across same problem just check the version of msi.dll on the problem computers and upgrade it to latest version.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...