Add-in install for Rhino 7 only

Hi,

At KeyShot we have a plugin for Rhino - both mac and windows. When the plugin is installed, with the Rhino Installer Engine it will install for Rhino 7 and up.
For the time being we would like to use RhinoCommon 8 to support some of the features added here. But we still need to support Rhino 7 and therefore compile a plugin for that as well.
Is there anyway we can restrict the plugin install for Rhino 7 only?
From what I read in the documentation regarding the package manager this will also allow install for Rhino 8 even though it’s made for Rhino 7.

It’s possible to make a custom installer on windows to fix this but we don’t know how to deal with it on mac, where we also need the plugin.

Further more we have to different .rui-files for windows because of support for dark mode in Rhino 8 and this .rui-file cannot be loaded in Rhino 7, so even if we only used RhinoCommon 7, we would need to load two different .rui-files.

I hope someone has some insights on this, thanks.

Regards, Maiken

I changed the category to “Rhino Developer” so it will get noticed by the… developers.

2 Likes

The package manager allows you to publish multiple “distributions” for a single version.

So, you can have distributions that contain plug-ins that are specific to the platform/OS and Rhino version, e.g.

  • keyshot-1.5-rh8-mac.yak
  • keyshot-1.5-rh8-win.yak
  • keyshot-1.5-rh7-mac.yak
  • keyshot-1.5-rh7-win.yak

If a rh8 distribution exists then Rhino 8 will ignore the rh7 one.

1 Like

Thanks, we’ll definitely go with the package manager.

We’d also like to distribute the plugin to our customers outside of the manager. We’re finding that just double clicking a .yak is giving some confusing results. At least with multiple Rhino installations on the system. Any advice in this regard?

We were thinking of making an installer which just finds and runs the appropriate yak.exe with the appropriate .yak file.