今天安装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.
____
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
_________________________________________________________________
这个好像中国程序员都没碰到,我在Google和百度上都没搜到中文的解决方法,所以写了此文,以资参考,望知道其中缘由的人多多指教,当然最简单的解决方法是重装系统....:)