Remove Plugin from Rhino?

I have a small plugin that I am developing myself for in-house use. Now I want to go through the process of installing it again so I can see what the process is like for others.

But how do I remove a plugin? I can disable the plugin, but it’s still there in the list of plugins in Rhino Options. I also can’t actually delete plugin file, because I added the plugin from the folder where I build my plugin to.

How do other plugin developers do this?

And I am not even sure where the plugin is. Does it make a copy in its own folder in AppData somewhere? Is it a symlink? Or does Rhino just add the path to the plugin to its environment variables?

Seems odd to have so many ways to install a plugin, but non to uninstall.

What am I missing?

as fare as I know, on Windows plug-ins will stay in the location you install them from.

for mac it might be different.

there is not much info about pc.

I think disabling (Plug-in Manager) and deleting / hiding (renaming) the installed file will already do a lot.

Some info about plug-ins is also stored in the Registry.

There is a Guid in the assemblyInfo.cs of your Plugin
[assembly: Guid("....")] // This will also be the Guid of the Rhino plug-in

(make a backup before you edit anything …)

open regEdit
search for the Guid
talk a small coffeebreak…

the key might look like this:
HKEY_USERS\xx-xxx-xxx-xx-xx\SOFTWARE\McNeel\Rhinoceros\6.0\Plug-Ins<your guid>

delete it on your own risk

search again, delete again - not sure if there is a per user and a general entry…

the other approach is to test the installation on a virutal machine or some other sandboxing… (thats my approach)

also disabling the plug-in and changing the Guid might work… but not sure on this

(AT)Dale would be the person to ask I guess…

would be interested in your solution - thanks for any update - kind regards - tom

1 Like

Thanks for the information! Yeah, seems strange that removing a plugin isn’t really a thing. Surely Rhino knows where it has added any Registry keys and so on and should remove those.

I noticed that the Package Manager does simply have an uninstall button under the install button!?

I would actually much prefer to use the Package Manager, but I don’t want to make my plugin public. Can the Package Manager be somehow used with private plugins?

I will report on what I find.

you might be able to track, what package manager is doing.
install and uninstall a simple plug-in and track the behaviour. (?) or wait for an answer from some of the mcneel pros…

windows - Keeping track of changes to a System during Software/Patch Installation - Server Fault

Hey @seltzdesign,

The package manager (yak) can point to local directories;

  • options/advanced
  • search package manager
  • change the paths to include a local dir separated by a ‘;’
    Or you can drag and drop yak pacakages into rhino. If installed this way, it can be uninstalled from the package manager.

You can also uninstall manually. (With Rhino closed)

  1. If installed by yak;
    %appdata%/mcneel/rhino/packages/7/<your plpugin>
  2. If installed by .rhi and not yak (legacy)
    %appdata%/mcneel/rhino/7/plugins/<your plugin>
  3. If installed by dragging a .rhp from debug, you can just delete that directory.

After doing this when you open rhino again it’ll be gone.