Hi guys,
We have multiple versions of Acrobat Reader from 5.x to 8.x, ( as there was no SOE When i started here ) I want to create a script to check to see if the registry key for the versions exists, and if so uninstall it, then install the lasest version.
I have all the registry key locations and the commands to uninstall the software, just need to put it all together...
;Acrobat Reader 8.1 - Latest Version - Check to see if exists - Uninstall anything below 8.1
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-7AD7-1033-7B44-A81000000003}
;Acrobat Reader 8.0
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-7AD7-1033-7B44-A80000000002}
msiexec /uninstall {AC76BA86-7AD7-1033-7B44-A80000000002} REBOOT=SUPRESS /qn
;Acrobat Reader 7.0.9
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-7AD7-1033-7B44-A70900000002}
msiexec /uninstall {AC76BA86-7AD7-1033-7B44-A70900000002} REBOOT=SUPRESS /qn
;Acrobat Reader 7.0.8
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-1033-0000-7760-100000000002}
msiexec /uninstall {AC76BA86-1033-0000-7760-100000000002} REBOOT=SUPRESS /qn
;Acrobat Reader 7.0.7
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-1033-F400-7760-100000000002}
msiexec /uninstall {AC76BA86-1033-F400-7760-100000000002} REBOOT=SUPRESS /qn
;Acrobat Reader 7.0.5
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-7AD7-1033-7B44-A70500000002}
msiexec /uninstall {AC76BA86-7AD7-1033-7B44-A70500000002} REBOOT=SUPRESS /qn
;Acrobat Reader 7.0.3
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-0000-7EC8-7489-000000000704}
msiexec /uninstall {AC76BA86-0000-7EC8-7489-000000000704} REBOOT=SUPRESS /qn
;Acrobat Reader 7.0.2
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-0000-7EC8-7489-000000000703}
msiexec /uninstall {AC76BA86-0000-7EC8-7489-000000000703} REBOOT=SUPRESS /qn
;Acrobat Reader 7.0.1
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-0000-7EC8-7489-000000000702}
msiexec /uninstall {AC76BA86-0000-7EC8-7489-000000000702} REBOOT=SUPRESS /qn
;Acrobat Reader 7.0
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-7AD7-1033-7B44-A70000000000}
msiexec /uninstall {AC76BA86-7AD7-1033-7B44-A70000000000} REBOOT=SUPRESS /qn
;Acrobat Reader 6.0.3
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-0000-7EC8-7489-000000000603}
msiexec /uninstall {AC76BA86-0000-7EC8-7489-000000000603} REBOOT=SUPRESS /qn
;Acrobat Reader 6.0.2
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-0000-0000-0000-6028747ADE01}
msiexec /uninstall {AC76BA86-0000-0000-0000-6028747ADE01} REBOOT=SUPRESS /qn
;Acrobat Reader 6.0 & 6.0.1
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC76BA86-7AD7-1033-7B44-000000000001}
msiexec /uninstall {AC76BA86-7AD7-1033-7B44-000000000001} REBOOT=SUPRESS /qn
;Acrobat Reader 5.x
C:\WINDOWS\ISUNINST.EXE -y -x -f"C:\Program Files\Common Files\Adobe\Acrobat 5.0\NT\Uninst.isu" -c"C:\Program Files\Common Files\Adobe\Acrobat</span> <span style="font-family: Courier New">5.0\NT\Uninst.dll"
After it uninstalls the above, I need the script to install the latest version using the custom command line....
;Acrobat Reader 8.1
MSIEXEC /I AcroRead.msi ALLUSERS=TRUE REBOOT=SUPRESS TRANSFORMS=Reader81BaseNoOnlineNoUpdaterNoSyncroniser.MST /qn
I dont have access to Visual Basic at work, and my programming expirence doesnt go much beyond kix32 scripts
Cheers
Chris...
Enter your message below
Sign in or Join us (it's free).