下面是我的RunOnceEx.cmd文件的内容:(集成安装WIN2000)
======================================================
@echo off
IF EXIST D:\WIN51IP set CDROM=D:
IF EXIST E:\WIN51IP set CDROM=E:
IF EXIST F:\WIN51IP set CDROM=F:
IF EXIST G:\WIN51IP set CDROM=G:
IF EXIST H:\WIN51IP set CDROM=H:
IF EXIST I:\WIN51IP set CDROM=I:
IF EXIST J:\WIN51IP set CDROM=J:
IF EXIST K:\WIN51IP set CDROM=K:
IF EXIST L:\WIN51IP set CDROM=L:
IF EXIST M:\WIN51IP set CDROM=M:
IF EXIST N:\WIN51IP set CDROM=N:
IF EXIST O:\WIN51IP set CDROM=O:
IF EXIST P:\WIN51IP set CDROM=P:
IF EXIST Q:\WIN51IP set CDROM=Q:
IF EXIST R:\WIN51IP set CDROM=R:
IF EXIST S:\WIN51IP set CDROM=S:
IF EXIST T:\WIN51IP set CDROM=T:
IF EXIST U:\WIN51IP set CDROM=U:
IF EXIST V:\WIN51IP set CDROM=V:
IF EXIST W:\WIN51IP set CDROM=W:
IF EXIST X:\WIN51IP set CDROM=X:
IF EXIST Y:\WIN51IP set CDROM=Y:
IF EXIST Z:\WIN51IP set CDROM=Z:
SET KEY=HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY%\020/VE /D "软件安装" /f
REG ADD %KEY%\025 /VE /D "安装WinRAR V3.0" /f
REG ADD %KEY%\025 /V 1 /D "%CDROM%\WIN2000\PRO\$OEM$\$1\install\APPLICATIONS\WINRAR30B3CN.EXE /s" /f
REG ADD %KEY%\030 /VE /D "安装系统安全更新" /f
REG ADD %KEY%\030 /V 01 /D "%CDROM%\WIN2000\PRO\$OEM$\$1\install\Hotfixes\noreboot\Windows2000-KB823980-x86-CHS.exe -u -z" /f
REG ADD %KEY%\040 /VE /D "正在关闭计算机" /f
%CDROM%\WIN2000\PRO\$OEM$\$1\install\Applications\shutdown.exe
EXIT
========================================================================
安装中出现如下的提示:
这要怎么处理啊?谢谢了(虽然有以上的提示,但是我集成的“WinRAR V3.0”和“Windows2000-KB823980-x86-CHS.exe”都成功的安到系统上去了,进系统后也可以使用!)