Difference between revisions of "Flash Player"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
Line 1: Line 1:
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.
+
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.
  
<package
+
<package
id="flashplayerfirefox"
+
  id="flashplayerfirefox"
name="Flash Player Firefox"
+
  name="Flash Player Firefox"
revision="90160"
+
  revision="90160"
reboot="false"
+
  reboot="false"
priority="0">
+
  priority="0">
<depends package-id="firefox"/>
+
  <depends package-id="firefox"/>
<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\Mozilla Firefox\plugins\NPSWF32.dll" value="9.0.16.0"/>
+
  <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' />
+
  <install cmd='%SOFTWARE%\Flash\install_flash_player /S' />
<upgrade cmd='%SOFTWARE%\Flash\install_flash_player /S' />
+
  <upgrade cmd='%SOFTWARE%\Flash\install_flash_player /S' />
  
</package>
+
</package>
  
  
<package
+
<package
id="flashplayerie"
+
  id="flashplayerie"
name="Flash Player IE"
+
  name="Flash Player IE"
revision="90160"
+
  revision="90160"
reboot="false"
+
  reboot="false"
priority="0">
+
  priority="0">
  
  <check type="file" condition="versiongreaterorequal" path="%WINDIR%\system32\Macromed\Flash\Flash9.ocx" value="9.0.16.0"/>
+
  <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 type="uninstall" condition="exists" path="Adobe Flash Player 9 ActiveX" />
  
  <install cmd='msiexec /q /i  %SOFTWARE%\Flash\install_flash_player_active_x.msi'>
+
  <install cmd='msiexec /q /i  %SOFTWARE%\Flash\install_flash_player_active_x.msi'>
    <exit code="0" />
+
    <exit code="0" />
    <exit code="3010" reboot="true" />
+
    <exit code="3010" reboot="true" />
  </install>
+
  </install>
  
  <upgrade cmd='msiexec /q /i  %SOFTWARE%\Flash\install_flash_player_active_x.msi'>
+
  <upgrade cmd='msiexec /q /i  %SOFTWARE%\Flash\install_flash_player_active_x.msi'>
    <exit code="0" />
+
    <exit code="0" />
    <exit code="3010" reboot="true" />
+
    <exit code="3010" reboot="true" />
  </upgrade>
+
  </upgrade>
  <remove cmd='MsiExec.exe /q /X{BB65C393-C76E-4F06-9B0C-2124AA8AF97B}'/>
+
  <remove cmd='MsiExec.exe /q /X{BB65C393-C76E-4F06-9B0C-2124AA8AF97B}'/>
</package>
+
</package>
  
  

Revision as of 14:09, 9 November 2006

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.

<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="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" />
  <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>