windows - What does this line of script mean? -


i have following line of code in batch(.bat) file have run:

"c:\program files (x86)\common files\arcgis\bin\esriregasm.exe" /p:desktop mfearcgis10.ui.dll 

when run batch file, esriregasm.exe executed following error:

enter image description here

can explain batch script doing. understand executing executable 2 arguments, not know first argument means. given error mean? how fix it?

first, take @ calling esriregasm manually (outside arcgis-installation).

it looks mfearcgis10.ui.dll plugin / dynamic linked libary (dll). , usage arcgis necessary register components/classes of dll in windows registry under hkey_local_machine. registry key requires administrator privileges write access.

so need right click on batch file , click in context menu on run administrator, enter password administrator account, , registration process should work.

note: batch file must in same directory file mfearcgis10.ui.dll or esriregasm.exe not able find plugin file containing information must added windows registry.

more useful pages how register com components containig link esriregasm utility. last page explains option /p:.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -