Installing flash with winetricks

Date: 19 Nov, 2012
Posted by: admin
In: Uncategorized

Bookmark and Share

Installing Adobe Flash using WINEtricks

Standard winetricks flash installation fails

I’m using Kubuntu 12.10 but based on the error this probably works with any recent linux distro.

When I use the stock install of winetricks I get version 20120912 (“winetricks –version”); but this doesn’t mean much really as apparently the version isn’t bumped that often. If instead one runs “sha1sum $(which winetricks)” then I get a hash starting e8a6[…]0e2f . Anyway, running this install:

winetricks flash corefonts

Fails to install flash with an error concerning the mismatch of the downloaded file and expected sha1sum:

user@host:~$ winetricks flash
Executing w_do_call flash
Executing load_flash
Executing mkdir -p /home/user/.cache/winetricks/flash
Downloading http://fpdownload.macromedia.com/get/flashplayer/current/licensing/win/install_flash_player_10_active_x.exe to /home/user/.cache/winetricks/flash
–2012-11-19 15:14:00–  http://fpdownload.macromedia.com/get/flashplayer/current/licensing/win/install_flash_player_10_active_x.exe
Resolving fpdownload.macromedia.com (fpdownload.macromedia.com)… 2.22.66.70
Connecting to fpdownload.macromedia.com (fpdownload.macromedia.com)|2.22.66.70|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 3132344 (3.0M) [application/octet-stream]
Saving to: `install_flash_player_10_active_x.exe’

100%[===========================================================================>] 3,132,344    233K/s   in 14s

2012-11-19 15:14:14 (224 KB/s) – `install_flash_player_10_active_x.exe’ saved [3132344/3132344]

——————————————————
Checksum for /home/user/.cache/winetricks/flash/install_flash_player_10_active_x.exe did not match, retrying download
——————————————————
Downloading http://fpdownload.macromedia.com/get/flashplayer/current/licensing/win/install_flash_player_10_active_x.exe to /home/user/.cache/winetricks/flash
–2012-11-19 15:14:14–  http://fpdownload.macromedia.com/get/flashplayer/current/licensing/win/install_flash_player_10_active_x.exe
Resolving fpdownload.macromedia.com (fpdownload.macromedia.com)… 2.22.66.70
Connecting to fpdownload.macromedia.com (fpdownload.macromedia.com)|2.22.66.70|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 3132344 (3.0M) [application/octet-stream]
Saving to: `install_flash_player_10_active_x.exe’

100%[===========================================================================>] 3,132,344    233K/s   in 13s

2012-11-19 15:14:28 (232 KB/s) – `install_flash_player_10_active_x.exe’ saved [3132344/3132344]

——————————————————
sha1sum mismatch!  Rename /home/user/.cache/winetricks/flash/install_flash_player_10_active_x.exe and try again.
——————————————————

Fixing sha1sum mismatch

Unfortunately winetricks doesn’t appear to have an override for sha1sum mismatches that would enable install anyway. So I downloaded the latest winetricks from their SVN repo and named it winetricks-svn.

Personally I try not to trust random people on the internet so first up I checked the diff of the installed winetricks (eg “diff $(which winetricks) ~/downloads/winetricks-svn” though I actually used kdiff3) with that of the SVN, not much is different except some hashes and URLs. Then I simply ran the new winetricks-svn file as “winetricks-svn flash” and the install continued without issue.

One Responses to "Installing flash with winetricks"

[…] fixes that hard worked in the past on earlier Ubuntu, with earlier WINE and Safari 4: Install corefonts and flash using WINEtricks; use native iphlpapi.dll instead of one provided by […]


About

Flapjacktastic is just a random collection of musings, hints&tips, notes, information ... a collection of stuff really that's overflowed from the brain of this husband, father, potter, business-man, geek ...

past posts