• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

GPO Script Silent Install of Flash Player 11.3.300.265

Guest
Jul 25, 2012 Jul 25, 2012

Copy link to clipboard

Copied

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.

Views

12.5K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 25, 2012 Jul 25, 2012

Copy link to clipboard

Copied

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 26, 2012 Jul 26, 2012

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 26, 2012 Jul 26, 2012

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 27, 2012 Jul 27, 2012

Copy link to clipboard

Copied

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+.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 27, 2012 Jul 27, 2012

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines