Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Acrobat Reader Versions
 

Acrobat Reader Versions

Hi all people, everybody,

We have multiple versions of Acrobat Reader from 5.x to 8.x,

I want to create a method in C# or VB.NET to check to see if the registry key for the versions exists, and if so uninstall it, then install the latest 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

Another question, where can I download MSI for Acrobat Reader ??

Thanks in advance.

Alhambra Eidos Desarrollo  Tuesday, September 30, 2008 8:15 AM

Hi Alhambra Eidos Desarrollo

What does “put it all together�mean?

Base on my understanding, you want to check the registry key to see if the Acrobat Reader is installed on customer computer and also get the version information. So I think you can take this article for reference How to read and write System Registry Keys using C#

What does download Acrobat Reader MSI mean? Do you mean you want to download the Acrobat Reader with MSI setup insead of EXE setup? I think you should contact Acrobat company for help.

Sincerely,

Kira Qian

Windows Forms General FAQs
Windows Forms Data Controls and Databinding FAQs

Kira Qian  Thursday, October 02, 2008 6:24 AM

Hi Alhambra Eidos Desarrollo

What does “put it all together�mean?

Base on my understanding, you want to check the registry key to see if the Acrobat Reader is installed on customer computer and also get the version information. So I think you can take this article for reference How to read and write System Registry Keys using C#

What does download Acrobat Reader MSI mean? Do you mean you want to download the Acrobat Reader with MSI setup insead of EXE setup? I think you should contact Acrobat company for help.

Sincerely,

Kira Qian

Windows Forms General FAQs
Windows Forms Data Controls and Databinding FAQs

Kira Qian  Thursday, October 02, 2008 6:24 AM

You can use google to search for other answers

Custom Search

More Threads

• Installing 2 versions of the same application on the same machine with ClickOnce.
• "unknown error -1" while installing my windows service
• Urgent - VS Setup installer on vista 64 bit
• Problem running application via http://server/app.exe
• Can't get 'registry search' function to work in my deployment project
• Windows Installer Shortcuts point to strange targets
• noob alert: How can we use Nullsoft installer for VC# 2005 express edition ?
• windows service setup error
• Unable to retrieve application files. Files corrupt in deployment.?
• Help! How can I make it check for updates? (MSI, non ClickOnce)