Uninstall 卸载:

set WL_HOME=C:\bea\wlserver_10.3
cd %WL_HOME%\uninstall
uninstall.cmd -mode=silent

Install 安装:

C:\BEA\wls1033_win32.exe -mode=silent -silent_xml=C:\BEA\silent.xml

silent.xml:

<?xml version="1.0" encoding="UTF-8"?>

 

<!-- Silent installer option: -mode=silent -silent_xml=/home/me/silent.xml -->

<domain-template-descriptor> 

<input-fields> 

   <data-value name="BEAHOME" value="C:\bea" /> 

</input-fields> 

</domain-template-descriptor>

</div>

Ref:

Silent Install

http://download.oracle.com/docs/cd/E14571_01/doc.1111/e14142/silent.htm#i1083883

Silent Uninstall

http://download.oracle.com/docs/cd/E14571_01/doc.1111/e14142/uninstal.htm#WLSIG145

转载请注明:WebLogic Android 博客 » WebLogic静默卸载与安装[Slient Install and Uninstall]