I'm trying to add a feature to VS 2008. However, the initial install was done with a DVD in drive D: ... I don't currently have the DVD, so开发者_StackOverflow中文版 I'm trying to do the updating using an .iso mounted as drive E: ... The VS setup program is not able to find the setup files.
Is there a way for me to tell VS 2008 setup to look for files in E: instead of D:? Maybe a registry or ini setting?
Edit: The specific error message I got was: A selected drive is no longer valid
you could remap your drive letters using the disk management console so that your mounted iso is the D: drive. if an existing drive is currently mapped to D:, you'll have to remap that to something else first
It is in the registry, try searching the registry for the path it is looking for.
Another thing you can do is run setup from your current VS 2008 location, instead of trying to launch it from control panel.
After some further googling, I found the answer. I had to uninstall VS 2008 SP1. Once I did that, the setup program allowed me to select the location of the installation files.
I'm not sure how or if you can change where setup looks for the files.
One thing you could do though is change the mount point of the ISO to D: instead of E:. This could be done on a temporary basis until you've completed adding the feature. Go to
- Control Panel
- Administrative Tools
- Computer management
- Select the Disk Management Node
- Change the associated drive letters
This can also be caused by a bug in VS SP1 as described at http://connect.microsoft.com/VisualStudio/feedback/details/487382/installing-visual-studio-2008-sp1-disables-ability-to-make-changes-to-visual-studio-installed-features
The directions there say to install the hotfix KB97957.
Fixed my problem and a lot easier that uninstalling SP1 (after installing the KB it just asks you where your install files are located)
精彩评论