如何卸载RFT6.1.1
上一篇 / 下一篇 2008-08-31 20:32:43 / 个人分类:自动化测试
转自IBM网站
x.Cx%hpY9Zt$D M02p(g+Le
d7u:p,b"WF0
3S*V)gC@
H0Problem(Abstract)
;Z5p-Y4`7d0This document describes how to do a clean uninstall of IBM? Rational? Functional Tester (RFT) version 6.1.x on Microsoft Windows.
\+m%@AMWRo0Hb0 51Testing软件测试网Y rn;b.Fm
Symptom51Testing软件测试网k6pE.Q)h:P:S5_-s
The information in this document applies for both integrated development environments (IDE) of RFT. The IDEs are Java? scrīpting in Eclipse, and Microsoft Visual Studio .NET, the latter in both versions 2003 and 2005.
M;h
\.mv kU0A clean uninstall removes everything that the installation procedure added. In case of installation or update failure, a clean uninstallation and reinstallation can result in a working RFT installation.
%}6S[ t2B&{)A"^1UQr0
$e o!h/EG(l0 51Testing软件测试网g6Z.G"u#r5Pn
Environment51Testing软件测试网h,g nw{
This information is valid for versions 6 only. 51Testing软件测试网#lYYqi'Oa5[
51Testing软件测试网U1f:fcL%Y
V,]V
51Testing软件测试网
U;u0dcWcks-P
Resolving the problem
7TQ;}p:Z M2_0The procedure below involves the following stages:51Testing软件测试网$SDz#m0u zm f2}
j$O9KEQ2~6y0--------------------------------------------------------------------------------51Testing软件测试网2czJ
[R0?
Verifying the prerequisites
8{ZL9j F
`Q.a0 Uninstallation of RFT
Y:F/`2l-O0 Uninstallation of the IBM Rational Agent Controller
z}asQ@0G0 Re-installing RFT
--------------------------------------------------------------------------------51Testing软件测试网:S^ mk4fC G T;U5YZ
51Testing软件测试网U%V}w'K.N8b}Verifying the prerequisites51Testing软件测试网] @,`9A3i+h6e)Q
Ensure that no RFT IDE is running.
c0V.HHYy:A0If you use .NET scrīpting, make sure, that you had installed one of these two combinations before the installation of RFT:
If+EM@*`0.NET 1.1 Framework with Microsoft Visual Studio 200351Testing软件测试网2b!\{5V:L#|/W
.NET 2.0 Framework with Microsoft Visual Studio 200551Testing软件测试网[A2q h&\a#K
If you use Java scrīpting for RFT, .NET Framework is mandatory. version 1.1 or 2.0 is required.51Testing软件测试网:e8q8[se7UpJ;O#C-D
End all RFT processes. Use the tool Process Explorer from Microsoft Windows Sysinternals and follow the steps below:
x.ke3Lr0Find processes by DLL substring rtx51Testing软件测试网:l)xs%j|7B
Select Find > Find Handle DLL. The Process Explorer Search window opens.51Testing软件测试网i3z.R[NYC(S5Q
Enter rtx in the field Handle or DLL substring.51Testing软件测试网+p"aAbIy"?2X
}|C
Kill all the processes, that appear in the Process Explorer Search window.
3s`3F0c;^x051Testing软件测试网 f+h v;pf
51Testing软件测试网p4k;q o?0s
--------------------------------------------------------------------------------51Testing软件测试网
x9G&sh-G^8}D
51Testing软件测试网*rk"]+@%w,U:U8r
Uninstallation of RFT
n5?/~Kf0Uninstall RFT from the Windows Control Panel Add or Remove Programs.51Testing软件测试网Ns^%B'P q0C
Run post_uninstall.bat. You can find this file at:
*?/x&STT;@ v
Z)S0C:\Documents and Settings\All Users\Application Data\IBM\RFT\UninstallRFTRMT.
di;[YGP.X0Note: You do not have to run it when you do not have this file.
w|%]R2\Jw0Remove files under C:\Program Files\IBM\Rational.51Testing软件测试网[$c^k+l6b
Remove files under C:\Documents and Settings\Administrator\IBM\rationalsdp6.0.51Testing软件测试网2TO)A/g
de
Clean all the assembly entries. Follow either method 1 or method 2.51Testing软件测试网-O*K4TH.h9X.QB }
Method 1: through Assembly Explorer:
l_8Z+f5C m)t0Go to Start > Run and type assembly.
(];YH"NS"Y8E+Uj0Delete all instances of the following:
)zMC,Xn!V%eU0rtxftnet
9e-Q%SmW ig0SiebelDomainProxies51Testing软件测试网A5mF*_A)Xe
X
SiebelIEHelper
%Z7X,[k6R6?9I0SiebelNotificationListener51Testing软件测试网7Y-O6g?`1o2J@
policy.6.1.rtxftnet[</code>]
T|^'P!\$jr5? U+q}2d0Method 2: by using gacutil and regasm .NET commands:
u$shL(M*{M4T9k*l8_0Go to: Start > Programs > Microsoft Visual Studio .NET 2003 (or 2005) > Visual Studio .NET Tools > Visual Studio .NET 2003 (or 2005) Command Prompt.
,A:J&uK,s0From the command prompt, to remove from Global Assembly Cache (GAC) enter the commands below:
8^x#R h#uI"`0gacutil /u "<path>\rtxftnet.dll"
L Ve?Z0j [0gacutil /u "<path>\SiebelDomainProxies.dll"51Testing软件测试网)la-iK.wI
gacutil /u "<path>\SiebelIEHelper.dll"
*Y
c,z|U-X*te0gacutil /u "<path>\SiebelNotificationListener.dll"
4Hnz7otD0gacutil /u "<path>\ policy.6.1.rtxftnet.dll"
YNO0[4e3Qd6y,h;W0From the Command Prompt, to unregister the Assembly, enter the commands below:51Testing软件测试网j?o:Tc.h/@
regasm /unregister "<path>\rtxftnet.dll"
kWR}f0regasm /unregister "<path>\SiebelDomainProxies.dll"51Testing软件测试网2n9W;fjg|!N!P-G
regasm /unregister "<path>\SiebelIEHelper.dll"
5FH5{x1}r;H0regasm /unregister "<path>\SiebelNotificationListener.dll"
5V"i2l+F2~z#x0regasm /unregister "<path>\ policy.6.1.rtxftnet.dll"51Testing软件测试网Vf9^S
bE
OO
g
Note: If you are unable to clean the assembly entries by following either of the methods in step 5, follow these steps.
r!B2FHg0Open the Windows Registry editor.51Testing软件测试网)Z ~)xR?i
Search for all assemblies listed in Step 5 that you were unable to delete.
ty-gFC9CC0Delete the entries from the Registry.51Testing软件测试网r^
x|
mp
`9W
Go back to Step 5 and try to delete the assembly entries once again. This time you should be able to delete them.51Testing软件测试网M!o"x%i:l
Go to HKEY_LOCAL_MACHINE\SOFTWARE\Rational Software\RationalTest and delete the entire 8 Folder under it.51Testing软件测试网 Fx4Xp+T
fmi
P"k3KJ;w`0--------------------------------------------------------------------------------
B.kO pM']/}/Qw051Testing软件测试网'?&~!I!\bW+dY-Kw]Uninstallation of Rational Agent Controller51Testing软件测试网:[+j)C&R8I%zg
Warning: Uninstalling IBM Rational Agent Controller (RAC) can affect other Rational products, when they have a dependency on RAC. Among these are Rational Performance Tester, Rational Web Developer, Rational Application Developer and Rational Software Architect.51Testing软件测试网%E Z,K(}0GJ
l3f
,G9?5ij`:b1pC0Stop the IBM Rational Agent Controller Service.51Testing软件测试网&`^kJgcl+p;sz(o-M
Run the following commands from the command prompt.
,GBU5@Jc*_v]0C:\Program Files\IBM\Rational\SDP\6.0\IBM_Agent_Controller/bin/managerservice.exe remove “IBM Agent Controller”
'GE/EJFGL0regedit /s C:\Program Files\IBM\Rational\SDP\6.0\IBM_Agent_Controller\config\regDel.reg
6b{ QpFt&p,B
Q0Delete the folder IBM_Agent_Controller.51Testing软件测试网{Za$A2OR)O
|
_ V PP XMIl0Finishing the uninstallation51Testing软件测试网xyd6H&j