Rollout Custom Package Repositories to 100 Rhino Users

We’ve setup a custom repository and would like to add the networked location to 100’s of rhino users in our company. What’s the easiest way to do this? Describing to 100 people how to go to options>advanced>search for packageManager and so on, is a bit cumbersome.

I’m thinking to have them paste the script below into the command line.

Any other ideas?

!_-NoEcho _-RunPythonScript (import Rhino.ApplicationSettings as appset; appset.PackageManagerSettings.Sources += r’; \NETWORKLOCATION’
print “Package Manager Settings Updated”)

You can simply drag/drop install a YAK package onto the Rhino canvas to install, would that work for your users?

Cheers

DK

1 Like

Hi Tim -

Going slightly off-topic here…
Note that there’s an issue with private package servers where having access to such location will make it very slow (4+ minutes) to populate the package list in the panel.
If you only need your users to install a single private package once, having them drag and drop the package might end up being less frustrating.
-wim

1 Like

Didn’t know you can drag and drop. I’ll look into that. Thanks!

Strangely we’re not seeing the slow package population issue.

1 Like

Only became possible in about Oct 2022 on a service pack R7 release, not much fan fare made about it. It’s SUPER handy for my plugin distribution model as well.

Cheers

DK

There’s at least one relatively silent failure mode with attempted drag and drop installs depending on how you distribute the package- this report is if the package is in a ZIP archive:
WISH: Clear Error Message For Attempted Plugin Install from ZIP - Rhino Developer - McNeel Forum

If I were @Tim_Williams I’d test any likely such failure modes (the “windows flagging a file as potentially unsafe” one in particular such as if you company-email the package out to users) before counting on a low friction deployment.

Hmm. When I drop the .yak file on Rhino it just asks if I want to “insert, open, import, etc” ? Was it suppose to be a different file?

thanks
Tim

What version of Rhino are you on? Like I said above it needs to be a fairly recent R7 update to work.

Cheers

DK

I’ve tried on 2 machines using 7.21 and it just asked if they wanted to “open, import, etc”.

I tried on my machine using 7.33 and it worked.

I noticed on my machine the icon was the rhino plugin puzzle piece, but on the others it was windows “no type associated” icon.

Any idea what’s going on here?

Thanks
Tim

Hi Tim -

7.21 is rather old - July 2022. Can you get those updated?
-wim