你在这里: Administrator's Guide > Installation Options > 静音安装(Windows)

执行静默安装(Windows)

您可以通过从Windows命令行运行安装程序来执行FME服务器的静默安装,并覆盖任何默认安装属性以自定义安装。

要获取安装程序,请参阅Obtain the Installer

The following table lists the installation properties that you can set in advance, and their default values if left unset. These properties correspond to properties that can be adjusted in the user dialogs of a standard installation.

Property 默认值 描述
FMESERVERHOSTNAME 安装程序正在运行的计算机名称 Host name for this installation of FME Server.
INSTALLDIR C:\Program Files\FMEServerorC:\ apps \ fmeserver The FME Server install directory. If you change this value the path must end in "\". For example, INSTALLDIR=C:\apps\FMEServer\
installDistRibutedRepository. No FME服务器系统共享是否存储在单独的服务器上而不是核心机器上。允许的值是yes和no(区分大小写)。
fmeservershareddata. [installdir] The path to the FME Server System Share directory.
adminusername. 行政 管理员帐户的用户名。有关更多信息,请参阅Default User Accounts and Passwords
AdminUserPassword. 行政 管理员帐户的密码。
rootdir. [installdir] 在分布式安装中,核心机器上的根文件夹的路径。在仅发动机安装中,FME服务器系统共享目录的路径。
DATABASETYPE Default The type of database that will be used with the FME Server installation. Possible values areDefaultMSSQL.甲骨文PostGreSQLDefault安装内置PostgreSQL数据库。
DATABASEHOST [fmeserverhostname] 数据库所在的主机。只有在数据库类型不是Default
databaseport.

MSSQL:1433

PostGreSQL: 5432

甲骨文:1521

连接到数据库的端口。只有在数据库类型不是Default
oraclesid. Oracle数据库的SID。只有在数据库类型是时必须指定甲骨文
jdbcdriver. 如果your database requires a JDBC driver that Safe does not provide, specify the full path to it here, and it will be copied to the appropriate place in the install directory.
servlettype. Default 应用程序服务器类型(servlet引擎)您将与FME服务器一起使用。可能的值是DefaultApach.甲骨文那andServletEXEC。选择Default安装内置应用程序服务器。
WEBSERVERHOSTNAME [fmeserverhostname] 安装Servlet引擎的主机。
servletport. 80(如果开放) servlet引擎主机使用或内置Apache服务器使用的端口使用。如果未指定,安装程序会检查端口80,8080-8085并使用第一个不使用的端口。
WEBAPPSDIR [installdir]\Utilities\tomcat\webapps 用于Servlet引擎的WebApps目录的路径。
nologprefix. No 如果是的FME服务器日志文件名称不会以服务器主机名为前缀。

选择要安装的功能

要选择要安装的功能,请使用AddLocal属性,并在逗号分隔列表中指定功能。如果未指定此属性,则安装所有功能。

特征 Value
FME服务器核心 FMEServerCore
Web Services 服务
FME服务器控制台 serverconsole.
FME Engine Fmeengine.

例子

要安装FME服务器核心和FME引擎服务:

addlocal = fmeservercore,fmeengine

安装程序标志

The following .msi-specific flags can be passed into the installer:

Flag 描述
/ q [n | b] 表示安静的安装。/ qn.意味着没有用户界面的安静,/ QB.means a quiet installation with a basic progress bar.
/ Norestart. 安装后不要重新启动计算机。
/l*v Enable logging to the<logfile.>指定的。

例子

The following examples assume you are running a command line from a directory that contains an installer namedfme-server-win-x86.msi

Install with all default options (similar to Express install), with logging enabled

msiexec /i fme-server-win-x86.msi /qb /norestart /l*v installFMEServerLog.txt

仅使用FME服务器系统共享目录安装核心,同时在另一个名为“\\ machine1 \ share”的另一台计算机上

msiexec / i fme-server-win-x86.msi addlocal = fmeservercore installdistreibutedrepository = yes fmeservershareddata =“\\ machine1 \ share”/ qb / norestart / l * v installfeserverlog.txt

快递安装,但使用位于另一台服务器上的MSSQL数据库

msiexec / i fme-server-win-x86.msi databaseType = mssql databasehost = databasemachine databaseport = 1433 / qb / norestart / l * v installfmeserverlog.txt

FME引擎只安装,与所有其他FME服务器components on another server named "\\machine1\FMEServerSystemShare"

msiexec / i“fme-server-win-x64.msi”/ l * v“install.log”/ qb / norestart installdir =“c:\ program files \ fmeserver \”adminusername = admin adminword = admin fmeserverhostname =“machine1”addlocal = fmeengine fmeservershareddata =“\\ machine1 \ fmeserversystemshare \”installdistributedrepository = yes rootdir =“\\ machine1 \ fmeserversystemshare \”