The final releases of the Visual Studio 2008 Express Editions include an optional step to install Silverlight v1.0. We have seen a few cases where the Silverlight v1.0 component fails to install during a VS 2008 Express Edition installation because a previous version of Silverlight v1.0 was already installed on the system.
Description of this issue
This scenario can occur if a pre-release version of Silverlight v1.0 is installed on the system and one of the following conditions is true:
- Automatic Silverlight updates are disabled on the system
- Automatic Silverlight updates are enabled, but you have not visited a Silverlight-enabled web site in a while (which will trigger the automatic update process)
How to diagnose this issue
In this scenario, the VS 2008 Express Edition setup log file (named %temp%\dd_install_*_xcor_90.txt) will contain an error message that looks like the following:
[12/12/07,12:12:12] ExpressUI: ***ERRORLOG EVENT*** : DepCheck indicates Microsoft Silverlight Runtime is not installed.
In addition, the Silverlight verbose MSI log file (named %temp%\SilverlightMSI*.txt) will contain error messages near the end of the file that look like the following:
MSI (s) (04:F4) [12:12:12:080]: Product: Microsoft Silverlight — Configuration failed.
MSI (s) (04:F4) [12:12:12:081]: Windows Installer reconfigured the product. Product Name: Microsoft Silverlight. Product Version: 1.0.20816.0. Product Language: 1033. Reconfiguration success or error status: 1638.
MSI (s) (04:F4) [12:12:12:082]: MainEngineThread is returning 1638
MSI (s) (04:C8) [12:12:12:082]: No System Restore sequence number for this installation.
Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel.
Windows Installer error code 1638 means that an MSI with the same product code but a different package code is already installed.
How to work around this issue
If you run into this type of error while attempting to install a VS 2008 Express Edition, you can work around it by doing one of the following:
- Visit http://www.microsoft.com/silverlight to trigger an automatic update to the latest version of Silverlight v1.0 if you have Silverlight automatic updates enabled
- Directly run the Silverlight v1.0 installer by downloading it from http://go.microsoft.com/fwlink/?LinkId=103103
This issue and workaround is also documented in the Visual Studio 2008 Express Editions readme.