8 Replies Latest reply on Dec 17, 2008 6:30 AM by bpatel

    Adobe Reader 9.0

    Rookie

      Hello,

       

      I created distribution package for adobe reader 9 and used push as delivery method to deploy it, is possible to uninstall previous version of adobe reader only before it installs AR9? if so can someone please guide me how i can make it happen. LDMS 8.7 SP5.

        • 1. Re: Adobe Reader 9.0
          Specialist

          Do all of your machines have the same previous version?

          • 2. Re: Adobe Reader 9.0
            Rookie

            NO not all machine have same version, we are publishing firm so some have Adobe Pro, but i can serch for machines that have AR8 only and update them to AR9.

            • 3. Re: Adobe Reader 9.0
              Specialist

              I can point you in the right direction, but not sure how to 100% accomplish this via LANDesk.

               

              If you look on your machine, open regedit, and navigate to "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" and then do a search for "Acrobat Reader" it should take you to a key like this "{AC76BA86-7AD7-1033-7B44-A81100000003}".

               

              Inside this key you'll see an UninstallString and it'll show something like this "MsiExec.exe /I{AC76BA86-7AD7-1033-7B44-A81100000003}"

               

              Copy that command.  Change the /I to a /X for the command to uninstall and then /qn at the end of the command for it to be silent.

               

              This command will uninstall Adobe Acrobat Reader v8.1.1 "MsiExec.exe /x{AC76BA86-7AD7-1033-7B44-A81100000003} /qn"

               

              You could probably create some sort of VB or Batch file that'll help, sorry I can't be more detailed.

               

              Chris

              • 4. Re: Adobe Reader 9.0
                mrspike SSMMVPGroup

                You could use a VB or bat script as mentioned, you could also use a "Custom Script" in LANDesk from the "Manage Scripts" area.

                 

                Here are some commands you could use:

                (I have not updated this in a while)

                 

                 

                ; For version 6.x o remove the entire product, first remove the 6.0.3 update, then remove the 6.0.2 update, then remove the 6.0.1 product.

                 


                ;v6.00

                REMEXEC4=msiexec.exe /x {AC76BA86-7AD7-1033-7B44-A00000000001} /qn REBOOT=Suppress


                ;v6.02
                REMEXEC10=msiexec.exe /x {AC76BA86-0000-0000-0000-6028747ADE01} /qn REBOOT=Suppress


                ;v6.0.3
                REMEXEC11=msiexec.exe /x {AC76BA86-0000-7EC8-7489-000000000603} /qn REBOOT=Suppress

                 

                ;v7.05

                REMEXEC0=MsiExec.exe /X{AC76BA86-7AD7-1033-7B44-A70000000000} /qn REBOOT=Suppress

                 

                ;v7.07

                REMEXEC1=MsiExec.exe /X{AC76BA86-7AD7-1033-7B44-A70700000002} /qn REBOOT=Suppress

                 

                ;v7.08

                REMEXEC2=MsiExec.exe /X{AC76BA86-7AD7-1033-7B44-A70800000002} /qn REBOOT=Suppress

                 

                ;v8.0

                REMEXEC3=MsiExec.exe /X{AC76BA86-7AD7-1033-7B44-A80000000002} /qn REBOOT=Suppress

                • 5. Re: Adobe Reader 9.0
                  ahe Expert

                  Hello,

                   

                  I would use these uninstallation parameters: /X /qn ALLUSERS=1 REBOOT=ReallySuppress

                   

                  Instead of a Managed Script, I prefer a batch/VB- or AutoIt-Script..

                   

                  An AutoIt code fragment for uninstallation...

                   $dpname="Adobe Reader" 
                     $UninstallString=""
                   
                   Do 
                     $num = $num + 1 
                     $key = RegEnumKey("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall", $num) 
                     If @error <> 0 Then 
                        $fin = 1 
                     Else 
                        $displayname = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" & $key, "DisplayName") 
                        If (StringLower(StringLeft($displayname, StringLen($dpname))) = StringLower($dpname)) Then 
                           $UninstallString = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" & $key, "UninstallString") 
                           $DisplayVersion = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" & $key, "DisplayVersion") 
                           $UninstallString = StringUpper($UninstallString) 
                           $UninstallString = StringReplace($UninstallString, "/I", "/X") & " /qn ALLUSERS=1 REBOOT=ReallySuppress" 
                           $code = RunWait($UninstallString) 
                           Sleep(10000) 
                           If $code = 3010 Then $code = 0 ; $code=3010 uninstallation successful... 
                           If $code Then Exit $code 
                        EndIf 
                     EndIf
                   Until $fin
                   ; The exit code to LANDesk, if 0 then all is ok... :-)
                   exit $code
                  

                   

                  Regards

                  Axel

                  • 6. Re: Adobe Reader 9.0
                    Apprentice

                    Adobe has customization wizard that you can download for free that allows you to build an installation package for Acrobat 9 (Reader, Standard or Pro) that you can distribute via LANDesk. With this wizard you can specify the removal of previous versions as well as many other options. I have been using it since Acrobat 7 and have found it to be invaluable.

                    http://www.adobe.com/support/downloads/detail.jsp?ftpID=3993

                    • 7. Re: Adobe Reader 9.0
                      ahe Expert

                      Hello James,

                       

                      I've created a mst file with the wizard too, but I've had problems with the uninstallation process. Very often the client reboots after uninstallation of a older version and the new version wasn't installed. So I created a script to check for oder versions, uninstall them and start the installation of the new one.

                       

                      Regards

                      Axel

                      • 8. Re: Adobe Reader 9.0
                        Rookie

                        Thank you all for all your help.........

                         

                        James had the simple if you are not into script and batch files (as you can see am not)....  once again thank you all !!

                         

                        HAPPY HOLIDAYS!!!