Page 1 of 1
1.6.8 Installed to Wrong Directory.
Posted: Wed Apr 23, 2008 5:14 pm
by svandru
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.
Posted: Wed Apr 23, 2008 5:32 pm
by JDHill
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
Posted: Wed Apr 23, 2008 10:58 pm
by svandru
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...
Posted: Wed Apr 23, 2008 11:33 pm
by JDHill
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
Posted: Thu Apr 24, 2008 5:28 am
by JDHill
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
Posted: Wed Apr 30, 2008 5:16 pm
by svandru
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