Sign in to follow this  
Followers 0
rudi

install script Adobe Reader 940 + 941 + 942 + 943

4 posts in this topic

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!

Share this post


Link to post
Share on other sites



I don't see a question. Seems like this should have been posted in the example scripts section.


#include <ByteMe.au3>

Share this post


Link to post
Share on other sites

You are right.

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

Regards, Rudi.


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

Share this post


Link to post
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>

Share this post


Link to post
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
Sign in to follow this  
Followers 0