Difference between revisions of "Talk:Flash Player"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Why not use the MSI version?: MSI versions work better for me.)
(How do I find the Flash Player MSI?)
Line 55: Line 55:
  
 
</source>
 
</source>
 +
 +
:This seems like a good idea. Where do I find the MSI? [[User:Pete|Pete Boyd]] 14:35, 30 June 2010 (CEST)

Revision as of 12:35, 30 June 2010

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)