中国DOS联盟

-- 联合DOS 推动DOS 发展DOS --

联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!

中国DOS联盟论坛
现在时间是 2026-08-11 00:02
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » 运行.bat后提示installation failed. 查看 683 回复 1
楼 主 运行.bat后提示installation failed. 发表于 2008-12-19 16:07 ·  中国 香港 电讯盈科有限公司
新手上路
积分 14
发帖 5
注册 2008-01-14 14:25
18年会员
UID 108569
性别 男
状态 离线
运行下面的批处理后提示Installation Failed.请教为什么?好像是最后一个命令出错,加粗那一行:

@echo off
md "%ProgramFiles%\Common Files\Adobe\Color\Profiles"
md "%ProgramFiles%\Common Files\Adobe\Color\Settings"
md "%ProgramFiles%\Common Files\Adobe\StartupScripts"
rem md "%AppData%\Adobe\Updater"
md "%AllUsersProfile%\Application Data\Adobe\Updater"
rem copy "!!!\AppData\Adobe\Updater\*" "%AppData%\Adobe\Updater" /Y
copy "!!!\CommonFiles\Adobe\Color\Profiles\*" "%ProgramFiles%\Common Files\Adobe\Color\Profiles" /Y
copy "!!!\CommonFiles\Adobe\Color\Settings\*" "%ProgramFiles%\Common Files\Adobe\Color\Settings" /Y
copy "!!!\CommonFiles\Adobe\StartupScripts\*" "%ProgramFiles%\Common Files\Adobe\StartupScripts" /Y
copy "!!!\AllUsersAppData\Adobe\Updater\*" "%AllUsersProfile%\Application Data\Adobe\Updater" /Y
rundll32 setupapi,InstallHinfSection DefaultInstall 128 .\reg.inf
@exit




—————————————————————————————————
转移自 DOS疑难解答 & 问题讨论 (解答室)
明显发错版块,因属论坛新手,故暂不予以处罚,望今后一起注意。
——管理员
—————————————————————————————————
2 reg.inf 发表于 2008-12-19 16:10 ·  中国 香港 电讯盈科有限公司
新手上路
积分 14
发帖 5
注册 2008-01-14 14:25
18年会员
UID 108569
性别 男
状态 离线
[Version]
Signature="$CHICAGO$"
Provider=blue_18@tom.com, 2006


[DefaultInstall]
; DelReg=DelReg
AddReg=AddReg

[DelReg]

[AddReg]
HKLM,"%SMWCU%","EPIC_ORG",," "
HKLM,"%SMWCU%","EPIC_SERIAL",,"911982299555189769861934"
HKLM,"%SMWCU%","EPIC_NAME",," "
HKLM,"%SMWCU%","ProductSIFFile",,"PS.sif"
HKLM,"%SMWCU%","epic_eula_accepted",0x10001,01,00,00,00
HKLM,"%SMWCU%","InstallLocation",,"%01%\"
;HKLM,"%SMWCU%","VersionMajor",0x10001,09,00,00,00
;HKLM,"%SMWCU%","VersionMinor",0x10001,00,00,00,00
;HKLM,"%SMWCU%","Version",0x10001,00,00,00,09
;HKLM,"%SMWCU%","Language",0x10001,09,04,00,00

[Strings]
SMWCU="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{236BB7C4-4419-42FD-0409-1E257A25E34D}"
论坛跳转: