Jump to content

install script Adobe Reader 940 + 941 + 942 + 943


Recommended Posts

Hi.

Due to some incompatibilities with Adobe Reader 10 I just had to backrev quite a bunch of PCs, and to install AR9 on them.

This is the part to install AR9 + patches. I modified it, so that it doesn't use a network source, but "fileinstall()" -- that way it's a tiny "Pack-and-Go" including everything (the files you will have to search and download on your own :)):

; Acrobat 9 mit Patches bis 9.4.3
; Autoit version: 3.3.6.1
; Author: Rudolf Thilo

#include <array.au3>
#include <File.au3>
$Prefix = "msiexec.exe /"
$sufix = " /qb-!" ; reduced installer interface without "cancel" button
$path = @TempDir & "\AR9-Complete_TEMP.DIR"
DirRemove($path)
#RequireAdmin
DirCreate($path)
$path &="\"

FileInstall("AdbeRdr940_de_DE.msi",$path,1)
FileInstall("AdbeRdrUpd941_all_incr.msp",$path,1)
FileInstall("AdbeRdrUpd942_all_incr.msp",$path,1)
FileInstall("AdbeRdrUpd943_all_incr.msp",$path,1)




$aInst = _FileListToArray($path, "*.ms?", 1)
_ArraySort($aInst, 0, 1)


For $i = 1 To $aInst[0]
    $MyRun = $Prefix & StringRight($aInst[$i],1) & " " & $aInst[$i] & $sufix ; stringright(): for ".msp" switch = "/p", for ".msi" switch = "/i"
    ConsoleWrite($MyRun & @CRLF)
    $result=RunWait($MyRun,$path)
Next

Have fun.

Regards, Rudi.

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Link to comment
Share on other sites

You are right.

But there I can't post, so I dropped it here.

Regards, Rudi.

Really? I remember I couldn't post there when my post count was low (less than 30). But now I can. I assumed you had to have certain number of posts before you could post to that section (to weed out newbies who don't know what they are doing). You obviously have a lot more posts than me, so it puzzles me why you can't post there. Any mods care to explain why?

#include <ByteMe.au3>

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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