51Testing软件测试论坛

标题: rft安装是出现xcopy,cacls的错误 [打印本页]

作者: bingpoli    时间: 2010-12-27 16:14
标题: rft安装是出现xcopy,cacls的错误
。。。。。。
C:\Program Files\IBM\SDP\FunctionalTester\installscripts>GOTO :EOF  
"Found .Net Framework 2.0"

C:\Program Files\IBM\SDP\FunctionalTester\installscripts>CALL :CoreInstall
=================== CoreInstall ===================

C:\Program Files\IBM\SDP\FunctionalTester\installscripts>CALL efineEnv IBM_RATIONAL_RFT_INSTALL_DIR "C:\Program Files\IBM\SDP\FunctionalTester\bin"
=== SetEnv IBM_RATIONAL_RFT_INSTALL_DIR="C:\Program Files\IBM\SDP\FunctionalTester\bin"

C:\Program Files\IBM\SDP\FunctionalTester\installscripts>C:\PROGRA~1\IBM\SDP\FUNCTI~1\INSTAL~1\rreg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment"  /v IBM_RATIONAL_RFT_INSTALL_DIR /t REG_SZ /d "C:\Program Files\IBM\SDP\FunctionalTester\bin"

C:\Program Files\IBM\SDP\FunctionalTester\installscripts>SET IBM_RATIONAL_RFT_INSTALL_DIR=C:\Program Files\IBM\SDP\FunctionalTester\bin

C:\Program Files\IBM\SDP\FunctionalTester\installscripts>CALL efineEnv IBM_RATIONAL_RFT_ECLIPSE_DIR "C:\Program Files\IBM\SDP"
=== SetEnv IBM_RATIONAL_RFT_ECLIPSE_DIR="C:\Program Files\IBM\SDP"

C:\Program Files\IBM\SDP\FunctionalTester\installscripts>C:\PROGRA~1\IBM\SDP\FUNCTI~1\INSTAL~1\rreg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment"  /v IBM_RATIONAL_RFT_ECLIPSE_DIR /t REG_SZ /d "C:\Program Files\IBM\SDP"

C:\Program Files\IBM\SDP\FunctionalTester\installscripts>SET IBM_RATIONAL_RFT_ECLIPSE_DIR=C:\Program Files\IBM\SDP

C:\Program Files\IBM\SDP\FunctionalTester\installscripts>C:\PROGRA~1\IBM\SDP\FUNCTI~1\INSTAL~1\rreg.exe envSettingChange

C:\Program Files\IBM\SDP\FunctionalTester\installscripts>CALL efineRftReg "Rational FT Install Directory" "C:\Program Files\IBM\SDP\FunctionalTester\bin"
=== SetRftReg "Rational FT Install Directory"="C:\Program Files\IBM\SDP\FunctionalTester\bin"
=== SetReg key:"HKLM\SOFTWARE\Rational Software\Rational Test\8" value:"Rational FT Install Directory" = "C:\Program Files\IBM\SDP\FunctionalTester\bin"

C:\Program Files\IBM\SDP\FunctionalTester\installscripts>C:\PROGRA~1\IBM\SDP\FUNCTI~1\INSTAL~1\rreg.exe add "HKLM\SOFTWARE\Rational Software\Rational Test\8" /v "Rational FT Install Directory" /t REG_SZ /d "C:\Program Files\IBM\SDP\FunctionalTester\bin"

C:\Program Files\IBM\SDP\FunctionalTester\installscripts>CALL efineRftReg "Eclipse Directory" "C:\Program Files\IBM\SDP"
=== SetRftReg "Eclipse Directory"="C:\Program Files\IBM\SDP"
=== SetReg key:"HKLM\SOFTWARE\Rational Software\Rational Test\8" value:"Eclipse Directory" = "C:\Program Files\IBM\SDP"

C:\Program Files\IBM\SDP\FunctionalTester\installscripts>C:\PROGRA~1\IBM\SDP\FUNCTI~1\INSTAL~1\rreg.exe add "HKLM\SOFTWARE\Rational Software\Rational Test\8" /v "Eclipse Directory" /t REG_SZ /d "C:\Program Files\IBM\SDP"

C:\Program Files\IBM\SDP\FunctionalTester\installscripts>CALL :SetJRE

C:\Program Files\IBM\SDP\FunctionalTester\installscripts>IF "C:\Program Files\IBM\SDP\jdk\jre" EQU "..undefined.." (

GOTO :EOF
)

C:\Program Files\IBM\SDP\FunctionalTester\installscripts>CALL efineRftReg "Rational FT JRE" "C:\Program Files\IBM\SDP\jdk\jre"
=== SetRftReg "Rational FT JRE"="C:\Program Files\IBM\SDP\jdk\jre"
=== SetReg key:"HKLM\SOFTWARE\Rational Software\Rational Test\8" value:"Rational FT JRE" = "C:\Program Files\IBM\SDP\jdk\jre"

C:\Program Files\IBM\SDP\FunctionalTester\installscripts>C:\PROGRA~1\IBM\SDP\FUNCTI~1\INSTAL~1\rreg.exe add "HKLM\SOFTWARE\Rational Software\Rational Test\8" /v "Rational FT JRE" /t REG_SZ /d "C:\Program Files\IBM\SDP\jdk\jre"

C:\Program Files\IBM\SDP\FunctionalTester\installscripts>CALL efineRftReg "Rational FT Playback JRE" "C:\Program Files\IBM\SDP\jdk\jre"
=== SetRftReg "Rational FT Playback JRE"="C:\Program Files\IBM\SDP\jdk\jre"
=== SetReg key:"HKLM\SOFTWARE\Rational Software\Rational Test\8" value:"Rational FT Playback JRE" = "C:\Program Files\IBM\SDP\jdk\jre"

C:\Program Files\IBM\SDP\FunctionalTester\installscripts>C:\PROGRA~1\IBM\SDP\FUNCTI~1\INSTAL~1\rreg.exe add "HKLM\SOFTWARE\Rational Software\Rational Test\8" /v "Rational FT Playback JRE" /t REG_SZ /d "C:\Program Files\IBM\SDP\jdk\jre"

C:\Program Files\IBM\SDP\FunctionalTester\installscripts>CALL efineRftReg "Rational FT Samples" "C:\Program Files\IBM\SDP"\FunctionalTester\FTSamples
=== SetRftReg "Rational FT Samples"="C:\Program Files\IBM\SDP"\FunctionalTester\FTSamples
=== SetReg key:"HKLM\SOFTWARE\Rational Software\Rational Test\8" value:"Rational FT Samples" = "C:\Program Files\IBM\SDP"\FunctionalTester\FTSamples

C:\Program Files\IBM\SDP\FunctionalTester\installscripts>C:\PROGRA~1\IBM\SDP\FUNCTI~1\INSTAL~1\rreg.exe add "HKLM\SOFTWARE\Rational Software\Rational Test\8" /v "Rational FT Samples" /t REG_SZ /d "C:\Program Files\IBM\SDP"\FunctionalTester\FTSamples

C:\Program Files\IBM\SDP\FunctionalTester\installscripts>CALL :SetNetAssembly

C:\Program Files\IBM\SDP\FunctionalTester\installscripts>IF ..true.. EQU ..false.. (GOTO :EOF )
rtivregister succeeded

C:\Program Files\IBM\SDP\FunctionalTester\installscripts>CALL :CreateCustConfigDirs
=== CreateCustConfigDirs

C:\Program Files\IBM\SDP\FunctionalTester\installscripts>CALL :CreateUserDir "Rational FT Customization Directory" "customization"
=== CreateUserDir: Attempting to compute customization directory

C:\Program Files\IBM\SDP\FunctionalTester\installscripts>CALL ueryUserDir "Rational FT Customization Directory" "customization"
"??QUERY?? Registry for customization set but directory does not exist: "

C:\Program Files\IBM\SDP\FunctionalTester\installscripts>GOTO :EOF

C:\Program Files\IBM\SDP\FunctionalTester\installscripts>REM # @SET cDir=C:\Documents and Settings\All Users\Application Data\IBM\RFT\customization

C:\Program Files\IBM\SDP\FunctionalTester\installscripts>SET REG_VALUE=

C:\Program Files\IBM\SDP\FunctionalTester\installscripts>IF "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" == "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" ()  ELSE ()
??QUERY?? Registry "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders"\"Common AppData"="C:\Documents and Settings\All Users\Application Data"
Location of customization and configuration folder=C:\Documents and Settings\All Users\Application Data\IBM\RFT\customization
"=== Create customization directory "C:\Documents and Settings\All Users\Application Data\IBM\RFT\customization"
'XCOPY' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

C:\Program Files\IBM\SDP\FunctionalTester\installscripts>echo Y  | cacls "C:\Documents and Settings\All Users\Application Data\IBM\RFT\customization" /P Everyone:F /T
'cacls' 不是内部或外部命令,也不是可运行的程序
或批处理文件。


log中的错误谁遇到过啊,改怎么解决啊,帮帮忙吧!谢谢了!
作者: liujinkui    时间: 2010-12-28 09:26
没有遇到,帮助顶一下。
作者: franklies    时间: 2010-12-30 15:43
系统的环境变量问题,检查下  PTAH 里有没有%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2