Board logo

标题: 运行.bat后提示installation failed. [打印本页]

作者: zhzhang9756     时间: 2008-12-19 16:07    标题: 运行.bat后提示installation failed.

运行下面的批处理后提示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疑难解答 & 问题讨论 (解答室)
明显发错版块,因属论坛新手,故暂不予以处罚,望今后一起注意。
——管理员
—————————————————————————————————

作者: zhzhang9756     时间: 2008-12-19 16:10    标题: reg.inf

[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}"