Introduction
Many times user dont have silverlight on their computer so you have to create a custom installation screen. To test that you will have to uninstall silverlight which quiet troublesome, In this article I will show you step by step how to test the custom install screen without uninstalling silverlight from your test computer.
Content
How many times have you came across situation where you need to test how your custom silverlight installation would look on a client’s PC who do not have the silverlight plug-in installed. Recently one of my friend had this problem and found him self in trouble by trying to uninstall the silverlight plug-in and manually changing the registry entry he wasted couple of hours uninstalling and installing silverlight and cleaning windows registry.
A very simple solution to this problem is to disable the silverlight plug-in from the browser settings.
We will see how to disable the silverlight plug-in for popular browsers like
- IE 8
- Firefox
- Chrome
For IE 8 running on Windows 7 you need to right click on IE and select run as administrator, once the IE is opened click on tools tab and select Manage Add-ons.
After that you need to select the ‘Toolbar and Extension’ then on the right side panel under Microsoft Corporation you will find Microsoft Silverlight. At the bottom of the dialog box a click on the Disable button will do the trick, once the plug-in is disabled the browser will behave as if the plug-in is not installed.
For IE 6 and Windows XP the steps are more or less the same, open IE 6 go to the Tools menu and select the Internet Options.
Now click on the button named as “Managed Add-ons…” that will open a the Add on Manger window , scroll down to select the Microsoft Silverlight and then in the settings section select the disable radio button.
For Firefox version 3.6.3 on Windows 7 it is more simple all you need to do is just go to the tools menu select the Add On option and a dialog box will pop-up
now click on Plugins and scroll to find the Silverlight Plug-in there you will find the Disable button.
For Google Chrome version 5.0.375.99 we will have to write some command line arguments because chrome has not provided any fancy UI to disable/enable plugin’s. Already many people has requested/complained about getting nice UI.
Anyway to disable the silverlight plugin all you need to do is run this command line but there is a little problem it this will disable all the plugin’s for Chrome.
chrome.exe -disable-plugins
and to enable as you might have guess the command line is
chrome.exe -enable-plugins
for my Win 7 machine the chrome.exe is installed at this location
C:\Users\loginname\AppData\Local\Google\Chrome\Application\
Well I found out two more things while writing this post
- First is that silverlight cannot be installed on 64-bit version of IE8 you will get a message as below.
- Second is that IE 7 installed on Windows 7 cannot have silverlight
Points of Interest
- How to create a custom installation screen
http://michaelcrump.net/archive/2010/11/06/customize-the-silverlight-installation-experience-in-about-15-minutes.aspx
http://www.netmag.co.uk/zine/expression/create-a-custom-silverlight-install-experience - Silverlight install experience best practices
http://timheuer.com/blog/archive/2008/12/02/silverlight-install-experience-best-practices-netflix.aspx - 3) Link to the article on my blog
http://avikas.blogspot.com/2010/07/test-silverlight-installation-screen.html