Installing plugins in Rhino 6

I see that rhiexec is gone now, and am wondering what the procedure is for installing a plugin in Rhino 6. In the SDK documentation I see something called CRhinoInstallPlugin::Install. Are we meant to install plugins programmatically now?

Thanks in advance

Look here:

C:\Program Files\McNeel\Rhino Installer Engine

Does this help?

Ah, it has been separated out! Am I meant to hard-code this path, or is there a registry entry pointing to it? Is this used only for Rhino 6?

Thanks!

I’m sure there is, as RHI files are associated with it. Why do you need to know the path to the installer? What problem are you trying to solve?

Thanks,

– D

HKEY_LOCAL_MACHINE\SOFTWARE\McNeel\RhiExec

I am updating our installer, for the Iray For Rhino 6 plugin. Thanks for the registry key. Odd that my registry search didn’t come up with this one.

Does this correspond to what is on Github? (I am looking for a help page for how to tell it which Rhino I want to install into)?

Carsten

Are you referring to this page?

Rhino - Rhino Installer Engine

I don’t believe any of the Rhino Installer Engine information has been updated, as I’m sure there are still changes coming.

Okay, that page seems to say that the choice is made automatically (by rhiexec), so I will just forge ahead and try it, and see if it ends up in the right place. Thanks for your help.

You should not need to find rhiexec on the system by full path. Rhino registers the .RHI file extension, so you can simply shell-execute the .RHI to do the installation.

Ah, I see, thanks. I will update it when I get a moment, although I did finish the task for now, and it works.