Partilhar via


Possible problem installing Windows Phone Developer Tools CTP Refresh on a system with Silverlight 4 installed

Yesterday, I investigated a Windows Phone Developer Tools CTP Refresh installation issue on a colleague’s computer, and I wanted to describe what I found in case anyone else runs into a similar issue.

Description of the issue

Silverlight 4 was posted on Microsoft Update earlier this week, and I found that if this version of Silverlight is installed on a computer prior to running setup for the Windows Phone Developer Tools CTP Refresh, it will cause WPDT setup to fail while it tries to install Silverlight 4.  The error in the log file named %temp%\dd_install_vm_xcor_100.txt looks like the following:

[06/04/10,12:34:56] Microsoft Silverlight 4.0: ***ERRORLOG EVENT*** : Error code 1502 for this component means "The event log file is full."

Unfortunately, this error message is misleading, and it does not help to try to clear out your event logs in this scenario.  I narrowed this down further by having my colleague run the Silverlight 4 setup in full UI mode from the WPDT setup location.  When doing that, it displays an error message stating that a later version of Silverlight is already installed.

How to work around the issue

If you run into this error while trying to install the WPDT CTP Refresh, you can solve it by doing the following:

  1. Go to the Programs and Feature control panel.
  2. Locate the item named Microsoft Silverlight and uninstall it.
  3. Re-run WPDT setup.

This issue will be addressed in a future release of the Windows Phone Developer Tools.

Comments

  • Anonymous
    June 06, 2010
    Given that most of us probably have Silverlight 4 by now (and after all - if not, what not?) I hope that this issue will be addressed in the very next release of the Windows Phone Developer Tools, or they're not in a suitable state to release. Just saying.

  • Anonymous
    June 06, 2010
    Just encountered this problem, uninstalling Silverlight and running the web installer again worked perfectly. Thanks!

  • Anonymous
    June 09, 2010
    Thanks for confirming what I suspected. The event log file full message also threw me for a while.

  • Anonymous
    June 23, 2010
    I am not able to install WIndows Phone Developer tool CTP. I did uninstalled Silverlight before launchin the setup. Here is extract from the log file: [06/24/10,15:36:12] Setup.exe: GetGlobalCustomProperty - Property: {E0875D42-A33D-4C64-81C9-167795F29CA4} - PropertyName: PathFromCartmanToRoot - Value: . [06/24/10,15:36:12] Microsoft Silverlight 4.0: File does not exist locally: c:usersaaruamitdownloadsvm_web (3).wcusilverlight4Silverlight.4.0_Developer.exe [06/24/10,15:36:12] Microsoft Silverlight 4.0: CGenericComponent::Install(): Sleeping before reattempting validation. [06/24/10,15:36:23] Microsoft Silverlight 4.0: ERRORLOG EVENT : CGenericComponent::Install() expects the setup file for Microsoft Silverlight 4.0, but the file is not available. [06/24/10,15:36:23] Setup.exe: GetGlobalCustomProperty - Property: {BBE1827C-F2FD-4FDA-A6D6-C83B62FFFDCA} - PropertyName: compfailed - Value: 0 [06/24/10,15:36:23] setup.exe: ERRORLOG EVENT : ISetupComponent::Pre/Post/Install() failed in ISetupManager::InternalInstallManager() with HRESULT -2147467259. Please help. Thanks Rushi

  • Anonymous
    June 26, 2010
    Thanks for the heads up, saved me having to dig through the log file. : )

  • Anonymous
    July 02, 2010
    Hi Rushi - It looks like the installer is having trouble downloading the setup package for Silverlight 4 on your system.  It might help to try to reboot and then re-run the WPDT CTP Refresh installer to see if it can successfully download this package afterwards.  You can also try to download and install the Silverlight 4.0 package from go.microsoft.com/fwlink to see if you can download and install it separately from the main WPDT CTP Refresh installer.