C++安装失败解决办法

法一:删除注册表中的HKY_LOCAL_MACHINE\\SYSTEM|ControlSet001\\Services\\VSS,卸载重装。
法二:点击 setup目录下的 wpie15.exe ..  然后再次点击 setp.exe 安装 (后来是不用ACMBOOT.EXE安装, 用SETUP )
法三: 找到安装盘下的KEY.DAT文件,用记事本打开,内容如下:
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\6.0\Setup\Visual Studio 98\SetupWizard]
"aspo"=dword:00000000
    REGEDIT4在Win2000、WinXp下是没法导入注册表的,将其攺为:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\6.0\Setup\Visual Studio 98\SetupWizard]
"aspo"=dword:00000000
另存为 reg.reg,双击导入注册表,再次安装。

 

 

安装成功后,若出现编译总出错,可能是路径不对,可按以下方法修改路径

如果你是按照初始路径安装vc6.0的,路径应为:
executatble files:
C:/Program Files/Microsoft Visual Studio/Common/MSDev98/Bin
C:/Program Files/Microsoft Visual Studio/VC98/BIN
C:/Program Files/Microsoft Visual Studio/Common/TOOLS
C:/Program Files/Microsoft Visual Studio/Common/TOOLS/WINNT

include files:
C:/Program Files/Microsoft Visual Studio/VC98/INCLUDE
C:/Program Files/Microsoft Visual Studio/VC98/MFC/INCLUDE
C:/Program Files/Microsoft Visual Studio/VC98/ATL/INCLUDE

library files:
C:/Program Files/Microsoft Visual Studio/VC98/LIB
C:/Program Files/Microsoft Visual Studio/VC98/MFC/LIB

source files:
C:/Program Files/Microsoft Visual Studio/VC98/MFC/SRC
C:/Program Files/Microsoft Visual Studio/VC98/MFC/INCLUDE
C:/Program Files/Microsoft Visual Studio/VC98/ATL/INCLUDE
C:/Program Files/Microsoft Visual Studio/VC98/CRT/SRC

你可能感兴趣的:(C++)