Talk:Flash Player

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

Flash10a.ocx included with Firefox plugin

The Flash Player 10.3.181.22 Firefox plugin includes Flash10a.ocx. Is this the IE ActiveX control that is for some reason also included with the Firefox plugin? Pete Boyd 09:29, 7 June 2011 (CEST)

I'm not seeing Flash10a.ocx in C:\Windows\system32\Macromed\Flash or anywhere else on my system with the latest IE and FF flash installed. JohnD 17:57, 7 June 2011 (CEST)
I can appreciate you probably think I'm seeing things, after that last update where I wrote Flash10a.exe rather than FlashUtil10a.exe :) but I'm definitely seeing this on multiple systems. Oh well, will report back if I find more info. Pete Boyd 20:57, 7 June 2011 (CEST)

?

Hello, for multi languages problems, why not use :

<check type="file" condition="exists" path="%PROGRAMFILES%\Mozilla Firefox\plugins\NPSWF32.dll" />


Try yourself. To be honest, WPKG doesn't support such checks yet (it can't expand %PROGRAMFILES%).


Just to make people aware of the changes in recent WPKG versions, environment variable expansion is supported for many attributes now, so the above check will work with the latest version.

Why not use the MSI version?

http://www.adobe.com/products/flashplayer/fp_distribution3.html

Problem is, that if you have old exe-based installations, you will see them twice under Software (the same problem like 7zip).

No you don't. The flashplayer installer checks if there's an old version already installed and removes it automatically.

You will just have to remove the exe-based installed version similar to the 7-zip package.


The 10.1 MSI remove 10 EXE installation (or overwrite it), so 10.1 MSI can be installed on top of 10 EXE.

With the 10.1, each %SYSTEMROOT%\system32\Macromed\Flash\FlashUtil10h_ActiveX.exe and "%SYSTEMROOT%\system32\Macromed\Flash\FlashUtil10h_Plugin.exe remove both plugins.

The msi does not have this bug and you can remove IE activeX without removing mozilla one.

--DaD 11:24, 11 June 2010 (CEST)

My vote goes to the MSI version too. For the EXE installers I couldn't find out a working command line switch for the silent installation, neither /s nor /install. The same for the uninstallation via the executables in the %SYSTEMROOT%\system32\Macromed\Flash\ directory.

So I tried the MSI versions and they worked as expected at the first try; what's more, uninstallation works via the GUID string, and this makes the <remove> command a single liner without the need to check in the %SYSTEMROOT%\system32\ or %SYSTEMROOT%\SysWOW64\.

My package definitions are:

<package id="flash_101_firefox" name="Flash Player 10.1 Firefox, MSI version" revision="1" reboot="false" priority="10">
    <check type="file" condition="versionequalto" path="%WINDIR%\system32\Macromed\Flash\NPSWF32.dll" value="10.1.53.64"/>
    <install cmd="msiexec /qn /i %SOFTWARE%\flash\install_flash_player_10_plugin.msi"/>
    <upgrade cmd="msiexec /qn /i %SOFTWARE%\flash\install_flash_player_10_plugin.msi"/>
    <remove cmd="msiexec.exe /qn /X {1C5EC8F6-5C5F-421F-85BE-919B5D0CAD4C}"/>
</package>

<package id="flash_101_ie" name="Flash Player 10.1 IE, MSI version" revision="1" reboot="false" priority="10">
    <check type="file" condition="versionequalto" path="%WINDIR%\system32\Macromed\Flash\Flash10h.ocx" value="10.1.53.64"/>
    <install cmd="msiexec /qn /i %SOFTWARE%\flash\install_flash_player_10_active_x.msi"/>
    <upgrade cmd="msiexec /qn /i %SOFTWARE%\flash\install_flash_player_10_active_x.msi"/>
    <remove cmd="msiexec.exe /qn /X {FFB768E4-E427-4553-BC36-A11F5E62A94D}"/>
</package>
This seems like a good idea. Where do I find the MSI? Pete Boyd 14:35, 30 June 2010 (CEST)
/install worked fine for me using the 10.1 .exe for Firefox Pete Boyd 14:50, 30 June 2010 (CEST)

Current install section for Flash for IE seems to uninstall *both* players

Part of the XML code currently used to install Flash for IE shows:

<install cmd='%SOFTWARE%\flash\uninstall_flash_player.exe -uninstall'><exit code='any' /></install>

This seems to uninstall both players, so if it runs second, you're left with only Flash for IE. I propose that this line and the comment underneath it be deleted. Any objections? Motmot 09:55, 15 June 2011 (CEST)

It was added on 7 June 2010, with no specific explanation and has been there ever since. It does seem to uninstall both versions, yet I've had it in my packages and never had any trouble with it. It appears that versions 10.1+ have the ability to do silent uninstalls of either activex or plugin with the FlashUtil.exe as shown here. Feel free to fix it if you want. JohnD 17:21, 15 June 2011 (CEST)
Using anything but the MSI version is odd anyway.


Distribution Link should probably be removed

The Flash Player distribution link (http://www.adobe.com/products/flashplayer/fp_distribution3.html) should probably be removed from the page, as Adobe's distribution license agreement clearly says: "You may not share the above link, share information with others, or publish the above link on websites, blogs, or by any other means that can be publicly accessed. The information contained on this site is meant for your use only in accordance with Adobe Flash Player Distribution License Agreement you accepted. You may direct others to http://www.adobe.com/products/players/fpsh_distribution1.html to request distribution rights."