使用 ArcGIS Engine Runtime 制作安装包
编号: 000448 相关产品及版本: ArcGIS Engine Developer Kit,ArcGIS Engine Runtime 9.0、 9.1 平台: N/A
提交时间: 2005-05-27 修改时间: 2005-05-27 提交人: 董杰
内容摘要
用ArcGIS Engine 开发的软件在分发前可使用Wise、InstallShield打包工具制作安装包
以下介绍在用 ArcGIS Engine Runtime制作打包文件时的无界面参数
过程描述
1 执行安装时的参数
Msiexec.exe /i "%MSIPATH%" /qn ADDLOCAL= %Feature%
MSIPATH 是Engine的安装路径包括msi包文件名
Feature 表示安装时的选项多个feature用 逗号隔开
feature 描述
ArcEngine ArcGIS Engine
JavaRuntime ArcGIS Engine-Java Runtime
DotNetRuntime ArcGIS Engine .NET Runtime
2 安装后license的 注册
在安装路径下的 \Bin\SoftwareAuthorization.exe 是注册license的执行文件
有三个常用参数
-p <选择注册项>
IMS
SDE
ENGINE
DEVKIT
SERVER
-LIF <选择注册文件>
-S 无界面运行
3 sample
以下是一个无界面安装的批处理安装了Myapp 和 Engine 并加入了Engine dotnet的运行包
set MSIPATH_ENGINE =
\\CDROM\ARCENGINE9\SETUP.MSI
set MSIPATH_CUSTOM =
\\CDROM\MyAPP\SETUP.MSI
Msiexec.exe /i "%MSIPATH_ENGINE%" /qn ADDLOCAL=ArcEngine,DotNetRuntime
Msiexec.exe /i "%MSIPATH_CUSTOM%"
start c:\ArcGIS\bin\SoftwareAuthorization.exe -lif "mypath\mylicense.ecp" -s
详见 ArcGIS Engine Developer Guide Chapter 5: Licensing and deployment
http://arcgisdeveloperonline.esri.com/ArcGISDeveloper/ArcGISEngine/EngineDevGd_Ch5.pdf