如题。rsp文件内容如下:
oracle.install.responseFileVersion=/oracle/install/rspfmt_clientinstall_response_schema_v11_2_0
ORACLE_HOSTNAME=
#-------------------------------------------------------------------------------
UNIX_GROUP_NAME=
#-------------------------------------------------------------------------------
# Inventory location.
INVENTORY_LOCATION=
SELECTED_LANGUAGES=en
ORACLE_HOME=D:\app\Administrator\product\11.2.0\client_1
ORACLE_BASE=D:\app\Administrator
#Name : INSTALL_TYPE
#Datatype : String
#Description: Installation type of the component.
#
# The following choices are available. The value should contain
# only one of these choices.
# InstantClient : InstantClient
# Administrator : Administrator
# Runtime : Runtime
# Custom : Custom
INSTALL_TYPE=Runtime
oracle.install.client.installType=Administrator
oracle.install.client.customComponents="oracle.sqlj:11.2.0.1.0"
oracle.install.client.oramtsPortNumber=
oracle.install.client.schedulerAgentHostName=
oracle.install.client.schedulerAgentPortNumber=
运行命令:
setup.exe -silent -nowelcome -noconfig -nowait -ignorePrereq -responseFile RSP文件绝对路径
可总是报错:
- cvc-complex-type.2.4.a: Invalid content was found starting with element 'INSTALL_TYPE'. One of '{"":ORACLE_HOSTNAME}' is expected.
INSTALL_TYPE,明明按它枚举的内容设置了一款,为何老报错。尝试改为
INSTALL_TYPE="Runtime" 或INSTALL_TYPE='Runtime' 依然报错。求大神指教。
墨值悬赏

评论
