Difference between revisions of "Flash Player"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Version 9.0.115.0)
m
Line 3: Line 3:
 
Installer packaged as an executable, installs as a plugin.
 
Installer packaged as an executable, installs as a plugin.
  
<package id="flashplayerfirefox" name="Adobe Flash Player for Firefox" revision="1" reboot="false" priority="0">
+
<source lang="xml">
 +
<package id="flashplayerfirefox" name="Adobe Flash Player for Firefox" revision="1" reboot="false" priority="0">
 
   <depends package-id="firefox"/>
 
   <depends package-id="firefox"/>
 
   <check type="file" condition="versiongreaterorequal" path="%WINDIR%\system32\Macromed\Flash\NPSWF32.dll" value="9.0.115.0"/>
 
   <check type="file" condition="versiongreaterorequal" path="%WINDIR%\system32\Macromed\Flash\NPSWF32.dll" value="9.0.115.0"/>
Line 9: Line 10:
 
   <upgrade cmd='%SOFTWARE%\Flash\install_flash_player /S' />
 
   <upgrade cmd='%SOFTWARE%\Flash\install_flash_player /S' />
 
   <remove cmd='%WINDIR%\system32\Macromed\Flash\uninstall_plugin.exe /S'/>
 
   <remove cmd='%WINDIR%\system32\Macromed\Flash\uninstall_plugin.exe /S'/>
</package>
+
</package>
 
+
</source>
  
 
== Adobe Flash Player 9.0.115.0 for Internet Explorer ==
 
== Adobe Flash Player 9.0.115.0 for Internet Explorer ==
Line 16: Line 17:
 
Installer packaged as .msi, installs as an ActiveX. The line "Adobe Flash Player 9 ActiveX" in Control Panel's Add/Remove Programs doesn't show any minor version, so both this line and the detailed ocx's file version have to be checked with a logical and condition.
 
Installer packaged as .msi, installs as an ActiveX. The line "Adobe Flash Player 9 ActiveX" in Control Panel's Add/Remove Programs doesn't show any minor version, so both this line and the detailed ocx's file version have to be checked with a logical and condition.
  
<package id="flashplayerie" name="Adobe Flash Player for Internet Explorer" revision="1" reboot="false" priority="0">
+
<source lang="xml">
 +
<package id="flashplayerie" name="Adobe Flash Player for Internet Explorer" revision="1" reboot="false" priority="0">
 
   <check type="logical" condition="and">
 
   <check type="logical" condition="and">
 
     <check type="file" condition="versiongreaterorequal" path="%WINDIR%\system32\Macromed\Flash\Flash9e.ocx" value="9.0.115.0"/>
 
     <check type="file" condition="versiongreaterorequal" path="%WINDIR%\system32\Macromed\Flash\Flash9e.ocx" value="9.0.115.0"/>
Line 28: Line 30:
 
   </upgrade>
 
   </upgrade>
 
   <remove cmd='MsiExec.exe /qn /X{8E9DB7EF-5DD3-499E-BA2A-A1F3153A4DF8}'/>
 
   <remove cmd='MsiExec.exe /qn /X{8E9DB7EF-5DD3-499E-BA2A-A1F3153A4DF8}'/>
</package>
+
</package>
 +
</source>
  
  
Line 35: Line 38:
 
Installer packaged as an executable, installs as a plugin. Didn't test if the uninstall_plugin.exe in the remove line removes both this and Internet Explorer Flash Player ActiveX.
 
Installer packaged as an executable, installs as a plugin. Didn't test if the uninstall_plugin.exe in the remove line removes both this and Internet Explorer Flash Player ActiveX.
  
<package id="flashplayerfirefox" name="Adobe Flash Player for Firefox" revision="1" reboot="false" priority="0">
+
<source lang="xml">
 +
<package id="flashplayerfirefox" name="Adobe Flash Player for Firefox" revision="1" reboot="false" priority="0">
 
   <depends package-id="firefox"/>
 
   <depends package-id="firefox"/>
 
   <check type="file" condition="versiongreaterorequal" path="%WINDIR%\system32\Macromed\Flash\NPSWF32.dll" value="9.0.47.0"/>
 
   <check type="file" condition="versiongreaterorequal" path="%WINDIR%\system32\Macromed\Flash\NPSWF32.dll" value="9.0.47.0"/>
Line 41: Line 45:
 
   <upgrade cmd='%SOFTWARE%\Flash\install_flash_player /S' />
 
   <upgrade cmd='%SOFTWARE%\Flash\install_flash_player /S' />
 
   <remove cmd='%WINDIR%\system32\Macromed\Flash\uninstall_plugin.exe /S'/>
 
   <remove cmd='%WINDIR%\system32\Macromed\Flash\uninstall_plugin.exe /S'/>
</package>
+
</package>
 
+
</source>
  
 
== Adobe Flash Player 9.0.47.0 for Internet Explorer ==
 
== Adobe Flash Player 9.0.47.0 for Internet Explorer ==
Line 48: Line 52:
 
Installer packaged as .msi, installs as an ActiveX. The line "Adobe Flash Player 9 ActiveX" in Control Panel's Add/Remove Programs doesn't show any minor version, so both this line and the detailed ocx's file version have to be checked with a logical and condition.
 
Installer packaged as .msi, installs as an ActiveX. The line "Adobe Flash Player 9 ActiveX" in Control Panel's Add/Remove Programs doesn't show any minor version, so both this line and the detailed ocx's file version have to be checked with a logical and condition.
  
<package id="flashplayerie" name="Adobe Flash Player for Internet Explorer" revision="1" reboot="false" priority="0">
+
<source lang="xml">
 +
<package id="flashplayerie" name="Adobe Flash Player for Internet Explorer" revision="1" reboot="false" priority="0">
 
   <check type="logical" condition="and">
 
   <check type="logical" condition="and">
 
     <check type="file" condition="versiongreaterorequal" path="%WINDIR%\system32\Macromed\Flash\Flash9d.ocx" value="9.0.47.0"/>
 
     <check type="file" condition="versiongreaterorequal" path="%WINDIR%\system32\Macromed\Flash\Flash9d.ocx" value="9.0.47.0"/>
Line 60: Line 65:
 
   </upgrade>
 
   </upgrade>
 
   <remove cmd='MsiExec.exe /qn /X{786547F9-59BB-4FA3-B2D8-327FF1F14870}'/>
 
   <remove cmd='MsiExec.exe /qn /X{786547F9-59BB-4FA3-B2D8-327FF1F14870}'/>
</package>
+
</package>
 +
</source>
 +
 
  
 
== Older versions ==
 
== Older versions ==
  
 
Note: Recent versions of Flash for Firefox seem to install in a different directory than indicated below.  You may need to change the check to:
 
Note: Recent versions of Flash for Firefox seem to install in a different directory than indicated below.  You may need to change the check to:
<pre>
+
 
 +
<source lang="xml">
 
<check type="file" condition="versiongreaterorequal" path="%WINDIR%\system32\Macromed\Flash\NPSWF32.dll" value="9.0.45.0"/>
 
<check type="file" condition="versiongreaterorequal" path="%WINDIR%\system32\Macromed\Flash\NPSWF32.dll" value="9.0.45.0"/>
  
 
<check type="file" condition="versiongreaterorequal" path="%WINDIR%\system32\Macromed\Flash\Flash9c.ocx" value="9.0.45.0"/>
 
<check type="file" condition="versiongreaterorequal" path="%WINDIR%\system32\Macromed\Flash\Flash9c.ocx" value="9.0.45.0"/>
</pre>
+
</source>
 +
 
 +
----
 +
 
 +
 
 
Here's the silent installers for the Adobe Flash Player 9 for IE and Firefox. Uninstalling the Firefox plugin is missing, since Adobe's uninstall_flash_player.exe removes both plugins, which is not our goal here. If you want to install a newer version (this is for 9.0.16.0), don't forget to change the value in the 'check type' tag. For downloading the .msi version (for the IE ActiveX control), Adobe has an easy registration procedure, but if you smart enough, you can find out how to download without registration :)
 
Here's the silent installers for the Adobe Flash Player 9 for IE and Firefox. Uninstalling the Firefox plugin is missing, since Adobe's uninstall_flash_player.exe removes both plugins, which is not our goal here. If you want to install a newer version (this is for 9.0.16.0), don't forget to change the value in the 'check type' tag. For downloading the .msi version (for the IE ActiveX control), Adobe has an easy registration procedure, but if you smart enough, you can find out how to download without registration :)
  
<package
+
<source lang="xml">
 +
<package
 
   id="flashplayerfirefox"
 
   id="flashplayerfirefox"
 
   name="Flash Player Firefox"
 
   name="Flash Player Firefox"
Line 111: Line 124:
 
   <remove cmd='MsiExec.exe /q /X{BB65C393-C76E-4F06-9B0C-2124AA8AF97B}'/>
 
   <remove cmd='MsiExec.exe /q /X{BB65C393-C76E-4F06-9B0C-2124AA8AF97B}'/>
 
  </package>
 
  </package>
 +
</source>
  
 +
 +
----
  
  
Line 122: Line 138:
 
'''This is an Adobe Flash Player for Mozilla Firefox installer:'''
 
'''This is an Adobe Flash Player for Mozilla Firefox installer:'''
  
 
+
<source lang="xml">
<package
+
<package
 
   id="flashplayerfirefox"
 
   id="flashplayerfirefox"
 
   name="Flash Player Firefox"
 
   name="Flash Player Firefox"
Line 134: Line 150:
 
   <install cmd='%SOFTWARE%\Flash_Firefox\flashplayer7installer.exe /S' />
 
   <install cmd='%SOFTWARE%\Flash_Firefox\flashplayer7installer.exe /S' />
 
   
 
   
</package>
+
</package>
 
+
</source>
  
 
'''This is an Adobe Flash Player for Internet Explorer installer:'''
 
'''This is an Adobe Flash Player for Internet Explorer installer:'''
  
<package
+
<source lang="xml">
 +
<package
 
   id="flashplayerie"
 
   id="flashplayerie"
 
   name="Flash Player IE"
 
   name="Flash Player IE"
Line 151: Line 168:
 
   
 
   
 
  </package>
 
  </package>
 
+
</source>
  
 
[[category:Silent Installers]]
 
[[category:Silent Installers]]

Revision as of 19:27, 12 February 2008

Adobe Flash Player 9.0.115.0 for Firefox

Installer packaged as an executable, installs as a plugin.

<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.115.0"/>
  <install cmd='%SOFTWARE%\Flash\install_flash_player /S' />
  <upgrade cmd='%SOFTWARE%\Flash\install_flash_player /S' />
  <remove cmd='%WINDIR%\system32\Macromed\Flash\uninstall_plugin.exe /S'/>
</package>

Adobe Flash Player 9.0.115.0 for Internet Explorer

Installer packaged as .msi, installs as an ActiveX. The line "Adobe Flash Player 9 ActiveX" in Control Panel's Add/Remove Programs doesn't show any minor version, so both this line and the detailed ocx's file version have to be checked with a logical and condition.

<package id="flashplayerie" name="Adobe Flash Player for Internet Explorer" revision="1" reboot="false" priority="0">
  <check type="logical" condition="and">
    <check type="file" condition="versiongreaterorequal" path="%WINDIR%\system32\Macromed\Flash\Flash9e.ocx" value="9.0.115.0"/>
    <check type="uninstall" condition="exists" path="Adobe Flash Player 9 ActiveX"/>
  </check>
  <install cmd='msiexec /q /i %SOFTWARE%\Flash\install_flash_player_active_x.msi'>
    <exit code="3010" reboot="true" />
  </install>
  <upgrade cmd='msiexec /q /i %SOFTWARE%\Flash\install_flash_player_active_x.msi'>
    <exit code="3010" reboot="true" />
  </upgrade>
  <remove cmd='MsiExec.exe /qn /X{8E9DB7EF-5DD3-499E-BA2A-A1F3153A4DF8}'/>
</package>


Adobe Flash Player 9.0.47.0 for Firefox

Installer packaged as an executable, installs as a plugin. Didn't test if the uninstall_plugin.exe in the remove line removes both this and Internet Explorer Flash Player ActiveX.

<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.47.0"/>
  <install cmd='%SOFTWARE%\Flash\install_flash_player /S' />
  <upgrade cmd='%SOFTWARE%\Flash\install_flash_player /S' />
  <remove cmd='%WINDIR%\system32\Macromed\Flash\uninstall_plugin.exe /S'/>
</package>

Adobe Flash Player 9.0.47.0 for Internet Explorer

Installer packaged as .msi, installs as an ActiveX. The line "Adobe Flash Player 9 ActiveX" in Control Panel's Add/Remove Programs doesn't show any minor version, so both this line and the detailed ocx's file version have to be checked with a logical and condition.

<package id="flashplayerie" name="Adobe Flash Player for Internet Explorer" revision="1" reboot="false" priority="0">
  <check type="logical" condition="and">
    <check type="file" condition="versiongreaterorequal" path="%WINDIR%\system32\Macromed\Flash\Flash9d.ocx" value="9.0.47.0"/>
    <check type="uninstall" condition="exists" path="Adobe Flash Player 9 ActiveX"/>
  </check>
  <install cmd='msiexec /q /i %SOFTWARE%\Flash\install_flash_player_active_x.msi'>
    <exit code="3010" reboot="true" />
  </install>
  <upgrade cmd='msiexec /q /i %SOFTWARE%\Flash\install_flash_player_active_x.msi'>
    <exit code="3010" reboot="true" />
  </upgrade>
  <remove cmd='MsiExec.exe /qn /X{786547F9-59BB-4FA3-B2D8-327FF1F14870}'/>
</package>


Older versions

Note: Recent versions of Flash for Firefox seem to install in a different directory than indicated below. You may need to change the check to:

<check type="file" condition="versiongreaterorequal" path="%WINDIR%\system32\Macromed\Flash\NPSWF32.dll" value="9.0.45.0"/>

<check type="file" condition="versiongreaterorequal" path="%WINDIR%\system32\Macromed\Flash\Flash9c.ocx" value="9.0.45.0"/>


Here's the silent installers for the Adobe Flash Player 9 for IE and Firefox. Uninstalling the Firefox plugin is missing, since Adobe's uninstall_flash_player.exe removes both plugins, which is not our goal here. If you want to install a newer version (this is for 9.0.16.0), don't forget to change the value in the 'check type' tag. For downloading the .msi version (for the IE ActiveX control), Adobe has an easy registration procedure, but if you smart enough, you can find out how to download without registration :)

<package
   id="flashplayerfirefox"
   name="Flash Player Firefox"
   revision="90160"
   reboot="false"
   priority="0">
 
   <depends package-id="firefox"/>
 
   <check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\Mozilla Firefox\plugins\NPSWF32.dll" value="9.0.16.0"/>
   <install cmd='%SOFTWARE%\Flash\install_flash_player /S' />
   <upgrade cmd='%SOFTWARE%\Flash\install_flash_player /S' />
 </package>


 <package
   id="flashplayerie"
   name="Flash Player IE"
   revision="90160"
   reboot="false"
   priority="0">
 
   <check type="logical" condition="and">
     <check type="file" condition="versiongreaterorequal" path="%WINDIR%\system32\Macromed\Flash\Flash9.ocx" value="9.0.16.0"/>
     <check type="uninstall" condition="exists" path="Adobe Flash Player 9 ActiveX"/>
   </check>
 
   <install cmd='msiexec /q /i  %SOFTWARE%\Flash\install_flash_player_active_x.msi'>
     <exit code="0" />
     <exit code="3010" reboot="true" />
   </install>
 
   <upgrade cmd='msiexec /q /i  %SOFTWARE%\Flash\install_flash_player_active_x.msi'>
     <exit code="0" />
     <exit code="3010" reboot="true" />
   </upgrade>
 
   <remove cmd='MsiExec.exe /q /X{BB65C393-C76E-4F06-9B0C-2124AA8AF97B}'/>
 </package>




This is a silent installer for Adobe Flash Player.

There are versions of Adobe Flash Player for Internet Explorer and for Mozilla Firefox.

Adobe Flash Player for Firefox should be installed after Firefox is installed - and hence the Firefox installer should have a higher priority (or set a dependency).

This is an Adobe Flash Player for Mozilla Firefox installer:

<package
  id="flashplayerfirefox"
  name="Flash Player Firefox"
  revision="1"
  reboot="false"
  priority="0">
 
  <check type="file" condition="exists" path="%PROGRAMFILES%\Mozilla Firefox\plugins\NPSWF32.dll" />
 
  <install cmd='%SOFTWARE%\Flash_Firefox\flashplayer7installer.exe /S' />
 
</package>

This is an Adobe Flash Player for Internet Explorer installer:

<package
  id="flashplayerie"
  name="Flash Player IE"
  revision="1"
  reboot="false"
  priority="0">
 
   <check type="file" condition="exists" path="%WINDIR%\system32\Macromed\Flash\Flash.ocx" />
 
   <install cmd='%SOFTWARE%\Flash_IE\flashplayer7_winax.exe /Q' />
 
 </package>