By svandru
#267579
Yesterday I downloaded and installed the 1.6.8 Rhino Plugin. When Rhino couldn't load the plugin, I found that it installed itself in the DEFAULT Rhino directory (%Program Files%\Rhinoceros 4.0) instead of my ACTUAL Rhino directory (%Program Files%\Graphics\Rhino). I manually moved the files to the correct directory and it is now working fine.
By JDHill
#267581
Hi svandru,

The plugin installs wherever the registry says that Rhino is installed. First, it reads this registry key:
  • HKEY_LOCAL_MACHINE\SOFTWARE\McNeel\Rhinoceros\4.0\MostRecent
Then, using the Rhino registry key indicated by MostRecent (i.e. '2008-02-22'), it installs to the machine path stored in this key:
  • HKEY_LOCAL_MACHINE\SOFTWARE\McNeel\Rhinoceros\4.0\[MostRecent]\Install\InstallPath
So, I am curious to hear what path you find if you open Regedit and look there.

Thanks,

JD
By svandru
#267614
D:\ProgramFiles\Rhinoceros 4.0\ is where the registry says the most recent version (2008-02-22) is installed (but it lies!). All the previous registry keys point to the proper directory: D:\ProgramFiles\graphics\Rhino\. I guess it's a McNeel thing...
By JDHill
#267617
Thanks for checking that. I have one other question - if you look right next to the MostRecent value, you may find another 'InstallPath':
  • HKEY_LOCAL_MACHINE\SOFTWARE\McNeel\Rhinoceros\4.0\InstallPath
What does the data in this value indicate? I see this on my system, but in the McNeel docs for registering plugins, it is not mentioned, and the instructions say to use the InstallPath found under the MostRecent Rhino install in the registry.

Thanks,

JD
By JDHill
#267628
Well, don't worry too much about this, I just modified the installer so it will show you where it intends to put the plugin, and allows you to select another directory if you want to. It still uses the hint from Rhino's InstallPath to determine the default location, but due to some other structural changes I'm making, it will no longer matter where you decide to install - it will 'just work'.

Cheers,

JD
By svandru
#268223
Sorry, I hadn't checked back in a few days.

The registry value for HKLM\SOFTWARE\McNeel\Rhinoceros\4.0\InstallPath is the same (wrong value) as the most recent (2008-02-22) value--D:\ProgramFiles\Rhinoceros 4.0\

I mentioned this in the McNeel Rhino forum, and apparently they haven't seen this before.

I like your solution.

Stan
Sketchup 2025 Released

Thank you Fernando!!!!!!!!!!!!!!!!!!!!!!!!!!! hwol[…]

I've noticed that "export all" creates l[…]

hmmm can you elaborate a bit about the the use of […]

render engines and Maxwell

Funny, I think, that when I check CG sites they ar[…]