15 Replies Latest reply on Mar 5, 2013 2:36 PM by Andrew M

    Acrobat 9 patches

    Andrew M

      Does anyone know of a way to patch Acrobat 9 to the latest version with a single package?

       

      We have a number of systems that are running outdated versions of Acrobat 9 and so they need a bunch of patches, but Acrobat 9.x patches have to be applied in order and they appear to be rolling out to these machines one day at a time and the machines don't detect that a patch is applicable until the one before it has been applied. For example, a machine that has 9.3.0 installed would install the 9.3.1 patch the first night, and then detect that the 9.3.2 patch is applicable install it the next night, followed by 9.3.3 the next night, and so on. But there are about 13 interim patches between 9.3 and 9.5.2! Is there any way to bundle these all together so that a single package can update all of the outdated systems at once?

        • Re: Acrobat 9 patches
          antwesor

          Andrew M wrote:

           

          Does anyone know of a way to patch Acrobat 9 to the latest version with a single package?

           

          We have a number of systems that are running outdated versions of Acrobat 9 and so they need a bunch of patches, but Acrobat 9.x patches have to be applied in order and they appear to be rolling out to these machines one day at a time and the machines don't detect that a patch is applicable until the one before it has been applied. For example, a machine that has 9.3.0 installed would install the 9.3.1 patch the first night, and then detect that the 9.3.2 patch is applicable install it the next night, followed by 9.3.3 the next night, and so on. But there are about 13 interim patches between 9.3 and 9.5.2! Is there any way to bundle these all together so that a single package can update all of the outdated systems at once?

          You could create a custom package with Patch Manager using the Adobe recommendations on this page

          http://helpx.adobe.com/acrobat/kb/update-patch-acrobat-reader-7.html

          It may take a little tweaking of the Prerequisite Rules, Applicability Rules, and Installed Rules.

           

          For Adobe Reader 9 in our environment, I use the Adobe Reader 9.5 (Full) and then use the two patches after that one.

           

          Hope this helps. Let me know if you have any success with creating a custom package.

          • Re: Acrobat 9 patches
            Andrew M

            Thanks for the suggestions antwesor and Mark.

            I also found a very helpful resource in the Acrobat Enterprise Administration Guide for anyone else who needs to do this in the future.

            antwesors link (Update, patch | Acrobat, Reader 7.x - 9.x | Windows) has a helpful list of the required patches to bring Acrobat 9.0 up to date

             

            I haven't tested this yet, but I think that this should work. Here's what I've done so far:

            1. Create an install folder with all of the Acrobat install files and patches:
              • 1031.mst
              • 1033.mst
              • 1036.mst
              • Setup.exe
              • Abcpy.ini
              • AcrobatUpd912_all_incr.msp
              • AcrobatUpd920_all_incr.msp
              • AcrobatUpd930_all_incr.msp
              • AcrobatUpd932_all_incr.msp
              • AcrobatUpd933_all_incr.msp
              • AcrobatUpd940_all_incr.msp
              • AcrobatUpd951_all_incr.msp
              • AcrobatUpd942_all_incr.msp
              • AcrobatUpd945_all_incr.msp
              • AcroProStdUpd910_T1T2_incr.msp
              • AcrobatUpd946_all_incr.msp
              • AcrobatUpd950_all_incr.msp
              • AcrobatUpd952_all_incr.msp
              • AcroStan.msi
              • Data1.cab
              • setup.ini
              • WindowsInstaller-KB893803-v2-x86.exe
            2. Use the Adobe Customization Wizard 9  to customize the installation by adding the serial number, accepting the EULA, etc. Save the generated MST with the other files.
            3. Section 7.3 of the administration guide (above) discusses the setup bootstrapper. This tells you how to add  patches to the setup.ini file with a "PATCH=" directive. For Acrobat 9.5.2 this line looks like the following:
              PATCH=AcroProStdUpd910_T1T2_incr.msp;AcrobatUpd912_all_incr.msp;AcrobatUpd920_all_incr.msp;AcrobatUpd930_all_incr.msp;AcrobatUpd932_all_incr.msp;AcrobatUpd933_all_incr.msp;AcrobatUpd940_all_incr.msp;AcrobatUpd942_all_incr.msp;AcrobatUpd945_all_incr.msp;AcrobatUpd946_all_incr.msp;AcrobatUpd950_all_incr.msp;AcrobatUpd951_all_incr.msp;AcrobatUpd952_all_incr.msp
            4. In Patch Manager make a copy of the latest Acrobat 9 package "Adobe Acrobat 9.5.2 (Upgrade)"
            5. Open the new package and give it a good name
            6. Skip to the Select Package page and set the Type to "Command Line Installation"
            7. Select the setup.exe bootstrapper in your Acrobat installation folder
            8. Check the box to use the Package Boot Helper
              1. Open the Package Boot Editor
              2. Create an action to "Terminate Processes if files are locked"
              3. Select "Terminate all processes using the files"
              4. Select "Look for files in directory specified by registry"
              5. Path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Acrobat.exe
              6. Key: Path
              7. Only check 32-bit registry: false
              8. Select "Check all DLL and EXE files"
              9. Save the changes
            9. Check the box to include additional files and select all of the files in your installation folder.
            10. Edit the Success Pending Reboot Codes field to "3010"
            11. Add two applicability rules

              Basic Rule

              Registry Key exists

              Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Acrobat.exe

              Use 32 bit registry: false

               

              Basic Rule

              File version with registry rule

              Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Acrobat.exe

              Value: Path

              Use 32 bit registry: true

              Sub-path: Acrobat.dll

              Less Than: 9.5.2.295

            12. Create an Installed rule
              Basic Rule

              File version with registry rule

              Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Acrobat.exe

              Value: Path

              Use 32 bit registry: true

              Sub-path: Acrobat.dll

              Equal to: 9.5.2.295

            13. Publish and test!
              • Re: Acrobat 9 patches
                gfraetis

                Hi Andrew M.,

                 

                I am currently trying to tackle this task myself.

                Does the procedure you mentioned above do a full re-install, or is the installer smart enough to know the main app is already installed and will only update what pieces are missing?

                 

                On a related/side note:

                Prior to obtaining Patch Manager I did our custom updates using MS's SCUP.  They had an option to "create bundle", which basically allowed us to add any updates we already in the SCUP catalog to a bundle.  This would then allow all the updates in the bundle to be installed as one task. Unfortunately Adobe doesn't have the 9.x.x updates available for SCUP, only the 10+.

                It would be great if that was possible with PM so we don't need to make custom updates as before (my primary reason of moving to PM )

                PrtScr capture.jpg

                 

                Thanks!

                Garrett

                  • Re: Acrobat 9 patches
                    Andrew M

                    PatchManager appears to have a feature that might be similar to what you were describing. In the Select Package view of the Package editor, click the Advanced button at the bottom. This brings up a window that includes a section titled "Bundled Packages". I've never used this and haven't looked it up in the administration guide, but I wonder if it behaves like the package bundles you have worked with...

                     

                      • Re: Acrobat 9 patches
                        gfraetis

                        Upon adding them to the "Bundle", click through the wizard, then reopen and it and everything added now show under "Superseded Packages" section.

                         

                        I tried looking for documentation on that function, but i couldn't find much and a support call was my next step.

                         

                        Thanks again for the reply.

                    • Re: Acrobat 9 patches
                      gfraetis

                      Hi Andrew,

                       

                      I did the process you mentioned above and get the Wizard prompts (Screenshot below), even when I select "Suppress No Interface".  This is causing the update i have pushed to fail.   Do you know if there is any other command that will allow me to do it completely silently?  perhaps a silent "repair"? 

                      PrtScr capture.jpgPrtScr capture_2.jpg

                       

                      Solarwinds/Others:

                      My  organization is relatively new to PM, started using it 4-5 months ago.  This is an update we need to roll out.  The problem with having the individual updates do this for us is that there are 14 updates needed to get to 9.5.3, and they require a total of 13 system restarts which is unacceptable for my business.

                      Anyone else had success doing this major updating task?

                       

                      Thanks all!

                        • Re: Acrobat 9 patches
                          Andrew M

                          In the package editor try adding the switch /sAll to the command line field

                          • Re: Acrobat 9 patches
                            Andrew M

                            Also, be sure you add the latest updates and edit the PATCH directive in your setup.ini to include them. Two new security updates have been released since I wrote the instructions.

                             

                            PATCH=AcroProStdUpd910_T1T2_incr.msp;AcrobatUpd912_all_incr.msp;AcrobatUpd920_all_incr.msp;AcrobatUpd930_all_incr.msp;AcrobatUpd932_all_incr.msp;AcrobatUpd933_all_incr.msp;AcrobatUpd940_all_incr.msp;AcrobatUpd942_all_incr.msp;AcrobatUpd945_all_incr.msp;AcrobatUpd946_all_incr.msp;AcrobatUpd950_all_incr.msp;AcrobatUpd951_all_incr.msp;AcrobatUpd952_all_incr.msp;AcrobatUpd953_all_incr.msp;AcrobatUpd954_all_incr.msp
                              • Re: Acrobat 9 patches
                                gfraetis

                                Thanks for the quick reply

                                 

                                That switch is there.  For a new install it updates to the 9.5.3 version during setup.

                                 

                                Here is the contents of my setup.ini:

                                 

                                [Startup]
                                RequireOS=Windows XP
                                RequireMSI=3.0
                                RequireIE=6.0.2600.0
                                CmdLine=/sl"1033" /sAll /rs
                                
                                [Product]
                                msi=AcroStan.msi
                                Languages=1033;1031;1036
                                1033=English (United States)
                                1031=German (Germany)  
                                1036=French (France)
                                CmdLine=TRANSFORMS="AcroStan.mst"
                                PATCH="AcroProStdUpd910_T1T2_incr.msp;AcrobatUpd912_all_incr.msp;AcrobatUpd920_all_incr.msp;AcrobatUpd930_all_incr.msp;AcrobatUpd932_all_incr.msp;AcrobatUpd933_all_incr.msp;AcrobatUpd940_all_incr.msp;AcrobatUpd942_all_incr.msp;AcrobatUpd945_all_incr.msp;AcrobatUpd946_all_incr.msp;AcrobatUpd950_all_incr.msp;AcrobatUpd951_all_incr.msp;AcrobatUpd952_all_incr.msp;AcrobatUpd953_all_incr.msp"
                                
                                [Windows XP]
                                PlatformID=2
                                MajorVersion=5
                                MinorVersion=1
                                ServicePackMajor=2
                                
                                [MSI Updater]
                                Path=WindowsInstaller-KB893803-v2-x86.exe
                                

                                Note: I even tried with just "CmdLine=/sAll" for line 5 and it still has the same UI Wizard come up.

                                 

                                To test the theory, in general. I ran Setup.exe and j clicked through the wizard manually to do both a  "Modify" and again for "Repair". 

                                This did not end up patching it to the latest level(9.5.3) as it remains at 9.0.0.

                                 

                                Thanks.

                                  • Re: Acrobat 9 patches
                                    gfraetis

                                    I was finally able to get the updates to install sequentially without reboot on a fresh 9.0.0 install by running the following:

                                    msiexec /update AcroProStdUpd910_T1T2_incr.msp;AcrobatUpd912_all_incr.msp;AcrobatUpd920_all_incr.msp;AcrobatUpd930_all_incr.msp;AcrobatUpd932_all_incr.msp;AcrobatUpd933_all_incr.msp;AcrobatUpd940_all_incr.msp;AcrobatUpd942_all_incr.msp;AcrobatUpd945_all_incr.msp;AcrobatUpd946_all_incr.msp;AcrobatUpd950_all_incr.msp;AcrobatUpd951_all_incr.msp;AcrobatUpd952_all_incr.msp;AcrobatUpd953_all_incr.msp  REINSTALLMODE=vomus REINSTALL=ALL REBOOT=REALLYSUPPRESS /qn
                                    

                                     

                                    Now i just need to test using PM and see how it goes.

                                     

                                    Thank again!

                                     

                                    G

                                      • Re: Acrobat 9 patches
                                        gfraetis

                                        Just wanted to highlight how i was able to accomplish this using PM.

                                         

                                        Since i need to run the command from my past post to do an upgrade without the need a of a reboot between each patch, i had to create an EXE for PM to use for the Command Line option.

                                        To do this I used AutoIt to create a simple exe wrapper.  Here is the code i used:

                                        #NoTrayIcon
                                        #cs ----------------------------------------------------------------------------
                                        
                                         AutoIt Version: 3.3.8.1
                                         Author:         Me
                                        
                                         Script Function:
                                            To be used with Solarwinds Patch Manager - Updates all versions of Acrobat 9 prior to 9.5.3 to 9.5.3
                                        
                                        #ce ----------------------------------------------------------------------------
                                        
                                        
                                        ShellExecuteWait("msiexec.exe", " /update " & @ScriptDir & "\AcroProStdUpd910_T1T2_incr.msp REINSTALLMODE=vomus REINSTALL=ALL REBOOT=REALLYSUPPRESS /log " & @TempDir & "\acrobat-910.log /qn")
                                        ShellExecuteWait("msiexec.exe", " /update " & @ScriptDir & "\AcrobatUpd912_all_incr.msp REINSTALLMODE=vomus REINSTALL=ALL REBOOT=REALLYSUPPRESS /log " & @TempDir & "\acrobat-912.log /qn")
                                        ShellExecuteWait("msiexec.exe", " /update " & @ScriptDir & "\AcrobatUpd920_all_incr.msp REINSTALLMODE=vomus REINSTALL=ALL REBOOT=REALLYSUPPRESS /log " & @TempDir & "\acrobat-920.log /qn")
                                        ShellExecuteWait("msiexec.exe", " /update " & @ScriptDir & "\AcrobatUpd930_all_incr.msp REINSTALLMODE=vomus REINSTALL=ALL REBOOT=REALLYSUPPRESS /log " & @TempDir & "\acrobat-930.log /qn")
                                        ShellExecuteWait("msiexec.exe", " /update " & @ScriptDir & "\AcrobatUpd932_all_incr.msp REINSTALLMODE=vomus REINSTALL=ALL REBOOT=REALLYSUPPRESS /log " & @TempDir & "\acrobat-932.log /qn")
                                        ShellExecuteWait("msiexec.exe", " /update " & @ScriptDir & "\AcrobatUpd933_all_incr.msp REINSTALLMODE=vomus REINSTALL=ALL REBOOT=REALLYSUPPRESS /log " & @TempDir & "\acrobat-933.log /qn")
                                        ShellExecuteWait("msiexec.exe", " /update " & @ScriptDir & "\AcrobatUpd940_all_incr.msp REINSTALLMODE=vomus REINSTALL=ALL REBOOT=REALLYSUPPRESS /log " & @TempDir & "\acrobat-940.log /qn")
                                        ShellExecuteWait("msiexec.exe", " /update " & @ScriptDir & "\AcrobatUpd942_all_incr.msp REINSTALLMODE=vomus REINSTALL=ALL REBOOT=REALLYSUPPRESS /log " & @TempDir & "\acrobat-942.log /qn")
                                        ShellExecuteWait("msiexec.exe", " /update " & @ScriptDir & "\AcrobatUpd945_all_incr.msp REINSTALLMODE=vomus REINSTALL=ALL REBOOT=REALLYSUPPRESS /log " & @TempDir & "\acrobat-945.log /qn")
                                        ShellExecuteWait("msiexec.exe", " /update " & @ScriptDir & "\AcrobatUpd946_all_incr.msp REINSTALLMODE=vomus REINSTALL=ALL REBOOT=REALLYSUPPRESS /log " & @TempDir & "\acrobat-946.log /qn")
                                        ShellExecuteWait("msiexec.exe", " /update " & @ScriptDir & "\AcrobatUpd950_all_incr.msp REINSTALLMODE=vomus REINSTALL=ALL REBOOT=REALLYSUPPRESS /log " & @TempDir & "\acrobat-950.log /qn")
                                        ShellExecuteWait("msiexec.exe", " /update " & @ScriptDir & "\AcrobatUpd951_all_incr.msp REINSTALLMODE=vomus REINSTALL=ALL REBOOT=REALLYSUPPRESS /log " & @TempDir & "\acrobat-951.log /qn")
                                        ShellExecuteWait("msiexec.exe", " /update " & @ScriptDir & "\AcrobatUpd952_all_incr.msp REINSTALLMODE=vomus REINSTALL=ALL REBOOT=REALLYSUPPRESS /log " & @TempDir & "\acrobat-952.log /qn")
                                        ShellExecuteWait("msiexec.exe", " /update " & @ScriptDir & "\AcrobatUpd953_all_incr.msp REINSTALLMODE=vomus REINSTALL=ALL REBOOT=REALLYSUPPRESS /log " & @TempDir & "\acrobat-953.log /qn")
                                        

                                         

                                        I used all of the same rules described by Andrew M's 10/17 post, changing just the version to suite my needs (9.5.3.305) and adding only the 14 msp files.

                                         

                                        Upon several tests the applicability and installed rules seem to have worked flawlessly.   The total upgrade time from 9.0.0 to 9.5.3 was 22 minutes.....not too bad

                                         

                                        Thanks again for the help!

                                          • Re: Acrobat 9 patches
                                            Andrew M

                                            Thanks, gfraetis for sharing your solution. I finally got mine working as well, and though I did it a little differently I’m sure either solution would work.

                                             

                                            I created a new 3rd party update package and set it to run a command line install

                                             

                                            As the package executable, I used a helpful utility called sleep from http://www.sleepcmd.com. This is just to serve as a placeholder since PM requires an executable

                                             

                                            In the Package Boot Editor add a “before” action as follows:

                                            • Run a program
                                            • Program name: cmd.exe
                                            • cmdline parameters: /c %modulepath%\update.cmd
                                            • Run from directory: %windir%\System32
                                            • Stop processing if this action fails

                                             

                                            I then added 16 files to the package:

                                             

                                            Leave the return codes as default:

                                            • Success: 0
                                            • Success pending reboot: 3010

                                             

                                            Set the command line to "1 /quiet". This will cause sIeep.exe to pause for 1 second and then terminate

                                             

                                            Set the Applicability rules for 9.5.4

                                            When all of the following

                                            • File exists with registry value: Key="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Acrobat.exe" Value="Path" Sub-Path="Browser\nppdf32.dll" Use 32-bit=true Type="REG_SZ"
                                            • File version with registry value: Key="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Acrobat.exe" Value="Path" Sub-Path="Browser\nppdf32.dll" Use 32-bit=true Comparison:"Less Than" Version="9.5.4.268"

                                             

                                            Set the Installed Rule:

                                            • File exists with registry value: Key="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Acrobat.exe" Value="Path" Sub-Path="Browser\nppdf32.dll" Use 32-bit=true Type="REG_SZ" Version="9.5.4.268"

                                             

                                            NOTE: The file and version that you need to check in these rules depends on what is updated in the latest patch. In the 9.5.4 update, acrobat.dll wasn't modified, so it remains at version 9.5.3.305. You can use 7-zip to extract the contents of the PCW_CAB_ACRO file in the .msp patch to see what files are being updated

                                             

                                            Publish and test!

                                             

                                            In my environment, it took about 13 minutes to download and patch a 9.5.1 system, but I didn't test against a 9.0.0 installation

                                             

                                            Message was edited by: Andrew M Corrected path to nppdf32.dll in applicability and installed rules