安装Visual Studio 2005 Profesional的“Cannot open”问题

之前在本子上装了VS2003简体中文版,后来下到了05的英文专业版,结果在卸载掉前者安装后者的Sql2005 Express时(安装日志里)出现了"Cannot open D:\VS\Program Files\Microsoft Visual Studio 8\SDK\v2.0\GuiDebug\shortcutCLRDbg32.txt file. Makes sure a disk is in the drive you specified" (还有另一个路径差不多的windows Installer 3.1 patch)。在Msdn论坛上翻了翻,类似遭遇的人不少,现在估计是安装之前的版本和各种.Net Frame之类的补丁太杂造成的,下次重新安装系统之后不知道这个问题会不会自动解决。下面是一个老外的解决方法,放在这里作个备忘:

http://forums.microsoft.com/msdn/showpost.aspx?postid=89164&siteid=1

Re: VSTS 2005 Release Candidate fails to install at shortcutCLRDbg32.txt file.... Was this post helpful ?

Yes, I too found that problem and more (see my post under setup)! I found a better solution. I know for WinXP and 2003, you may use, in the start menu Run command, type "msconfig". Then click "Selective Startup".
Below that, UNcheck 3 boxes, "Process System.ini", "Process Win.ini", and "Load Startup Items" which are all un-necessary programs that may take some processes away. Only one program can access a file at a time, and if another program has access to it, say your Virus scanner, the installer won't have access to it.
Lastly, go into "Services", check "Hide all Microsoft Services", then press the button "Disable All"....
Save your work you are doing if anything else is open, click Apply, OK, and Restart your computer.

When you go to install the program, you should have no problem because only Microsoft processes are running if you look in your task manager.
Once completely installed and restarted, go back into Run -> "msconfig" and select "Normal Startup". Restart your computer, and it should be.
I must be having trouble with my registers though, so if someone reads my message and has an idea what's wrong, I'd appreciate it. Thanks!

No comments: