首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >通过.BAT文件安装UCM10g

通过.BAT文件安装UCM10g
EN

Stack Overflow用户
提问于 2017-04-04 16:39:53
回答 2查看 65关注 0票数 0

我想用.bat文件安装UCM10g,直到现在我已经制作了一个bat文件UCM.BAT,它将生成一个input.txt作为UCM10g的Installer.exe的输入,看看我的.BAT文件。

代码语言:javascript
复制
@echo off
>input.txt echo 4
>>input.txt echo 2
>>input.txt echo D:/stellent/ucm/server
>>input.txt echo 1
>>input.txt echo 1
>>input.txt echo d:/stellent/ucm/server/vault/
>>input.txt echo 1
>>input.txt echo d:/stellent/ucm/server/weblayout/
>>input.txt echo 1
>>input.txt echo 1
>>input.txt echo 1
>>input.txt echo c:/program files/internet explorer/iexplore.exe
>>input.txt echo 4
>>input.txt echo 1
>>input.txt echo 4444
>>input.txt echo 4440
>>input.txt echo 127.0.0.1
>>input.txt echo /idc/
>>input.txt echo mail
>>input.txt echo sysadmin@mail
>>input.txt echo INEDEC-MLAP-645.emrsn.org
>>input.txt echo idc
>>input.txt echo idc
>>input.txt echo Content Server idc
>>input.txt echo 2
>>input.txt echo 1
>>input.txt echo 2
>>input.txt echo localhost
>>input.txt echo 1521
>>input.txt echo stellent_admin
>>input.txt echo stellent_admin
>>input.txt echo xe
>>input.txt echo 2
>>input.txt echo 1
>>input.txt echo 1,2,3,4,5
>>input.txt echo F
>>input.txt echo 1
>>input.txt echo 2
>>input.txt echo 2
>>input.txt echo 1
>>input.txt echo 2
>>input.txt echo 2
>>input.txt echo 1


C:\Users\gurlove.chopra\Desktop\ContentServer_Windows_10gR3_20080807  \UCM\ContentServer\win32\Installer.exe input.txt

下面是我正在犯的错误

代码语言:javascript
复制
C:\Users\gurlove.chopra\Desktop\ContentServer_Windows_10gR3_20080807\UCM\Content
Server\win32>UCM.BAT
Unable to install. IntradocDir is not defined.
Severe error: wait.dat not removed. Remove manually.

任何形式的帮助都会受到感谢。

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2017-04-10 12:22:15

好的,我发现默认情况下,Installer.exe接受来自Intradoc.cfg的输入,用户的输入将它们转换成键值对,然后输入到Installer.exe。

所以现在我们可以直接输入到Intradoc.cfg,或者用必要的键值对创建一个input.txt。

这是解决办法

代码语言:javascript
复制
@echo off
(
echo IdcProductName=idccs
echo IntradocDir=D:/stellent/ucm/server4/
echo ConfigureProxiedServer=no
echo ConfigureAdminServer=yes
echo WebBrowserPath=c:/program files/internet explorer/iexplore.exe
echo InstallType=new
echo InstallConfiguration=Install
echo HttpServerAddress=INEDEC-MLAP-645.emrsn.org
echo SysAdminAddress=sysadmin@mail
echo IntradocServerPort=5555
echo IdcAdminServerPort=5550
echo MailServer=mail
echo IDC_Name=idc4
echo InstanceMenuLabel=idc4
echo InstanceDescription=Content Server idc4
echo WebServer=apache
echo DisableDatabaseOverrides=1
echo DatabaseType=oracle
echo DBServerHost=localhost
echo DBServerPort=1521
echo JdbcUser=stellent_gc4
echo JdbcPassword=stellent_gc4
echo DBServerDatabase=xe
echo ConfigureJdbcDriverPackageSourceFile=false
echo CreateDatabase=true
echo InstallAdminServerService=auto
echo InstallAdminServerServiceConfigureRunAs=false
echo InstallAdminServerServiceUser=
echo InstallAdminServerServicePassword=
echo InstallAdminServerServiceConfigureDependency=false
echo InstallAdminServerServiceDependency=
echo InstallServerService=auto
echo InstallServerServiceConfigureRunAs=false
echo InstallServerServiceUser=
echo InstallServerServicePassword=
echo InstallServerServiceConfigureDependency=false
echo InstallServerServiceDependency=
echo MEDIA_DIR=$BIN_DIR/../../..
echo SHARED_CONFIG_DIR=$BIN_DIR/..
echo OS_DIR=$SHARED_CONFIG_DIR
echo InstallDefinitionFile_cs=cs_install_info.htm
)>input.txt
C:\Users\gurlove.chopra\Desktop\ContentServer_Windows_10gR3_20080807\UCM\ContentServer\win32\Installer.exe input.txt
票数 0
EN

Stack Overflow用户

发布于 2017-04-05 21:11:49

在您的文件中创建的input.txt文件看起来不像是应该创建的。它应该是一个name=value条目列表。

在本文档的附录E中有详细信息:10en.pdf

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/43213018

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档