5 Replies Latest reply on Jul 27, 2012 9:49 AM by JournalStarTechDude

    GPO Script Silent Install of Flash Player 11.3.300.265

    JournalStarTechDude

      Hello,

       

      I am trying to run a script that will uninstall older versions of Flash and then install Flash Player 11.3.300.265 (both the active x control and the plugin for Firefox).  The script runs on computers running both XP (SP3) and Windows 7.  My test machine is a Windows 7 machine.

       

      The problem I am encountering is that the uninstaller runs successfully but the other .exe files do not run and install.  I installed old versions on my test machine and the new Flash unistaller successfully uninstalls them.  Then the script/installation gets hung up.  Here is a copy of the script:

       

      @echo off


      REM This script runs in the login script. It checks to see if the computer has ran the script before by checking the logs directory for the computer name. If it hasn't ran before it continues on to uninstall any old versions of flash player and install whatever version is sitting in the 10.0 directory.

       

      REM To push out latest version of flash player put the latest version in the 10.0 directory and delete all the computer.txt files out of the logs directory. 

       

      set server=leejsp-fs2

      if exist "\\leejsp-fs2\syncnet\Adobe_Flash_Player\logs\%computername%.txt" goto end
      echo Flash Player install started on %date% %time% from %server% >> "\\leejsp-fs2\syncnet\Adobe_Flash_Player\logs\%computername%.txt"
      echo.
      echo Removing Flash Player...
      "\\%server%\syncnet\Adobe_Flash_Player\uninstall_flash_player.exe" -uninstall
      echo.
      echo Installing Flash Player for Internet Explorer...
      "\\%server%\syncnet\Adobe_Flash_Player\10.0\install_flash_player_11_active_x.exe" -install -au0
      echo.
      echo Installing Flash Player for Firefox...
      "\\%server%\syncnet\Adobe_Flash_Player\10.0\install_flash_player_11_plugin.exe" -install -au0


      echo Flash Player install finished on %date% %time% from %server% >> "\\leejsp-fs2\syncnet\Adobe_Flash_Player\logs\%computername%.txt"


      :end

       

      The parameters I am using were found in the 11.3 Admin Guide.  I have also tried the install without the "-au0" parameter with no success.  When I manually run the files they install perfectly fine on the machine.  I have also tried running the script with out the uninstaller to see if the executables would install but that did not work either.

       

      Last note: this script worked perfect with Adobe Flash 10.3 so all I did was update the file and change the file name (and parameters). 

       

      What could be going wrong??  Please, any help on this would be amazing.  I am very frustrated at this point.

        • 1. Re: GPO Script Silent Install of Flash Player 11.3.300.265
          pwillener Level 8

          I do not know much about GPO installing, and hopefully someone from Adobe will have a look at this.

           

          A few questions in the meantime:

          • you write that the script "hung"; so the script never finishes?
          • how far did the installer proceed; can you post the FlashInstall.log file from your test machine?
          • 2. Re: GPO Script Silent Install of Flash Player 11.3.300.265
            JournalStarTechDude Level 1

            Pat,

             

            Thanks for the response. 

             

            I poorly described the script "hanging".  It does not hang up, it does complete.  It "completes" because the last line of text for the logs lists that the script finishes (ex: Flash Player install finished on Thu 07/26/2012  9:15:18.95 from leejsp-fs2).  However, Flash is not installed.  This tells me that the script is executing as well as the first command to uninstall older versions of Flash but the next two commands to install Flash Active X and the Flash Plugin are not.

             

            Here is the FlashInstall.txt from my test machine.  It is just a snipet of the whole log but acccurately shows the issue.  It is a bit long.  Thanks for any assistance!

             

            =O====== M/11.3.300.265 2012-07-25+18-38-11.742 ========
            0000 [I] 00000010 "\\leejsp-fs2\syncnet\Adobe_Flash_Player\uninstall_flash_player.exe" -force   -uninstall
            0001 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
            0002 [W] 00001018
            0003 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player ActiveX/ 2
            0004 [W] 00001019
            0005 [W] 00001020
            0006 [W] 00001037 Software\Microsoft\Windows\CurrentVersion\RunOnce/FlashPlayerUpdate 2
            0007 [W] 00001037 Software\Macromedia\FlashPlayerActiveX/ 2
            0008 [W] 00001037 Software\Macromedia\FlashPlayer/SwfInstall 2
            0009 [W] 00001037 Software\Microsoft\Code Store Database\Distribution Units\{D27CDB6E-AE6D-11CF-96B8-444553540000}/ 2
            0010 [W] 00001021
            0011 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
            0012 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
            0013 [W] 00001037 Software\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\System.ControlPanel.Category/C:\Windows\system32\FlashPlayerCPLApp.cpl 2
            0014 [W] 00001048
            0015 [I] 00000020 C:\Windows\system32\FlashPlayerCPLApp.cpl
            0016 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
            0017 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
            0018 [W] 00001037 SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\\FlashPlayerApp.exe/ 2
            0019 [W] 00001037 Software\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\System.ControlPanel.Category/C:\Windows\system32\FlashPlayerCPLApp.cpl 2
            0020 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
            0021 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
            0022 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
            0023 [W] 00001018
            0024 [W] 00001036 SOFTWARE\MozillaPlugins\@adobe.com/FlashPlayer/ 2
            0025 [W] 00001037 SOFTWARE\MozillaPlugins\@adobe.com/FlashPlayer/ 2
            0026 [W] 00001037 SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player Plugin/ 2
            0027 [W] 00001019
            0028 [W] 00001020
            0029 [W] 00001037 Software\Microsoft\Windows\CurrentVersion\RunOnce/FlashPlayerUpdate 2
            0030 [W] 00001037 Software\Macromedia\FlashPlayerPlugin/ 2
            0031 [W] 00001037 Software\Macromedia\FlashPlayer/FlashPlayerVersion 2
            0032 [W] 00001037 Software\Macromedia\FlashPlayer/SwfInstall 2
            0033 [W] 00001021
            0034 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
            0035 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
            0036 [W] 00001037 Software\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\System.ControlPanel.Category/C:\Windows\system32\FlashPlayerCPLApp.cpl 2
            0037 [W] 00001048
            0038 [I] 00000020 C:\Windows\system32\FlashPlayerCPLApp.cpl
            0039 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
            0040 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
            0041 [W] 00001037 SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\\FlashPlayerApp.exe/ 2
            0042 [W] 00001037 Software\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\System.ControlPanel.Category/C:\Windows\system32\FlashPlayerCPLApp.cpl 2
            0043 [W] 00001036 Software\Macromedia\FlashPlayerActiveX/PlayerPath 2
            0044 [W] 00001036 Software\Macromedia\FlashPlayerPlugin/PlayerPath 2
            0045 [W] 00001036 Software\Mozilla\Firefox\extensions/Plugins 2
            0046 [W] 00001036 Software\Mozilla\MaintenanceService\extensions/Plugins 2
            0047 [W] 00001036 Software\Mozilla\Mozilla Firefox\extensions/Plugins 2
            0048 [W] 00001036 Software\Opera Software/Last CommandLine 2
            0049 [W] 00001036 Software\Opera Software/Last CommandLine 2
            0050 [W] 00001036 Software\Opera Software/Plugin Path 2
            0051 [W] 00001036 Software\Opera Software/Plugin Path 2
            =X====== M/11.3.300.265 2012-07-25+18-38-12.022 ========

            =O====== M/11.3.300.265 2012-07-25+18-38-14.269 ========
            0000 [I] 00000010 "\\leejsp-fs2\syncnet\Adobe_Flash_Player\10.0\install_flash_player_11_active_x.exe"  -install -au0
            0001 [F] 00001003 -au0
            =X====== M/11.3.300.265 2012-07-25+18-38-16.157 ========

            =O====== M/11.3.300.265 2012-07-25+18-38-19.309 ========
            0000 [I] 00000010 "\\leejsp-fs2\syncnet\Adobe_Flash_Player\10.0\install_flash_player_11_plugin.exe"  -install -au0
            0001 [F] 00001003 -au0
            =X====== M/11.3.300.265 2012-07-25+18-38-20.292 ========

            • 3. Re: GPO Script Silent Install of Flash Player 11.3.300.265
              chris.campbell Adobe Employee

              Could you try adding a space between au and 0 to see if that fixes this up?

               

              Previous:

              -install -au0

               

              Correct

              -install -au 0

               

              Thanks,

              Chris

              • 4. Re: GPO Script Silent Install of Flash Player 11.3.300.265
                Popopinsel

                Hi,

                 

                although we don't use a GPO script but Novell ZENworks for this, these steps basically show our process:

                 

                1. uninstall using the official uninstaller: 'uninstall_flash_player.exe -uninstall'
                2. delete previous/old 'mms.cfg' in 'C:\Windows\SysWOW64\Macromed\Flash'
                3. wait 3 seconds
                4. install using: 'install_flash_player_11_active_x.exe -install -au 0'

                 

                This procedure (un-)installs both x86 and x64 versions of Adobe Flash Player 11.3+.

                1 person found this helpful
                • 5. Re: GPO Script Silent Install of Flash Player 11.3.300.265
                  JournalStarTechDude Level 1

                  Chris,

                   

                  Thanks for the idea.  That appears to be working.  I changed the parameter and now my script is working.  I am doing further testing with it to make sure it is all working okay so this is not a complete solution yet.