Difference between revisions of "Flash Player"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Disable Automatic Update dialog in Adobe Flash Player)
(Updated for version 10.1.102.64)
Line 2: Line 2:
 
To use these installers on your network, you will need to [http://www.adobe.com/products/players/fpsh_distribution1.html get a licence] but this is a simple free process.
 
To use these installers on your network, you will need to [http://www.adobe.com/products/players/fpsh_distribution1.html get a licence] but this is a simple free process.
  
== Adobe Flash Player 10.1.85.3 ==
+
== Adobe Flash Player 10.1.102.64 ==
  
 
=== WPKG installer for Internet Explorer with Win64bit check ===
 
=== WPKG installer for Internet Explorer with Win64bit check ===
Line 12: Line 12:
 
     id="flashplayer_ie"
 
     id="flashplayer_ie"
 
     name="Adobe Flash Player 10.1 for IE"
 
     name="Adobe Flash Player 10.1 for IE"
     revision="101853"
+
     revision="10110264"
 
     reboot="false"
 
     reboot="false"
 
     priority="10">
 
     priority="10">
Line 20: Line 20:
 
          
 
          
 
     <check type="logical" condition="or">
 
     <check type="logical" condition="or">
         <check type="file" condition="versionequalto" path="%SYSTEMROOT%\system32\Macromed\Flash\Flash10k.ocx" value="10.1.85.3"/>
+
         <check type="file" condition="versionequalto" path="%SYSTEMROOT%\system32\Macromed\Flash\Flash10l.ocx" value="10.1.102.64"/>
         <check type="file" condition="versionequalto" path="%SYSTEMROOT%\SysWOW64\Macromed\Flash\Flash10k.ocx" value="10.1.85.3"/>
+
         <check type="file" condition="versionequalto" path="%SYSTEMROOT%\SysWOW64\Macromed\Flash\Flash10l.ocx" value="10.1.102.64"/>
 
     </check>
 
     </check>
  
Line 36: Line 36:
 
     <upgrade cmd='%SOFTWARE%\flash\install_flash_player_ax.exe /install' />
 
     <upgrade cmd='%SOFTWARE%\flash\install_flash_player_ax.exe /install' />
 
      
 
      
     <remove cmd='%COMSPEC% /C if exist "%SYSTEMROOT%\system32\Macromed\Flash\FlashUtil10k_ActiveX.exe" "%SYSTEMROOT%\system32\Macromed\Flash\FlashUtil10k_ActiveX.exe" /uninstall'/>
+
     <remove cmd='%COMSPEC% /C if exist "%SYSTEMROOT%\system32\Macromed\Flash\FlashUtil10l_ActiveX.exe" "%SYSTEMROOT%\system32\Macromed\Flash\FlashUtil10l_ActiveX.exe" /uninstall'/>
     <remove cmd='%COMSPEC% /C if exist "%SYSTEMROOT%\SysWOW64\Macromed\Flash\FlashUtil10k_ActiveX.exe" "%SYSTEMROOT%\SysWOW64\Macromed\Flash\FlashUtil10k_ActiveX.exe" /uninstall'/>
+
     <remove cmd='%COMSPEC% /C if exist "%SYSTEMROOT%\SysWOW64\Macromed\Flash\FlashUtil10l_ActiveX.exe" "%SYSTEMROOT%\SysWOW64\Macromed\Flash\FlashUtil10l_ActiveX.exe" /uninstall'/>
 
</package>
 
</package>
 
</source>
 
</source>
Line 50: Line 50:
 
     id="flashplayer_mozilla"
 
     id="flashplayer_mozilla"
 
     name="Adobe Flash Player 10.1 for Mozilla/Opera"
 
     name="Adobe Flash Player 10.1 for Mozilla/Opera"
     revision="101853"
+
     revision="10110264"
 
     reboot="false"
 
     reboot="false"
 
     priority="10">
 
     priority="10">
Line 58: Line 58:
 
          
 
          
 
     <check type="logical" condition="or">
 
     <check type="logical" condition="or">
         <check type="file" condition="versionequalto" path="%SYSTEMROOT%\system32\Macromed\Flash\NPSWF32.dll" value="10.1.85.3" />
+
         <check type="file" condition="versionequalto" path="%SYSTEMROOT%\system32\Macromed\Flash\NPSWF32.dll" value="10.1.102.64" />
         <check type="file" condition="versionequalto" path="%SYSTEMROOT%\SysWOW64\Macromed\Flash\NPSWF32.dll" value="10.1.85.3" />
+
         <check type="file" condition="versionequalto" path="%SYSTEMROOT%\SysWOW64\Macromed\Flash\NPSWF32.dll" value="10.1.102.64" />
 
     </check>
 
     </check>
  
Line 68: Line 68:
 
     <upgrade cmd='%SOFTWARE%\flash\install_flash_player.exe /install' />
 
     <upgrade cmd='%SOFTWARE%\flash\install_flash_player.exe /install' />
 
      
 
      
     <remove cmd='%COMSPEC% /C if exist "%SYSTEMROOT%\system32\Macromed\Flash\FlashUtil10k_Plugin.exe" "%SYSTEMROOT%\system32\Macromed\Flash\FlashUtil10k_Plugin.exe" /uninstall'/>
+
     <remove cmd='%COMSPEC% /C if exist "%SYSTEMROOT%\system32\Macromed\Flash\FlashUtil10l_Plugin.exe" "%SYSTEMROOT%\system32\Macromed\Flash\FlashUtil10l_Plugin.exe" /uninstall'/>
     <remove cmd='%COMSPEC% /C if exist "%SYSTEMROOT%\SysWOW64\Macromed\Flash\FlashUtil10k_Plugin.exe" "%SYSTEMROOT%\SysWOW64\Macromed\Flash\FlashUtil10k_Plugin.exe" /uninstall'/>
+
     <remove cmd='%COMSPEC% /C if exist "%SYSTEMROOT%\SysWOW64\Macromed\Flash\FlashUtil10l_Plugin.exe" "%SYSTEMROOT%\SysWOW64\Macromed\Flash\FlashUtil10l_Plugin.exe" /uninstall'/>
 
</package>
 
</package>
 
</source>
 
</source>
Line 75: Line 75:
 
===Filenames===
 
===Filenames===
 
Note the different filenames used between different versions.
 
Note the different filenames used between different versions.
 +
 +
====Flash Player 10.1.102.64====
 +
 +
=====Program for Internet Explorer=====
 +
Flash10l.ocx
 +
 +
=====Uninstaller for Internet Explorer=====
 +
FlashUtil10l_ActiveX.exe
 +
 +
=====Uninstaller for Firefox/Opera=====
 +
FlashUtil10l_Plugin.exe
 +
  
 
====Flash Player 10.1.85.3====
 
====Flash Player 10.1.85.3====

Revision as of 05:42, 5 November 2010

This is a silent installer for Adobe Flash Player. To use these installers on your network, you will need to get a licence but this is a simple free process.

Adobe Flash Player 10.1.102.64

WPKG installer for Internet Explorer with Win64bit check

Download installer file here. Download Uninstall Flash Player

<package 
    id="flashplayer_ie"
    name="Adobe Flash Player 10.1 for IE"
    revision="10110264"
    reboot="false"
    priority="10">


    <check type="uninstall" condition="exists" path="Adobe Flash Player 10 ActiveX" />
        
    <check type="logical" condition="or">
        <check type="file" condition="versionequalto" path="%SYSTEMROOT%\system32\Macromed\Flash\Flash10l.ocx" value="10.1.102.64"/>
        <check type="file" condition="versionequalto" path="%SYSTEMROOT%\SysWOW64\Macromed\Flash\Flash10l.ocx" value="10.1.102.64"/>
    </check>

    <install cmd='%SOFTWARE%\flash\uninstall_flash_player.exe -uninstall'><exit code='any' /></install>
    <!-- use "/s" or "/silent" as silent-switch if using an older uninstaller-->

    <install cmd='taskkill /f /im iexplore.exe'><exit code='0' /><exit code='1' /><exit code='128' /></install>
    <install cmd='%SOFTWARE%\flash\install_flash_player_ax.exe /install' />

    <upgrade cmd='%SOFTWARE%\flash\uninstall_flash_player.exe -uninstall'><exit code='any' /></upgrade>
    <!-- use "/s" or "/silent" as silent-switch if using an older uninstaller-->

    <upgrade cmd='taskkill /f /im iexplore.exe'><exit code='0' /><exit code='1' /><exit code='128' /></upgrade>    
    <upgrade cmd='%SOFTWARE%\flash\install_flash_player_ax.exe /install' />
    
    <remove cmd='%COMSPEC% /C if exist "%SYSTEMROOT%\system32\Macromed\Flash\FlashUtil10l_ActiveX.exe" "%SYSTEMROOT%\system32\Macromed\Flash\FlashUtil10l_ActiveX.exe" /uninstall'/>
    <remove cmd='%COMSPEC% /C if exist "%SYSTEMROOT%\SysWOW64\Macromed\Flash\FlashUtil10l_ActiveX.exe" "%SYSTEMROOT%\SysWOW64\Macromed\Flash\FlashUtil10l_ActiveX.exe" /uninstall'/>
</package>

WPKG installer for Firefox/Opera with Win64bit check

Download installer file here.

Note that where '/S' was used for silent installation with previous versions, '/install' is required with version 10.1.

<package 
    id="flashplayer_mozilla"
    name="Adobe Flash Player 10.1 for Mozilla/Opera"
    revision="10110264"
    reboot="false"
    priority="10">


    <check type="uninstall" condition="exists" path="Adobe Flash Player 10 Plugin" />
        
    <check type="logical" condition="or">
        <check type="file" condition="versionequalto" path="%SYSTEMROOT%\system32\Macromed\Flash\NPSWF32.dll" value="10.1.102.64" />
        <check type="file" condition="versionequalto" path="%SYSTEMROOT%\SysWOW64\Macromed\Flash\NPSWF32.dll" value="10.1.102.64" />
    </check>

    <install cmd='taskkill /f /im firefox.exe'><exit code='0' /><exit code='1' /><exit code='128' /></install>
    <install cmd='%SOFTWARE%\flash\install_flash_player.exe /install' />

    <upgrade cmd='taskkill /f /im firefox.exe'><exit code='0' /><exit code='1' /><exit code='128' /></upgrade>    
    <upgrade cmd='%SOFTWARE%\flash\install_flash_player.exe /install' />
    
    <remove cmd='%COMSPEC% /C if exist "%SYSTEMROOT%\system32\Macromed\Flash\FlashUtil10l_Plugin.exe" "%SYSTEMROOT%\system32\Macromed\Flash\FlashUtil10l_Plugin.exe" /uninstall'/>
    <remove cmd='%COMSPEC% /C if exist "%SYSTEMROOT%\SysWOW64\Macromed\Flash\FlashUtil10l_Plugin.exe" "%SYSTEMROOT%\SysWOW64\Macromed\Flash\FlashUtil10l_Plugin.exe" /uninstall'/>
</package>

Filenames

Note the different filenames used between different versions.

Flash Player 10.1.102.64

Program for Internet Explorer

Flash10l.ocx

Uninstaller for Internet Explorer

FlashUtil10l_ActiveX.exe

Uninstaller for Firefox/Opera

FlashUtil10l_Plugin.exe


Flash Player 10.1.85.3

Program for Internet Explorer

Flash10k.ocx

Uninstaller for Internet Explorer

FlashUtil10k_ActiveX.exe

Uninstaller for Firefox/Opera

FlashUtil10k_Plugin.exe

Flash Player 10.1.82.76

Program for Internet Explorer

Flash10i.ocx

Uninstaller for Internet Explorer

FlashUtil10i_ActiveX.exe

Uninstaller for Firefox/Opera

FlashUtil10i_Plugin.exe

Flash Player 10.1.53.64

Program for Internet Explorer

Flash10h.ocx

Uninstaller for Internet Explorer

FlashUtil10h_ActiveX.exe

Uninstaller for Firefox/Opera

FlashUtil10h_Plugin.exe

Disable Automatic Update dialog in Adobe Flash Player

Flash Player automatically checks with adobe.com to see if an updated version is available and if there is it presents a dialog prompting the user to upgrade. To disable this update check and prompting you can do the following:

  • if it doesn't already exist, create a directory %WINDIR%\system32\Macromed\Flash\ (%WINDIR%\SysWOW64\Macromed\Flash for 64-bit system)
  • if it doesn't already exist, create a file there called "mms.cfg" (this file can also be used to deploy other settings)
  • add an entry in this file: AutoUpdateDisable=1

This configuration can be performed by WPKG using the following:

<install cmd='%COMSPEC% /c copy /y /v "%SOFTWARE%\flash\mms.cfg" %WINDIR%\system32\Macromed\Flash\' >
 	<exit code="any"/>
</install>
<install cmd='%COMSPEC% /c copy /y /v "%SOFTWARE%\flash\mms.cfg" %WINDIR%\SysWOW64\Macromed\Flash\' >
 	<exit code="any"/>
</install>

<upgrade cmd='%COMSPEC% /c copy /y /v "%SOFTWARE%\flash\mms.cfg" %WINDIR%\system32\Macromed\Flash\' >
	<exit code="any"/>
</upgrade>
<upgrade cmd='%COMSPEC% /c copy /y /v "%SOFTWARE%\flash\mms.cfg" %WINDIR%\SysWOW64\Macromed\Flash\' >
	<exit code="any"/>
</upgrade>

<remove cmd='%COMSPEC% /c del /s /q "%WINDIR%\system32\Macromed\Flash\mms.cfg"' >
  <exit code="0" />
  <exit code="1" />  <!-- if file does not exist -->
</remove>
<remove cmd='%COMSPEC% /c del /s /q "%WINDIR%\SysWOW64\Macromed\Flash\mms.cfg"' >
  <exit code="0" />
  <exit code="1" />  <!-- if file does not exist -->
</remove>

Either you can deploy this using WPKG as part of the Flash Player installer (Section 1.1 or 1.2), or create a separate package for this setting which would allow you to deploy updates to this file separately to the Flash Player itself.

This file will prevent current and older versions of Flash from auto-updating.

Older Versions

Adobe Flash Player 10 for Internet Explorer with Win64bit check

Download installer file here.

<package 
    id="flashplayer_ie"
    name="Adobe Flash Player 10 for IE"
    revision="1004502"
    reboot="false"
    priority="10">


    <check type="uninstall" condition="exists" path="Adobe Flash Player 10 ActiveX" />
        
    <check type="logical" condition="or">
        <check type="file" condition="versionequalto" path="%SYSTEMROOT%\system32\Macromed\Flash\Flash10e.ocx" value="10.0.45.2"/>
        <check type="file" condition="versionequalto" path="%SYSTEMROOT%\SysWOW64\Macromed\Flash\Flash10e.ocx" value="10.0.45.2"/>
    </check>

    <install cmd='taskkill /f /im iexplore.exe'><exit code='0' /><exit code='1' /><exit code='128' /></install>
    <install cmd='%SOFTWARE%\flash\install_flash_player_ax.exe /S' />

    <upgrade cmd='taskkill /f /im iexplore.exe'><exit code='0' /><exit code='1' /><exit code='128' /></upgrade>    
    <upgrade cmd='%SOFTWARE%\flash\install_flash_player_ax.exe /S' />
    
    <remove cmd='%COMSPEC% /C if exist "%SYSTEMROOT%\system32\Macromed\Flash\uninstall_activeX.exe" "%SYSTEMROOT%\system32\Macromed\Flash\uninstall_activeX.exe" /S'/>
    <remove cmd='%COMSPEC% /C if exist "%SYSTEMROOT%\SysWOW64\Macromed\Flash\uninstall_activeX.exe" "%SYSTEMROOT%\SysWOW64\Macromed\Flash\uninstall_activeX.exe" /S'/>
</package>

Adobe Flash Player 10 for Firefox/Opera with Win64bit check

Download installer file here.

<package 
     id="flashplayer_mozilla"
     name="Adobe Flash Player 10 for Mozilla/Opera"
     revision="1004502"
     reboot="false"
     priority="10">

    <check type="uninstall" condition="exists" path="Adobe Flash Player 10 Plugin" />

    <check type="logical" condition="or">
        <check type="file" condition="versionequalto" path="%SYSTEMROOT%\system32\Macromed\Flash\NPSWF32.dll" value="10.0.45.2" />
        <check type="file" condition="versionequalto" path="%SYSTEMROOT%\SysWOW64\Macromed\Flash\NPSWF32.dll" value="10.0.45.2" />
    </check>
        

    <install cmd='taskkill /f /im firefox.exe'><exit code='0' /><exit code='1' /><exit code='128' /></install>
    <install cmd='%SOFTWARE%\flash\install_flash_player.exe /S' />
    
    <upgrade cmd='taskkill /f /im firefox.exe'><exit code='0' /><exit code='1' /><exit code='128' /></upgrade>
    <upgrade cmd='%SOFTWARE%\flash\install_flash_player.exe /S' />
        
    <remove cmd='%COMSPEC% /C if exist "%SYSTEMROOT%\system32\Macromed\Flash\uninstall_plugin.exe" "%SYSTEMROOT%\system32\Macromed\Flash\uninstall_plugin.exe" /S'/>
    <remove cmd='%COMSPEC% /C if exist "%SYSTEMROOT%\SysWOW64\Macromed\Flash\uninstall_plugin.exe" "%SYSTEMROOT%\SysWOW64\Macromed\Flash\uninstall_plugin.exe" /S'/>
</package>

Adobe Flash Player 9.0.246.0 for Firefox

Installer packaged as an executable, installs as a plugin. Sometimes it is upgraded only on the second run of WPKG, it must be a timing issue between installing over previous version and checking conditions.

<package id="flashplayerfirefox" name="Adobe Flash Player for Firefox" revision="1" reboot="false" priority="0">
  <depends package-id="firefox"/>
  <check type="file" condition="versiongreaterorequal" path="%WINDIR%\system32\Macromed\Flash\NPSWF32.dll" value="9.0.246.0"/>
  <install cmd='%SOFTWARE%\Flash\install_flash_player.exe /S' />
  <upgrade cmd='%SOFTWARE%\Flash\install_flash_player.exe /S' />
  <remove cmd='%WINDIR%\system32\Macromed\Flash\uninstall_plugin.exe /S'/>
</package>

If you use WPKG whilst logged in then it's good to kill the Firefox application process before installing Flash Player, since the installer won't work with the browser running. To do this add this to the WPKG code:

<install cmd="taskkill /F /IM Firefox.exe">
            <exit code="0" />
            <exit code="128" />
</install>

And of course:

<upgrade cmd="taskkill /F /IM Firefox.exe">
            <exit code="0" />
            <exit code="128" />
</upgrade>

Adobe Flash Player 9.0.246.0 for Internet Explorer

Presumably the Internet Explorer version has the same installation/removal/upgrade syntax as the plugin version above, but the following code has not been tested.

<package id="flashplayeractivex" name="ActiveX Flash Player" revision="20090730" reboot="false" priority="0">
  <check type="file" condition="versionequalto" path="%SYSTEMROOT%\system32\Macromed\Flash\Flash9c.ocx" value="9.0.246.0"/>
  <install cmd='%SOFTWARE%\Flash\install_flash_player_ax.exe /S' />
  <upgrade cmd='%SOFTWARE%\Flash\install_flash_player_ax.exe /S' />
  <remove cmd='%COMSPEC% /C if exist "%SYSTEMROOT%\system32\Macromed\Flash\uninstall_activeX.exe" "%SYSTEMROOT%\system32\Macromed\Flash\uninstall_activeX.exe" /S'/>
</package>

External Links