Do not repair vs 2008 SP1 from installation media
If you need to repairVisual Studio 2008OnceSP1Has been applied or wish to change which features are installed, you cannot runSetup.exeFrom the original installation media.
When you run repair from media you may see an error like, "a problem has been encountered while loading the setup components. Canceling Setup ."
Workaround
Open the control panel and go to Add/Remove programs, or on Vista click on the "Uninstall a program" Link under programs. find Microsoft Visual Studio 2008 (the exact product name will vary based on edition and language installed) and click on the uninstall/change button. when setup launches and components are loaded, you will be asked to repair, change features, or Uninstall. choose the option you which to perform and continue as directed.
After installing vs2008 + SP1, double-click to installProgramThe above error will be prompted. The solution is not to maintain vs2008 directly from the installation program, but to maintain vs2008 directly from adding or deleting programs in the Windows Control Panel.