ags注册

 

在电脑里找到2个 ESRIRegAsm.exe

C:\Program Files (x86)\Common Files\ArcGIS\bin

C:\Program Files\Common Files\ArcGIS\bin(官方说明在此路径下)

官方说,注册后esri会保存为一个(.ecfg)后缀文件存放在

~:\Program Files\Common Files\ArcGIS\Desktop10.0\Configuration\CATID.

~:\Program Files\Common Files\ArcGIS\Engine10.0\Configuration\CATID.

 

这是esri用来注册com对象的,不管是native COM DLL还是managed COM assemblies

这个东东,后台还是调用了esri本身的分组注册器。

命令参数如下

 1 ESRIRegAsm.exe <assembly name> /p:<product name>  [Options]
 2 
 3 The following are the options:
 4   /u—Unregister types
 5   /s—Silent (displays no dialog box)
 6   /e—Displays error console
 7   /v:<product version>—Version number
 8   /regfile[:fileName]—Exports to registry file
 9   /f:<category info file>—Category mapping file (.xml or .reg)
10   /w:<dirPath>—Keep working files

/u 反注册

/s 无提示注册

/e 显示错误提示

/v:<version> 版本号

/regfile[:filename] 导出注册表文件

/f:<category info file> 分组文件(xml或者reg)

/w:<dirpath> 保持工作文件?

demo:

ESRIRegAsm.exe  /p:desktop /s  BDMap.DataProcessing.dll  

pause

 

 

经过试验,带着2个文件即可随时注册, 《DADFLib.dll》和《ESRIRegAsm.exe》

 

转载于:https://www.cnblogs.com/feedback/p/4676350.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值