Changes

Jump to: navigation, search

Flash Player

1,964 bytes removed, 15:13, 26 February 2009
Some general updates
<source lang="xml">
<package
id="flashplayer_ie" name="Adobe Flash Player 10 for IE" revision="34" reboot="false" priority="10"> <check type="logical" condition="or"> <check type="logical" condition="and"> <check type="uninstall" condition="exists" path="Adobe Flash Player 10 ActiveX" /> <check type="file" condition="versiongreaterorequal" path="%SYSTEMROOT%\system32\Macromed\Flash\Flash10aFlash10b.ocx" value="10.0.1222.3687"/> </check> <check type="logical" condition="and"> <check type="uninstall" condition="exists" path="Adobe Flash Player 10 ActiveX" /> <check type="file" condition="versiongreaterorequal" path="%SYSTEMROOT%\SysWOW64\Macromed\Flash\Flash10aFlash10b.ocx" value="10.0.1222.3687"/> </check> </check>
<install cmd='%SOFTWARE%\flash\install_Flash_player_10_active_xinstall_flash_player_10_ax.exe /S' /> <upgrade cmd='%SOFTWARE%\flash\install_flash_player_10_active_xinstall_flash_player_10_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>
</source>
== Adobe Flash Player 10 for MozillaFirefox/Opera with Win64bit check==
<source lang="xml">
<package
id="flashplayer_mozilla" name="Adobe Flash Player 10 for Mozilla/Opera" revision="24" reboot="false" priority="10"> <check type="logical" condition="or"> <check type="logical" condition="and"> <check type="uninstall" condition="exists" path="Adobe Flash Player 10 Plugin" /> <check type="file" condition="versiongreaterorequal" path="%SYSTEMROOT%\system32\Macromed\Flash\NPSWF32.dll" value="10.0.1222.3687" /> </check> <check type="logical" condition="and"> <check type="uninstall" condition="exists" path="Adobe Flash Player 10 Plugin" /> <check type="file" condition="versiongreaterorequal" path="%SYSTEMROOT%\SysWOW64\Macromed\Flash\NPSWF32.dll" value="10.0.1222.3687" /> </check> </check> <install cmd='%SOFTWARE%\flash\install_flash_player_10.exe /S' /> <upgrade cmd='%SOFTWARE%\flash\install_flash_player_10.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></source> == Adobe Flash Player 10 for Firefox == Installer packaged as an executable, installs as a plugin. <source lang="xml"><package id="flashplayer10firefox" name="Adobe Flash Player 10 for Firefox" revision="1" reboot="false" priority="0"> <check type="file" condition="versiongreaterorequal" path="%WINDIR%\system32\Macromed\Flash\NPSWF32.dll" value="10.0.12.36"/> <install cmd='%SOFTWARE%\Flash\install_flash_player_10.exe /S' /> <upgrade cmd='%SOFTWARE%\Flash\install_flash_player_10.exe /S' /> <remove cmd='%WINDIR%\system32\Macromed\Flash\uninstall_plugin.exe /S'/></package></source> Don't know why on some PC this works fine, and on some Firefox still says, it doesn't have the plugin installed. To fix this issue I needed to copy the new NPSWF32.dll to some network location and add a line like this one to both install and upgrade section:<source lang="xml"><upgrade cmd="cmd /c copy /Y %SOFTWARE%&quot;\Internet\flash_player\NPSWF32.dll&quot; %PROGRAMFILES%&quot;\Mozilla Firefox\plugins\NPSWF32.dll&quot;" /></source> Because the installer doesn't put the file there and some PC's search for it there == Adobe Flash Player 10 for Internet Explorer ==  Installer packaged as .msi, installs as an ActiveX. You have to apply for a Distribution License before you can download from Adobe website. Beware that the license does not allow you to share the download link, so read the terms carefully. <source lang="xml"><package id="flashplayer10ie" name="Adobe Flash Player 10 for Internet Explorer" revision="1" reboot="false" priority="0"> <check type="logical" condition="and"> <check type="file" condition="versiongreaterorequal" path="%WINDIR%\system32\Macromed\Flash\Flash10a.ocx" value="92.100.101.45"/> <check type="uninstall" condition="exists" path="Adobe Flash Player 10 ActiveX"/> </check> <install cmd='msiexec /q /i %SOFTWARE%\Flash\install_flash_player_10_active_x.msi'> <exit code="3010" reboot="true" /> </install> <upgrade cmd='msiexec /q /i %SOFTWARE%\Flash\install_flash_player_10_active_x.msi'> <exit code="3010" reboot="true" /> </upgrade> <remove cmd='MsiExec.exe /qn /X{2BD2FA21-B51D-4F01-94A7-AC16737B2163}'/>
</package>
</source>
Right after the installation:
<source lang="xml">
<install cmd='%comspecCOMSPEC% /c copy /y /v "%SOFTWARE%\FlashPlayer\mms.cfg" %WINDIR%\system32\Macromed\Flash\' />
</source>
Right after the upgrade:
<source lang="xml">
<upgrade cmd='%comspecCOMSPEC% /c copy /y /v "%SOFTWARE%\FlashPlayer\mms.cfg" %WINDIR%\system32\Macromed\Flash\' />
</source>
Right before the uninstall:
<source lang="xml">
<remove cmd='%comspecCOMSPEC% /c del /f s /q "%WINDIR%\system32\Macromed\Flash\mms.cfg"' />
</source>
<source lang="xml">
<install cmd="taskkill /F /IM Firefox.exe">
<exit code="0" /> <exit code="128" />
</install>
</source>
<source lang="xml">
<upgrade cmd="taskkill /F /IM Firefox.exe">
<exit code="0" /> <exit code="128" />
</upgrade>
</source>
Anonymous user

Navigation menu