R-ArcGIS / r-bridge-install

Install the R ArcGIS Tools
Apache License 2.0
188 stars 59 forks source link

will not install in PC without admin right #46

Closed dquang closed 7 years ago

dquang commented 7 years ago

The install script does not run on PC without admin right due to the registry writing task. I manually changed the rpath.py to force it write to HKCU, then it worked.

root_keys = OrderedDict((
        # try HKLM, then HKCU
        ('HKCU', winreg.HKEY_LOCAL_MACHINE),
        ('HKCU', winreg.HKEY_CURRENT_USER)
    ))

please make a change in professional way :)

scw commented 7 years ago

Hi @dquang,

Thanks for the report! I believe I've fixed it in bdba55d33796d6a029b4bd6133c69c1cdd226712, if you download the repository again it should now correctly write to the users' registry when running as a non-admin.

Thanks, Shaun

dquang commented 7 years ago

Hi Shaun,

thank you very much for the quick response! Yes it works very well now with the new commit.

Best, Quang