安装 Visual Studio 6 报错:"wpie15.exe..." 解决方案

今天安装VS6,报错:
安装程序在启动下列命令行时遇到问题"wpie15.exe" /q:a /r:n
如果您的系统目录中包含一个%符号,......
安装程序现在将中止...
如下图:


原因不明,的确在某个分区中会有"~MSSETUP.T"文件夹

幻想如果此文件夹命名为"MSSETUP.T"估计就好了,但是不现实,解决不了,产生的原因不明
Google后,好像只有这篇对症下药
http://www.thescripts.com/forum/thread674558.html

转载如下:

Error while installing VS6

hi everybody,

i am trying to install VS6 just to review the old code on my machine (XP Prof SP2). but it is giving following error.

setup has encountered a problem in launching the followning command line:
"wpie15.exe" /q:a/r:n.
if you have a system directory that contains a % sign, or the directory names *starts* with a space (i.e. 'C:/win95/system'), then setup will fial. please restart setup and ensure your system directory names does not contain the aforementioned problems, setup will now abort...


i am having Visual Studio 2003 also installed on my machine. is this is the reason why i am getting this error. but i dont want to convert that code to VS2003 i have also uninstalled VS2003 and tried to install VS6. but still it is giving same error. i dont want to format my machine as it will take a couple of days to restore all the things.

-----------------解决方案看这里----------------
Originally Posted by jj on a.n.f.

I would advise all newbies to make a local copy of the C:/windows/system32/autoexec.nt file prior to replacing it with the older autoexec.nt file.
____

Create a new c:/windows/system32/autoexec.nt file with the following contents:
_______________________________________________________________

@echo off

REM AUTOEXEC.BAT is not used to initialize the MS-DOS environment.
REM AUTOEXEC.NT is used to initialize the MS-DOS environment unless a
REM different startup file is specified in an application's PIF.

REM Install CD ROM extensions
lh %SystemRoot%/system32/mscdexnt.exe

REM Install network redirector (load before dosx.exe)
lh %SystemRoot%/system32/redir

REM Install DPMI support
lh %SystemRoot%/system32/dosx

SET BLASTER=A220 I5 D1 P330 T3
_________________________________________________________________

It seems that the WinXP SP2 install removes this file. Go figure.



简单翻译一下解决方法
找到c:/windows/system32/autoexec.nt这个文件,如果没有就新建一个
如果有就把以前的备份一下,用下面这段东西替代
_______________________________________________________________
@echo off

REM AUTOEXEC.BAT is not used to initialize the MS-DOS environment.
REM AUTOEXEC.NT is used to initialize the MS-DOS environment unless a
REM different startup file is specified in an application's PIF.

REM Install CD ROM extensions
lh %SystemRoot%/system32/mscdexnt.exe

REM Install network redirector (load before dosx.exe)
lh %SystemRoot%/system32/redir

REM Install DPMI support
lh %SystemRoot%/system32/dosx

SET BLASTER=A220 I5 D1 P330 T3
_________________________________________________________________
如果没有,正好,新建这么个文件,OK,问题暂时可以解决,可以保证安装成功一大半,反正这样安装,仍会报错,但不是以上的错误了,安装完可以使用VC6、VB6...了

这个好像中国程序员都没碰到,我在Google和百度上都没搜到中文的解决方法,所以写了此文,以资参考,望知道其中缘由的人多多指教,当然最简单的解决方法是重装系统....:)
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值