[v0.2.0] Downgrading to Silverlight 4 / 5.0

Created by Michael Müller
Keywords:
Last updated by:
Sebastian Lackner

In the default configuration pipelight is packaged with Silverlight 5.1 because most streaming websites seemed to work very well with that version and some of them even required using the latest one. The most common reason that it might not work with a streaming site is that you are not using a proper User Agent switcher. Some of them do not fake the User Agent when executing javascript. Please take a look at this list: https://answers.launchpad.net/pipelight/+faq/2351

.

Pipelight with multiplugin support (minimum version >= 0.2.0)
------------------------------------------------------------------------------------

Just run the following commands from a terminal (all distributions). Depending on the distribution you're using it might be possible that a Pipelight update will change back the version to Silverlight 5.1.

# Optional: Check which plugins are enabled system-wide
sudo pipelight-plugin --list-enabled

# Disable silverlight5.1
sudo pipelight-plugin --disable silverlight5.1

# Enable silverlight5.0
sudo pipelight-plugin --enable silverlight5.0

# Enable silverlight4
sudo pipelight-plugin --enable silverlight4

Please note: Silverlight5.0 comes preconfigured with some workarounds enabled, that fake the version string. Its no longer necessary to set "fakeVersion" and things like that.

For more details on how to enable/disable plugins take a look here:
https://answers.launchpad.net/pipelight/+faq/2440

.

Older versions of pipelight
------------------------------------

If you want to downgrade to an older version of Silverlight (and are using this PPA) this is possible via the following commands. If you are using a self compiled version it is similar but more work to do in order to get everything installed at the right place.

sudo apt-get install wine-silverlight4-installer
sudo apt-get install wine-silverlight5.0-installer

Copy the default configuration file in your user directory:
cp /usr/share/pipelight/pipelight ~/.config/

Adjust the configuration ~/.config/pipelight such that it matches the specific Silverlight version:

For Silverlight4:
dllPath = c:\Program Files\Silverlight\4.1.10329.0\
silverlightVersion = silverlight4

For Silverlight5.0:
dllPath = c:\Program Files\Silverlight\5.0.61118.0\
silverlightVersion = silverlight5.0

For Silverlight5.1:
dllPath = c:\Program Files\Silverlight\5.1.20513.0\
silverlightVersion = silverlight5.1

On the next start it should install the desired version of Silverlight.
[Deleting the wine prefix ~/.wine-pipelight isn't necessary anymore for pipelight >= v0.1-3]

If you are using Firefox the following steps might be necessary in order to reload the plugin description:
Type "about:support" in your address line and hit enter. You should now see a button which opens your profile directory. Click on it and remove the "pluginreg.dat" file in this directory. Restart your browser and check if it works now.

Additional tricks which can be useful:

* If you messed up something with your copy of the configuration file just delete it, then pipelight will fallback to the default configuration.

* If the page wants you to update your Silverlight version there is a small chance to get around that by setting "fakeVersion = ..." and "overwriteArg = minRuntimeVersion=your current version". The first command is to make your browser think that you are already using the latest one, the second is to overwrite another check some websites have implemented. When using Firefox don't forget to delete the pluginreg.dat each time you have changed something to make the changes have some effect.