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.
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:
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
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 00000020 C:\Windows\system32\FlashPlayerCPLApp.cpl
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038 00000020 C:\Windows\system32\FlashPlayerCPLApp.cpl
0039
0040
0041
0042
0043
0044
0045
0046
0047
0048
0049
0050
0051
=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
=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
=X====== M/11.3.300.265 2012-07-25+18-38-20.292 ========
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
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:
This procedure (un-)installs both x86 and x64 versions of Adobe Flash Player 11.3+.
Copy link to clipboard
Copied
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.